[ 
https://issues.apache.org/jira/browse/LUCENE-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13207729#comment-13207729
 ] 

Tomás Fernández Löbbe commented on LUCENE-3758:
-----------------------------------------------

Basically, a search like '"foo bar"#2' would match documents with the terms 
"foo" and "bar" with up to 2 positions of distance from each other and only if 
"foo" is before "bar"?
                
> Allow the ComplexPhraseQueryParser to search order or un-order proximity 
> queries.
> ---------------------------------------------------------------------------------
>
>                 Key: LUCENE-3758
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3758
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: core/queryparser
>    Affects Versions: 4.0
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>             Fix For: 4.0
>
>         Attachments: LUCENE-3758.patch
>
>
> The ComplexPhraseQueryParser use SpanNearQuery, but always set the "inOrder" 
> value hardcoded to "true". This could be configurable.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to