You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This query will return all documents with "solr" in the title as a query response.
The aggregations will aggregate on that entire query response to get all tags for all documents with "solr" in the title.
The second aggregation will filter that entire query response for documents with "solr" in the title and "elasticsearch" in the tags, and then aggregate to get all uploaders for the filtered subset of the query response.
Finally, post filter will filter all the documents with "solr" in the title to return only those documents with "solr" in the title and "elasticsearch" in tags.
This enables precisely the kind of behavior we see in our faceting sidebar, but without having to run multiple queries in order to exclude the "elasticsearch" filter from our facet request.
This could be considered a post-MVP enhancement, but is probably one of the first things we should try (even before analyzing Django caching), to boost query performance on Calisphere.
This query will return all documents with "solr" in the title as a query response.
The aggregations will aggregate on that entire query response to get all tags for all documents with "solr" in the title.
The second aggregation will filter that entire query response for documents with "solr" in the title and "elasticsearch" in the tags, and then aggregate to get all uploaders for the filtered subset of the query response.
Finally, post filter will filter all the documents with "solr" in the title to return only those documents with "solr" in the title and "elasticsearch" in tags.
This enables precisely the kind of behavior we see in our faceting sidebar, but without having to run multiple queries in order to exclude the "elasticsearch" filter from our facet request.
GET videosearch/_search
:The text was updated successfully, but these errors were encountered: