Basically i see it is looking up the cache and getting a hit, but it still
seems to be collecting all the documents again.
Thanks,
Rohit


On Thu, Aug 1, 2013 at 4:37 PM, Rohit Harchandani <rhar...@gmail.com> wrote:

> 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