lucene-dev mailing list archives

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

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

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
Filter):

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: https://issues.apache.org/jira/browse/LUCENE-3893
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message