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

ExtendedDismax escaping is missing several reserved characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 4.0-BETA, 6.0
    • Component/s: query parsers
    • Labels:
      None

      Description

      When edismax is unable to parse the original user query, it retries using an escaped version of that query (where all reserved chars have been escaped).

      Currently, the escaping done in splitIntoClauses appears to be missing several chars from QueryParserBase#escape(String), namely '
      ', '|', '&', '/'

        Attachments

        1. SOLR-3467.patch
          8 kB
          Jan Høydahl
        2. SOLR-3467-lucene_solr_3_6.patch
          3 kB
          Jan Høydahl
        3. SOLR-3467.patch
          3 kB
          Jan Høydahl
        4. SOLR-3467.patch
          2 kB
          Michael Dodsworth
        5. SOLR-3467.patch
          0.6 kB
          Michael Dodsworth

          Issue Links

            Activity

              People

              • Assignee:
                janhoy Jan Høydahl
                Reporter:
                mdodsworth@salesforce.com Michael Dodsworth
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: