lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3980) Word order seems to affect proximity searching
Date Fri, 13 Apr 2012 15:38:16 GMT


Robert Muir commented on LUCENE-3980:

Have you seen the documentation of slop in phrasequery?

The slop is in fact an edit-distance, where the units correspond to
moves of terms in the query phrase out of position.  For example, to switch
the order of two words requires two moves (the first move places the words
atop one another), so to permit re-orderings of phrases, the slop must be
at least two.
> Word order seems to affect proximity searching
> ----------------------------------------------
>                 Key: LUCENE-3980
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/search
>            Reporter: Ian Pooley
>            Priority: Minor
> 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message