Skip to content

Redindex elasticseach? #2349

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

Closed
zabeloliver opened this issue Aug 3, 2016 · 5 comments
Closed

Redindex elasticseach? #2349

zabeloliver opened this issue Aug 3, 2016 · 5 comments

Comments

@zabeloliver
Copy link

Hi,

i did a manual privat installation of read the docs. I finally succeeded with install elasticsearch and readthedocs can communicate with it. No i get the error that no index is found, and it seems that projects did not get indexed.

is there a way to force a reindex?

thanks!

@agjohnson
Copy link
Contributor

This bug is being marked as community effort. The core team will try to facilitate resolution with this issue, but without the resources to support external installations outside of our production environment, we must rely on the community to help.

You can read more information on our philosophy around supporting Read the Docs as an open source and volunteer run effort here:
http://docs.readthedocs.io/en/latest/open-source-philosophy.html

@zhaown
Copy link

zhaown commented Oct 6, 2016

@zabeloliver , you don't need to force a reindex, every time you rebuild the project, RTD does the reindexing for you.

If you got the error said that no index is found, maybe you just didn't setup elasticsearch properly, you can install the ES plugin head to check the ES status/data.

BTW: You need manually run the script to create an index and corresponding mapping in ES for RTD, before do any build.

@eldritchsong
Copy link

Looks like the documentation for setting up Elastic Search no longer exists.

I'm also setting up a local installation. I'm having some issues with python-elasticsearch communicating with elastic search process.

Which versions of Elastic search and python-elasticsearch should I be using? I'm currently using 1.5 of both, and while this seems to work to a degree, running a reindex errors out still.

@humitos
Copy link
Member

humitos commented May 28, 2017

I followed this instructions in Ubuntu 16.04

https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-elasticsearch-on-ubuntu-16-04

The problem is that RTD doesn't support elasticsesarch 2.x yet (#2539). Anyway, latest version is 5.4.0 and it's the same version of the python package

@agjohnson
Copy link
Contributor

Correct that we don't support 2.x currently. We're in the process of overhauling our search functionality, so perhaps could support 2.x+ with that work.

I'm closing this issue either way, I don't think the core development team can offer up much time to resolve this issue. You might have more luck on stackoverflow.

@agjohnson agjohnson removed the Support Support question label Jun 8, 2017
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

5 participants