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

ExtendedDismax escaping is missing several reserved characters

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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-lucene_solr_3_6.patch
          3 kB
          Jan Høydahl
        2. SOLR-3467.patch
          0.6 kB
          Michael Dodsworth
        3. SOLR-3467.patch
          2 kB
          Michael Dodsworth
        4. SOLR-3467.patch
          3 kB
          Jan Høydahl
        5. SOLR-3467.patch
          8 kB
          Jan Høydahl

        Issue Links

          Activity

            People

            • Assignee:
              janhoy Jan Høydahl
              Reporter:
              mdodsworth@salesforce.com Michael Dodsworth

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment