mkhludnev commented on a change in pull request #1011: LUCENE-9031: Just 
highlight term intervals and its' combinations.
URL: https://github.com/apache/lucene-solr/pull/1011#discussion_r346870358
 
 

 ##########
 File path: 
lucene/queries/src/java/org/apache/lucene/queries/intervals/IntervalMatches.java
 ##########
 @@ -74,7 +75,7 @@ public MatchesIterator getSubMatches() throws IOException {
 
       @Override
       public Query getQuery() {
-        throw new UnsupportedOperationException();
+        return query==null ? query = new IntervalQuery(field, intervalsSource) 
: query;
 
 Review comment:
   This is a little bit doubtful. WDYT, @romseygeek ? 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to