drupal-graphql / drupal-graphql/graphql-search-api
Facets with Language
- Dominant language
- PHP
- Stars
- 10
- Forks
- 24
- PR merge metrics
- No merged PRs in 30d
Description
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
}
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.