-
Is there a way to get the index facets and their values? I tried to follow algolias docs and my code is as follows: algolia.instance
.index('my_index')
.query('query')
.setFacets(['*']).getObjects(); and the values I get out of this are: {
hits: [],
nbHits: 0,
page: 0,
nbPages: 0,
hitsPerPage: 20,
facets: {},
exhaustiveFacetsCount: true,
exhaustiveNbHits: true,
exhaustiveTypo: true,
query: query,
params: facetFilters=%5B%5D&optionalFilters=%5B%5D&numericFilters=%5B%5D&tagFilters=%5B%5D&query=query&facets=%5B%22*%22%5D,
renderingContent: {},
processingTimeMS: 1
} |
Beta Was this translation helpful? Give feedback.
Answered by
Faaatman
Jun 27, 2022
Replies: 1 comment
-
To get the facets I get the query result and then |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Faaatman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To get the facets I get the query result and then
result.facets