lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (Commented) (JIRA)" <>
Subject [jira] [Commented] (LUCENE-3893) TermsFilter should use AutomatonQuery
Date Tue, 20 Mar 2012 17:21:38 GMT


Uwe Schindler commented on LUCENE-3893:

I already have something like this implemented when Dawid ported the Dahiwikwukblabla Automaton
builder to Lucene core. We dont need a separate Filter or Query for that, just use (for the

new MultiTermQueryWrapperFilter(new AutomatonQuery(unionAutomaton))

To have a backwards-compatible TermsFilter, we can simply do it like PrfeixFilter (subclass
MTQWF) and warp the above Automaton.
> TermsFilter should use AutomatonQuery
> -------------------------------------
>                 Key: LUCENE-3893
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>              Labels: gsoc2012, lucene-gsoc-12
> I think we could see perf gains if TermsFilter sorted the terms, built a minimal automaton,
and used TermsEnum.intersect to visit the terms...
> This idea came up on the dev list recently.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message