-
Notifications
You must be signed in to change notification settings - Fork 369
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
Facet filterType="none" doesn't translate to a must_not filter in Elasticsearch Connector query #783
Comments
Thanks so much for the bug report. will get back to you. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
+1 in need of this capability. Any plans to work this issue? |
An other solution would be to build up a second data structure, where all not selected/saved/set data fields would be saved and query these for existance, if something should not have it. An example for movies and genres would be: The Matrix
Something like "all comedies which are not anime":
|
We ran into a similar issue where we tried to pass 'none' as a filter in the provider config for a specific page, but here is a snippet:
Could it be that that the transformation in the connector package doesn't actually build up a query that is usable for elastic? I don't have the thorough experience with Elastic yet to confirm it based on what I'm seeing here: |
Can confirm that adding a filter with type "any" (should) or "none" (must_not) doesn't work. It always defaults to "all" (filter). |
+1 in need of the functionality |
We tested the Facet component with filterType="none". But it doesn't translate to a must_not filter in Elasticsearch query.
Resulting request query:
When we set a filter in config.filters the query uses must_not as expected
Resulting request query:
The text was updated successfully, but these errors were encountered: