lucene-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Woodward (Jira)" <>
Subject [jira] [Created] (LUCENE-9062) Extend QueryVisitor to support multi-term queries
Date Mon, 25 Nov 2019 09:55:00 GMT
Alan Woodward created LUCENE-9062:

             Summary: Extend QueryVisitor to support multi-term queries
                 Key: LUCENE-9062
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Alan Woodward
            Assignee: Alan Woodward

Currently, QueryVisitor only allows queries to report that they consume a fixed set of terms.
 For multi-term queries, however, they don't know which terms in an index they're going to
match until rewrite time.  Current users of this API get round this by using instanceof checks
in a `visitLeaf()` method, but this is clunky and does not adapt well to user-defined queries.

We should extend QueryVisitor so that queries can report that they consume a class of terms
matching an automaton, in addition to individual terms.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message