I have integrated ElasticSearch with my shop-app doing proper HAYSTACK settings but I left OSCAR_SEARCH_FACETS blank. I am not able to decode this example. Can anyone help me on this? I could not find detailed document about it. I am willing to do - 1) SearchBox with suggestions in dropdown 2) Filters 3) Sorting To my understanding, all these are possible to achieve using django-oscar. Pasting the following example in my settings.py gives me ERRORS - OSCAR_SEARCH_FACETS = { 'fields': OrderedDict([ ('product_class', {'name': _('Type'), 'field': 'product_class'}), ('rating', {'name': _('Rating'), 'field': 'rating'}), ]), 'queries': OrderedDict([ ('price_range', { 'name': _('Price range'), 'field': 'price', 'queries': [ # This is a list of (name, query) tuples where the name will # be displayed on the front-end. (_('0 to 20'), u'[0 TO 20]'), (_('20 to 40'), u'[20 TO 40]'), (_('40 to 60'), u'[40 TO 60]'), (_('60+'), u'[60 TO *]'), ] }), ]), }
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to a topic in the Google Groups "django-oscar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-oscar/vXaAlei6A9U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-oscar...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/bfdd69a0-d11b-4d82-8cff-b8a3c2ce9e0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/85f6314e-7f61-4814-ae9c-ea2ce7f4fdbf%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/4d12804d-9e94-4aad-b382-ec661c63ecc9%40googlegroups.com.
In Django settings.py file - I configured the uri - http://localhost:8983/solr/corename
After doing all, i did python manage.py rebuild_index..
Indexing was successful.
The 400 error came while searching.. undefined field price_exact..
--
https://github.com/tangentlabs/django-oscar
http://django-oscar.readthedocs.org/en/latest/
https://twitter.com/django_oscar
---
You received this message because you are subscribed to a topic in the Google Groups "django-oscar" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-oscar/vXaAlei6A9U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-oscar...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-oscar.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/14b13a7d-fce9-4785-a099-894e7e71fdac%40googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/django-oscar/a373096c-6fa5-44e5-a53d-f2b1c0f5a7c0%40googlegroups.com.