I have a product index with keywords as multivalued field class ProductIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) keywords = indexes.MultiValueField(faceted=True)
I need to find Products having keywords exactly as 'lightning' . I use this query - SearchQuerySet().models(Product).filter(keywords__exact=u'Lighting') But this also gives me the Products having lightning as a part of their word. Like print SearchQuerySet().models(Product).filter(keywords__exact=u'Lighting')[1 ].keywords [u'LED lighting', u'Optic Lighting'] What is the correct way of doing this? Thanks -- You received this message because you are subscribed to the Google Groups "django-haystack" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-haystack+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.