-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Search engine setup #1673
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
Comments
I am pretty sure the main search engine being used is ES. |
As I understand, ES is used for search in files and it's used directly, without Haystack. But how Haystack is used then? And I still can't build ES index... |
I used this: https://github.com/moul/docker-readthedocs Then spun up an ES container: https://hub.docker.com/_/elasticsearch/ I was able to search project titles and within the docs but i wasn't able to search the docs from the project's overview page. |
That image no longer builds so I checked out a copy of the source from about when it did build and it still doesn't build! For some reason the manage.py isn't where he expected it to be. |
what's the status of this ticket? I am not able to serialize the users-guide project because of references to users: When I run |
According to https://github.com/rtfd/readthedocs.org/blob/master/readthedocs/projects/search_indexes.py#L6 Haystack has been deprecated. |
django-haystack (there is also celery-haystack which I don't know its use case) is still listed in |
I can see that haystack is still used only on the API v1 |
I'm setting up self-hosted RTD instance and I'm experiencing problems with setting up the search engine.
I'm using
939c7f8
commit (master
branch).Q1: what engine should I setup?
I see that you use Haystack with different search engines. As I understand, in production you use Solr.
Q2: meanwhile, do I need to run ElasticSearch anyway? There is
settings.ES_HOSTS
- what's the purpose?Q3: may I use ElasticSearch for Haystack? I tried and it's failed to build the index:
Q4:
./manage.py reindex_elasticsearch
raises an error:Q5: it seems that you use outdated
django-haystack==2.1.0
. I use Django 1.8 and when I do./manage.py rebuild_index
- it gives an error:I've updated it to
django-haystack==2.4.0
and now I can rebuild the index.The text was updated successfully, but these errors were encountered: