You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael Gibney (JIRA)" <ji...@apache.org> on 2018/10/24 14:39:00 UTC
[jira] [Created] (LUCENE-8544) In SpanNearQuery, add support for
inOrder semantics equivalent to that of (Multi)PhraseQuery
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org