drupal-graphql / drupal-graphql/graphql-search-api

Facets with Language

Open
#35 2 comments 0 reactions 0 assignees View on GitHub
enhancement
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.