algolia / algolia/algoliasearch-client-python

KeyError: 'facets'

Open
#579 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
207
Forks
63
PR merge metrics
No merged PRs in 30d

Description

Sometimes I get a key error on `facets`, I could not reproduce it. I am wondering if this is something normal and if you know in what condition it could happen ?

```python
results = index.search("", {"facets": "*"})
facets = results['facets'] # <== sometimes the key is not present
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.