[ https://issues.apache.org/jira/browse/LUCENE-8646?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16745079#comment-16745079 ]
Alan Woodward commented on LUCENE-8646: --------------------------------------- Here's a patch with one possible implementation. It adds support for prefix and wildcard expansions, and limits both to 128 terms. Expansion is done per-leaf reader (no rewriting) which I think is fine as we're not aggregating term stats or anything, so there's no need for a global view. I haven't added support for Regexp-type intervals as the API starts getting very clunky; we might want to revisit the Regexp object API itself, or maybe add the ability to build intervals directly from an Automaton. > Add multi-term intervals > ------------------------ > > Key: LUCENE-8646 > URL: https://issues.apache.org/jira/browse/LUCENE-8646 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Alan Woodward > Assignee: Alan Woodward > Priority: Major > Attachments: LUCENE-8646.patch > > > We currently have no support for wildcard-type intervals. I'd like to > explore adding some very basic support for prefix and wildcard interval > sources, but we need to ensure that we don't end up with the same performance > issues that dog SpanMultiTermQueryWrapper. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org