Open macolo opened 8 years ago
I've never used SimpleEngine
, so I can't speak from experience. But maybe it has something to do with how languages are mapped to indexes?
from haystack.query import SearchQuerySet
sqs = SearchQuerySet().all()
for result in sqs:
print (result.text)
I am posting this here as it's essential for aldryn-search for this to work.
The
SimpleEngine
backend doesn't return any search results (whilehaystack.backends.whoosh_backend.WhooshEngine
does, exact same settings).I tried adding the apphook to a page and using the default search form. Result: "No results found."
On the shell I am able to see search results (based on http://django-haystack.readthedocs.io/en/v2.4.1/debugging.html#no-results-found-on-the-web-page) however running
shows that no result has a property text.