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

    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
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: