: Yes I do so. The Problem ist that the collect-Method is called for EVERY
: document the query matches. Even if the User only wants to see like 10
: documents. The Operation I have to perform takes maybe 50ms/per document
You running into a classic chicken/egg problem with document collection
them on a later step. (Otherwise I would return maybe
only 5 or zero documents even if the user wants 10 and there are more documents
available)
Sent with [ProtonMail](https://protonmail.com) Secure Email.
> Original Message ----
> Subject: Re: Heavy operations in Post
Are you doing cache=false and cost > 100?
See the recent article on the topic deep-dive, if you haven't:
https://lucidworks.com/2017/11/27/caching-and-filters-and-post-filters/
Regards,
Alex.
On 3 January 2018 at 05:31, Solrmails wrote:
> Hello,
>
> I tried to write a Solr PostFilter to do f