django-oscar-elasticsearch icon indicating copy to clipboard operation
django-oscar-elasticsearch copied to clipboard

Having Issues adding new Facets.

Open mkjmckinlay opened this issue 1 year ago • 0 comments

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?

mkjmckinlay avatar Nov 27 '24 16:11 mkjmckinlay