Hi Uwe, Shai and Ian
Thanks for your help with this - I played around with your suggestions
and have got it to work perfectly. The problem was that the
CachingWrapperFilter was not passing the acceptDocs through to my custom
Filter, so I simply removed it.
Best regards
- Chris
On 16.03.2015 12:48, Uwe Schindler wrote:
Hi,
http://lucene.apache.org/core/4_10_3/core/org/apache/lucene/search/FieldCacheDocIdSet.html
You just have to implement the "protected boolean matchDoc(int
docId)" method. You should return this DocIdSet from your filter
instead of the manual code you created.
Uwe
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org