[Django]-Facet multiple fields on search query set

7👍

You have to call facet method multiple times on the queryset for each field. You can do something like this.

sqs = SearchQuerySet()
facet_list = ('author', 'location', 'age')
for item in facet_list:
    sqs = sqs.facet(item)
👤Rohan

Leave a comment