I switched from Whoosh to ElasticSearch to be haystack search engine. Now I
am facing a problem with Elastic search. If I am preforming one filter
everything is working. But when filter the output I get from the first
filter it gives me SearchParseException - Failed to parse query [(( AND
city:(xxx)))]
Here is my code:
filterCity = True
results = SearchQuerySet().filter(content='Me')if filterCity:
results = results.filter_and(city='xxx')
Note this sample code was working using whoosh.
Any Idea how to solve this. Thanks alot in advance
--