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

ExtendedDismax escaping is missing several reserved characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6
    • 4.0-BETA, 6.0
    • query parsers
    • 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.patch
          3 kB
          Jan Høydahl
        3. SOLR-3467.patch
          2 kB
          Michael Dodsworth
        4. SOLR-3467.patch
          0.6 kB
          Michael Dodsworth
        5. SOLR-3467-lucene_solr_3_6.patch
          3 kB
          Jan Høydahl

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: