[
https://issues.apache.org/jira/browse/LUCENE-10223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17439511#comment-17439511
]
Dawid Weiss commented on LUCENE-10223:
--------------------------------------
Thanks. I can say that the results on positions are much more practical
(because I know people who have been using them for a few months). The
highlights you get correspond to the intuitive feeling of what an "filtering"
interval expression is vs. what the "source" interval is. The PR contains quite
a few examples of queries and the regions they highlight (on fields with
positions only) - all of these feel "right" to me. I can't say the same when I
switch to fields with offsets.
LUCENE-9634 is also related.
Let me finish this patch as it is. I think the problem remains but deserves
another issue, especially when the interval queries + highlighter on matches
combo will be more readily available.
> Add interval function support to standard query parser
> ------------------------------------------------------
>
> Key: LUCENE-10223
> URL: https://issues.apache.org/jira/browse/LUCENE-10223
> Project: Lucene - Core
> Issue Type: New Feature
> Affects Versions: 9.1
> Reporter: Dawid Weiss
> Assignee: Dawid Weiss
> Priority: Minor
>
> This issue adds syntactic support for expressing interval sub-clauses within
> queries that StandardQueryParser can parse.
>
> * [ ] add documentation on what the syntax is to the issue and to the code.
> * [ ] update migration guide (may not be compatible)
> * [ ] mention min-should-match operator support for boolean queries.
> * [ ] changes entry
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]