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

Adrien Grand commented on LUCENE-5293:
--------------------------------------

bq. Shall I add a check for QueryWrapperFilter.getQuery() being a TermQuery and 
then use docFreq() ?

I don't like much having support for specific filters based on instanceof 
calls. I really think the only two options are to consume the filter to cache 
twice, or to first load into memory in another filter impl and then load it 
again in an EF doc id set. And I would go for option 2 since option 1 is likely 
going to be slower?

> Also use EliasFanoDocIdSet in CachingWrapperFilter
> --------------------------------------------------
>
>                 Key: LUCENE-5293
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5293
>             Project: Lucene - Core
>          Issue Type: Improvement
>          Components: core/search
>            Reporter: Paul Elschot
>            Priority: Minor
>         Attachments: LUCENE-5293.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

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

Reply via email to