Closed
Description
item_collection uses:
collection_filter = Q(
"bool", should=[Q("match_phrase", **{"collection": collection_id})]
)
but should instead use the same search method as /search does -- the only difference between these endpoints is that the collection is in the path rather than a parameter.
As for the query, should
in ES means "or", and "match_phrase" is like a free-text query. Instead, this should be a filter with a term query against collection
.
Metadata
Metadata
Assignees
Labels
No labels