django-oscar-elasticsearch
django-oscar-elasticsearch copied to clipboard
Having Issues adding new Facets.
I'm trying to update my Oscar store to user this instead of Haystack.
On my site I have:
OSCAR_SEARCH_FACETS = { "fields": OrderedDict( [ ("category", {"name": "Category", "field": "category", 'options': { 'order': {"_term": "asc"} }, }), ("brand", {"name": "Brand", "field": "brand", 'options': { 'order': {"_term": "asc"} }, }),
],
),
'queries': OrderedDict(),
}
Cant seem to work out how I should be doing this within the new set up?