You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Mikhail Khludnev (Jira)" <ji...@apache.org> on 2019/10/28 21:07:00 UTC
[jira] [Commented] (LUCENE-8422) Add Matches iteration to interval
queries
[ https://issues.apache.org/jira/browse/LUCENE-8422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16961456#comment-16961456 ]
Mikhail Khludnev commented on LUCENE-8422:
------------------------------------------
Why {{CachingMatchesIterator.getSubMatches(...).new MatchesIterator() \{...}.getQuery()}} introduced here throws UnsupportedOpExc? see [https://github.com/apache/lucene-solr/blob/3af4e6adc6b1ffdc5099ba68227ce0dc6b252644/lucene/queries/src/java/org/apache/lucene/queries/intervals/CachingMatchesIterator.java#L127]
I tried to experiment with highlighting Interval queries, didn't find any particular test for it. Thus, I tweaked {{TestUnifiedHighlighter.testBuddhism()}} for using Intervals.phrase(). Turns out it fails roughly at %50 with this exception. The fix is obvious. Don't we need it fixed? I can.
> Add Matches iteration to interval queries
> -----------------------------------------
>
> Key: LUCENE-8422
> URL: https://issues.apache.org/jira/browse/LUCENE-8422
> Project: Lucene - Core
> Issue Type: New Feature
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Major
> Fix For: 7.5
>
> Attachments: LUCENE-8422.patch, LUCENE-8422.patch, LUCENE-8422.patch
>
>
> Follow up to LUCENE-8404, we can now add Matches iteration to interval queries in the sandbox.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org