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

Mention "upgrading 1.2.3 => 2.x" for haystack-search #766

Open
wfehr opened this issue Sep 28, 2023 · 2 comments
Open

Mention "upgrading 1.2.3 => 2.x" for haystack-search #766

wfehr opened this issue Sep 28, 2023 · 2 comments

Comments

@wfehr
Copy link
Contributor

wfehr commented Sep 28, 2023

I've recently tried to update this app in my system and came across some errors/issues.

One with django-meta was fixed very fast (thanks again) with v2.0.5.

The other I just came across: I use haystack for blog-posts and with the newer version it won't work by default.
The reason, after going through the diff of this two versions (1.2.3, 2.0.5):

The file search_indexes.py was deleted.
I didn't find any doc mentioning this, the docs still state the same as before: installation.rst#enable-haystack-support

It would be nice to have something like a "how to update vom X to Y" or a updated block for this haystack-support.
Your app dropped the requirement for aldryn-search - which, well, is nice cause of deprecation - but the docs still indicate that code might work the same as before.

After recreating the search_indexes.py in my system, the search-page loads as expected.
Error message was following (from this line in the code in django-haystack):
No fields were found in any search_indexes. Please correct this before attempting to search.

@protoroto
Copy link
Member

@wfehr Thansk for pointing this out. I'll discuss with @yakky what is the best approach on this issue.

@protoroto
Copy link
Member

@wfehr As we dropped aldryn-search completely, probably the right thing to do is upgrade the docs and add a brief explaination on how to integrate haystack

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

No branches or pull requests

2 participants