New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different numHits 0.90.1 vs 0.90.2 filter with lookup terms #3367
Comments
There is a little bit more going on... 0.90.2 returns a |
@scoolen Do you have a particular test case for this change in behaviour? I'm curious if the document specified in the terms filter exists or if the path field exists. I think the 0.90.1 behaviour is expected behaviour in most cases. |
Yes, I tested a couple of scenarios while switching back and forth between version 0.90.1 and 0.90.2:
I tested these three scenarios with known values:
|
@scoolen I can confirm the difference in behaviour in both versions. It isn't reproducible in the current 0.90 and master branch. The following unreleased commit fixes this issue: 74a7c46 In case a filter is resolved to In 0.90.1 the terms filter didn't return |
Excellent news! |
For reference: this seems like a duplicate of #3356 |
@martijnvg Ok cool. For now we will stick to 0.90.1 then. Thanks for your help. |
Hi,
When I run an identical query on 0.90.1 and 0.90.2 I get different results:
In 0.90.1 when filter returned no results the result of the query was also empty, i.e. 0 hits.
In 0.90.2 it returns everything.
The latter behavior is probably better and more expected, but I haven't seen it documented anywhere. Did I miss something?The text was updated successfully, but these errors were encountered: