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

SolrQueryParser should support escaping of characters in lieu of analysis for prefix & wildcard & fuzzy searches.

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: search
    • Labels:
      None

      Description

      In Lucene and Solr, query words that are prefix or wildcard or fuzzy do not go through analyzer processing. This is for well known understood reasons. However, for my data for a field I might want certain processing to occur. Lowercasing has already been identified in SOLR-219. Another which I address in the attached patch file is the ability to remove characters that meet a supplied regular expression. I've implemented this as part of SolrQueryParser but there should probably be a more thorough plan such as an analyzer chain expressly for the purpose of being applied to prefix, wildcard, and fuzzy queries.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              erickerickson Erick Erickson
              Reporter:
              dsmiley David Smiley

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment