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

Dmitry Kan commented on LUCENE-3758:
------------------------------------

Hello!

If I were to implement two different versions of span near queries: with order 
and without order, would this class be the right point to start?
I'm thinking to add support for new query operator that would support order of 
terms in the near query, as (if I correctly understand), "~" operator doesn't 
preserve the order.
                
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to