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

Add a QueryAutofilteringComponent for query introspection using indexed metadata

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments


    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 6.0
    • None
    • None


      The Query Autofiltering Component provides a method of inferring user intent by matching noun phrases that are typically used for faceted-navigation into Solr filter or boost queries (depending on configuration settings) so that more precise user queries can be met with more precise results.

      The algorithm uses a "longest contiguous phrase match" strategy which allows it to disambiguate queries where single terms are ambiguous but phrases are not. It will work when there is structured information in the form of String fields that are normally used for faceted navigation. It works across fields by building a map of search term to index field using the Lucene FieldCache (UninvertingReader). This enables users to create free text, multi-term queries that combine attributes across facet fields - as if they had searched and then navigated through several facet layers. To address the problem of exact-match only semantics of String fields, support for synonyms (including multi-term synonyms) and stemming was added.


        1. SOLR-7539.patch
          110 kB
          Ted Sullivan
        2. SOLR-7539.patch
          84 kB
          Ted Sullivan
        3. SOLR-7539.patch
          80 kB
          Ted Sullivan
        4. SOLR-7539.patch
          77 kB
          Ted Sullivan


          This comment will be Viewable by All Users Viewable by All Users


            Unassigned Unassigned
            tedsullivan Ted Sullivan




                Issue deployment