mkhludnev commented on a change in pull request #985: LUCENE-9031: test unified
highlighter on intervals queries
URL: https://github.com/apache/lucene-solr/pull/985#discussion_r342910721
##########
File path:
lucene/queries/src/java/org/apache/lucene/queries/intervals/TermIntervalsSource.java
##########
@@ -200,7 +207,7 @@ public MatchesIterator getSubMatches() {
@Override
public Query getQuery() {
- throw new UnsupportedOperationException();
+ return query;
Review comment:
I don't follow... Where I can find how ```SpanQuery returns a TermQuery
here``` ? I'll try to do something like this, but how it's worth to do it
eagerly or lazily?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]