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

CloudSolrStream.toExpression incorrectly handles fq clauses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.6, 7.0
    • 6.6.1, 6.7, 7.0, 7.1, 8.0
    • None
    • 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-10229.patch
          2 kB
          Erick Erickson
        2. SOLR-10908.patch
          4 kB
          Erick Erickson
        3. SOLR-10908.patch
          4 kB
          Rohit

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: