You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alan Woodward (Jira)" <ji...@apache.org> on 2019/11/15 16:09:00 UTC

[jira] [Commented] (LUCENE-9050) MultiTermIntervalsSource.visit() is empty

    [ https://issues.apache.org/jira/browse/LUCENE-9050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16975204#comment-16975204 ] 

Alan Woodward commented on LUCENE-9050:
---------------------------------------

A more general option rather than just adding `visitLeaf()` here would be to add a version of `acceptTerms()` that takes a `Predicate<Term>`, which would also allow us to simplify highlighting logic around multiterm queries.

cc [~dsmiley][~mkhl]

> MultiTermIntervalsSource.visit() is empty
> -----------------------------------------
>
>                 Key: LUCENE-9050
>                 URL: https://issues.apache.org/jira/browse/LUCENE-9050
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>            Priority: Major
>
> At the very least it should call visitor.visitLeaf() with something.  This currently causes problems for the monitor, which will interpret the query `IntervalQuery("field", Intervals.prefix("a"))` as a `MatchNoDocsQuery`



--
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