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
I am using the language specification in my query just fine and the results are as expected. However, the facets still return items in all languages. Is there a way to adhere the language specification to the facets?
My query
query {
searchAPISearch(
index_id: "content"
range: {offset: 0, limit: 25}
language: "en"
facets: [
{operator: "=", field: "product", limit: 0, min_count: 0, missing: false}
]
) {
result_count
documents {
... on ContentDoc {
nid
url
title
product
type
version
langcode
}
}
facets {
name
values {
count
name: filter
}
}
}
}
The text was updated successfully, but these errors were encountered:
Hi @philip-elevated ,
Sorry about the embarassingly late reply.
We could potentially update the SearchAPIFacets to achieve this, adding filtering on a language basis.
I can have a look at this as soon as possible, but I'm otherwise open to a PR here.
I am using the language specification in my query just fine and the results are as expected. However, the facets still return items in all languages. Is there a way to adhere the language specification to the facets?
My query
The text was updated successfully, but these errors were encountered: