Re: Heavy operations in PostFilter are heavy

2018-01-12 Thread Chris Hostetter
: 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

Re: Heavy operations in PostFilter are heavy

2018-01-03 Thread Solrmails
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 PostFilter are

Re: Heavy operations in PostFilter are heavy

2018-01-03 Thread Alexandre Rafalovitch
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

Heavy operations in PostFilter are heavy

2018-01-03 Thread Solrmails
Hello, I tried to write a Solr PostFilter to do filtering within the 'collect'-Method(DelegatingCollector). I have to do some heavy operations within the 'collect'-Method. This isn't a problem for a few results. But unfortunately it taks forever with 50 or more results. This is because I have