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

CloudSolrStream.toExpression incorrectly handles fq clauses

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.6, 7.0
    • Fix Version/s: 6.6.1, 6.7, 7.0, 7.1, master (8.0)
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      toExpression in at least CloudSolrStream concatenates parameters in a comma-separated list. This is fine for things like sorting but incorrect for fq clauses. If my input is something like
      fq=condition1
      fq=condition2
      it winds up being something like
      fq=condition1,condition2

      I've seen it in this class for this parameter, other classes and other parameters might have the same problem.

        Attachments

        1. SOLR-10908.patch
          4 kB
          Rohit
        2. SOLR-10908.patch
          4 kB
          Erick Erickson
        3. SOLR-10229.patch
          2 kB
          Erick Erickson

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              erickerickson Erick Erickson
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: