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
We want to allow users to filter their documents inside an ElasticsearchDocumentStore based on a combination of logical and comparison operators. Filters can be set in Elasticsearch within a boolean query. It seems that the must occurrence type corresponds to the logical AND operator, must_not to the logical NOT operator and should to the logical OR operator (with minimum_should_match set to 1). Greater or less than operations have to be defined inside the range parameter.
The text was updated successfully, but these errors were encountered:
@bogdankostic It will be great if we have the above feature included. It adds lots of flexibility and avoids the postprocessing steps. I would love to work on this issue. Please let me know.
Hi @SjSnowball! Thanks for your interest in this issue. I already created a PR (#2108) that extends the metadata filtering support in the ElasticsearchDocumentStore.
We want to allow users to filter their documents inside an
ElasticsearchDocumentStore
based on a combination of logical and comparison operators. Filters can be set in Elasticsearch within aboolean
query. It seems that themust
occurrence type corresponds to the logicalAND
operator,must_not
to the logicalNOT
operator andshould
to the logicalOR
operator (withminimum_should_match
set to1
). Greater or less than operations have to be defined inside therange
parameter.The text was updated successfully, but these errors were encountered: