Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3980

Word order seems to affect proximity searching

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • None
    • core/search
    • None
    • New

    Description

      It would appear that the order of words within a search query affects a proximity search.

      For instance, for the text "The proximity operator seems to match differently based on word order", a match is found for "proximity order"~8 but is not found for "order proximity"~8. In order for the latter to find a match, it needs to be changed to "order proximity"~10.

      Both the text and the query are processed using org.apache.lucene.analysis.standard.StandardAnalyzer.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ipooley Ian Pooley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: