Skip to content
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

Count query ignores hidden path filter #63

Open
marfago opened this issue Apr 22, 2015 · 0 comments
Open

Count query ignores hidden path filter #63

marfago opened this issue Apr 22, 2015 · 0 comments
Labels

Comments

@marfago
Copy link

marfago commented Apr 22, 2015

In my page I have put some hidden prefilters in order to reduce the amount of brains to be counted (I have 1.5M documents in the portal catalog). I have also a hidden path filter which scopes the search (and count) to just a folder. Unfortunately it looks like the path filter is ignored by the counter.

Ive printed out the queries (for counter and search) when the path filter is hidden:

Count query: {'version': '1c483123a50921cc32670797db4eb8ec', 'b_start': '0'}
Search query :{'path': {'query': '/Site/products', 'level': -1}, 'facet.field': [u'portal_type'], 'Language': ['en', '']}

And here the same output when the filter is visible:
Count query: {'version': 'c4939119a9c0515ee58c58d7f0668e02', 'b_start': '0', 'c2[]': '/products'}
Search query :{'path': {'query': '/Site/products', 'level': -1}, 'facet.field': [u'portal_type'], 'Language': ['en', '']}

@avoinea avoinea added the Bug label Oct 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants