Skip to content

KeyError: 'facets' #579

@maingoh

Description

@maingoh

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 ?

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions