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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

            People

            • Assignee:
              hossman Chris M. Hostetter
              Reporter:
              hossman Chris M. Hostetter

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment