[ 
https://issues.apache.org/jira/browse/LUCENE-857?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man reopened LUCENE-857:
-----------------------------

    Lucene Fields: [New, Patch Available]  (was: [New])

Actually Otis: for the backwards compatibility to work, QueryFilter needs to 
extend CachingWrapperFilter with a constructor like...

   public QueryFilter(Query query) {
     super(new QueryWrapperFilter(query));
   }

...what you've committed eliminates the caching from QueryFilter 

> Remove BitSet caching from QueryFilter
> --------------------------------------
>
>                 Key: LUCENE-857
>                 URL: https://issues.apache.org/jira/browse/LUCENE-857
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Otis Gospodnetic
>         Assigned To: Otis Gospodnetic
>            Priority: Minor
>         Attachments: LUCENE-857.patch, LUCENE-857.refactoring-approach.diff
>
>
> Since caching is built into the public BitSet bits(IndexReader reader)  
> method, I don't see a way to deprecate that, which means I'll just cut it out 
> and document it in CHANGES.txt.  Anyone who wants QueryFilter caching will be 
> able to get the caching back by wrapping the QueryFilter in the 
> CachingWrapperFilter.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to