Hi,
I did finally manage to this. I get all the documents in the post filter
and then call collect on the each ones that match the filter criteria. But
for some reason, it does not seem to hit the query results cache (equals
succeeds and the hashcode is good too)? Not sure what I am missing here?
Thanks,
Rohit


On Wed, Jul 10, 2013 at 6:10 PM, Yonik Seeley <yo...@lucidworks.com> wrote:

> On Wed, Jul 10, 2013 at 6:08 PM, Rohit Harchandani <rhar...@gmail.com>
> wrote:
> > Hey,
> > I am trying to create a plugin which makes use of postfilter. I know that
> > the collect function is called for every document matched, but is there a
> > way i can access all the matched documents upto this point before collect
> > is called on each of them?
>
> You would need to collect/cache that information yourself in the post
> filter.
>
> -Yonik
> http://lucidworks.com
>

Reply via email to