Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9288

RTG: fl=[docid] silently missing for uncommitted docs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.2, 7.0
    • Component/s: None
    • Labels:
      None

      Description

      Found in SOLR-9180 testing.

      when using RTG in a single node solr install, the [docid] transformer works for committed docs, but is silently missing from uncommited docs.

      this inconsistency is confusing. It seems like even if there is no valid docid to return in this case, the key should still be present in the resulting doc.

      I would suggest using either null or -1 in this case?

        Attachments

        1. SOLR-9288.patch
          15 kB
          Chris M. Hostetter

          Issue Links

            Activity

              People

              • Assignee:
                hossman Chris M. Hostetter
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: