Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

haystack.backends.simple_backend.SimpleEngine doesn't seem to work with Django CMS #68

Open
macolo opened this issue May 30, 2016 · 2 comments

Comments

@macolo
Copy link

macolo commented May 30, 2016

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 (while haystack.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

from haystack.query import SearchQuerySet
sqs = SearchQuerySet().all()
for result in sqs:
   print (sqs.text)

shows that no result has a property text.

@stefanfoulis
Copy link
Contributor

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?

@georgmzimmer
Copy link

georgmzimmer commented Feb 20, 2017

from haystack.query import SearchQuerySet
sqs = SearchQuerySet().all()
for result in sqs:
   print (result.text)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants