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

SolrClient.getById() does not escape parameter separators within ids

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 8.5
    • Fix Version/s: main (9.0)
    • Component/s: SolrJ
    • Labels:
      None

      Description

      Having a solr document with a comma in its id (e.g. "A,B"), SolrClient.getById() is not able to retrieve this document, because it queries /get?ids=A,B instead of /get?ids=A\,B.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mdrob Mike Drob
                Reporter:
                schuch Markus Schuch
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h