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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.2, 7.0
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment