Michael Gibney created LUCENE-8544:
--------------------------------------

             Summary: In SpanNearQuery, add support for inOrder semantics 
equivalent to that of (Multi)PhraseQuery
                 Key: LUCENE-8544
                 URL: https://issues.apache.org/jira/browse/LUCENE-8544
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: Michael Gibney


As discussed in LUCENE-8531, the semantics of phrase search differs among 
{{(Multi)PhraseQuery}}, {{SpanNearQuery (inOrder=true)}}, and {{SpanNearQuery 
(inOrder=false)}}:
 * {{(Multi)PhraseQuery}}: incorporates the concept of order, and allows 
negative offsets in calculating slop/edit distance
 * {{SpanNearQuery (inOrder=true)}}: incorporates the concept of order, and 
does _not_ allow negative offsets in calculating slop/edit distance
 * {{SpanNearQuery (inOrder=false)}}: does not incorporate the concept of order 
at all

This issue concerns the possibility of adjusting {{SpanNearQuery}} to be 
configurable to support semantics equivalent to that of {{(Multi)PhraseQuery}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to