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

SolrCloud RTG with multiple "id" params has inconsistent behavior if only 0 or 1 ids are returned

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

      • RTG uses a diff reqponse format depending on whether a single id is requested or multiple ids are requested.
      • there are 2 ways to request multiple ids:
        1. multiple id params
        2. comma seperated ids in one (or more) ids param(s)

      But in cloud mode, asking for multiple ids using the first method can incorrectly return the "single" doc response structure if 0 or 1 docs are returned (ie: because the other doc(s) don't exist in the index or were deleted).

      This inconsistency does not seem to exist in single node solr RTG

      (Example to follow in comment)

        Attachments

        1. SOLR-9309.patch
          9 kB
          Chris M. Hostetter
        2. SOLR-9309.patch
          9 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment