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
Hi Uwe,
I guess you're probably a fed up with me and I apologise for the
hassle.
I realise I have asked a lot of questions in the last few days.
If you get a little time could you please have a think about this
problem as I am currently unable to move forward with it - I have tried
all the
Hi Uwe
I have downloaded Lucene 5.0.0 source to look at the Filters you
mention. DocValuesTermsFilter looks promising, however I cannot find
FieldCacheDocIdSet anywhere in Lucene 4.10.2 or in 5.0.0. Where should
I be looking?
I take your point about brute-forcing the DocValues search and
Hi Uwe, thanks for your suggestions. I have tried a couple of things
with no luck yet:
Sorry,
I just noticed, you are using TermFilter not TermsFilter: This one
does not support random access (using bits()). Because of this the
filtered docs cannot be passed down using acceptDocs.
Hi,
I was wondering if Lucene supports applying a filter to an MLT search?
I believe that Solr can do it, but I'm not sure if Lucene can ..
A possible use case is find me the 10 most similar documents to X
created in the last month.
Thanks
- Chris