Rohit:
Ah, ok. I think Jim nailed it. The whole idea of post filters though,
is to use them when the filter is expensive. Do you have evidence
that the fq you're trying to use as a post-filter is "expensive"? I.e.
&fq={!cache=false cost=200}field:value takes time? Or are you
doing something in you
Hi Rohit,
The main problem is that if the query inside the filter does not have a
PostFilter implementation then your post filter is silently transformed
into a simple filter. The query "field:value" is based on the inverted
lists and does not have a postfilter support.
If your field is a numeric f
yes i get that. actually i should have explained in more detail.
- i have a query which gets certain documents.
- the post filter gets these matched documents and does some processing on
them and filters the results.
- but after this is done i need to apply another filter - which is why i
gave a h
Ah, I think you're misunderstanding the nature of post-filters.
Or I'm confused, which happens a lot!
The whole point of post filters is that they're assumed to be
expensive (think ACL calculation). So you want them to run
on the fewest documents possible. So only docs that make it
through the pri
Hey,
so the post filter logs the number of ids that it receives.
With the above filter having cost=200, the post filter should have received
the same number of ids as before ( when the filter was not present ).
But that does not seem to be the case...with the filter query on the index,
the number o
Hmmm, seems like it should. What's our evidence that it isn't working?
Best,
Erick
On Tue, Oct 8, 2013 at 4:10 PM, Rohit Harchandani wrote:
> Hey,
> I am using solr 4.0 with my own PostFilter implementation which is executed
> after the normal solr query is done. This filter has a cost of 100. I
Hey,
I am using solr 4.0 with my own PostFilter implementation which is executed
after the normal solr query is done. This filter has a cost of 100. Is it
possible to run filter queries on the index after the execution of the post
filter?
I tried adding the below line to the url but it did not seem