-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting a filterableAttributes
must make the nested field facetSearchable
too
#4638
Comments
@Kerollmops did not try to reproduce the bug, we need to reproduce it to ensure this is a bug |
Hey, I quickly tested with v1.8.1, and I did not manage to reproduce document: [
{ "id": 2, "identity": { "name": "Clem", "age": 25 } }
] Settings {
"searchableAttributes": ["identity"],
"filterableAttributes": ["identity"]
} I tried both searches and I got not issues
|
@curquiza You didn't try the "facet search API", which is the one with the bug. If I recall correctly, the request to {"facetName": "identity.name", "facetQuery": "Clem", "q": "", "filter": []} (separate issue about the opposite - searching for the parent field but wanting matches on child fields:) In addition, there is a problem with the shape of the facet search API response - if you could facet keyword search for {
"facetHits": [
{
"value": "Which facet did this value come from? Who knows...",
"count": 25
},
... |
When setting a field in the filterable attributes
tags
, it seems that the nested fieldstags.level0
are not facet searchable, and trying to search on it throws an error. This has been reported in this discussion.The text was updated successfully, but these errors were encountered: