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

getIndicesWithAlias and aliasExists very slow on clusters with many indexes #563

Closed
nik9000 opened this issue Mar 3, 2014 · 1 comment · Fixed by #564
Closed

getIndicesWithAlias and aliasExists very slow on clusters with many indexes #563

nik9000 opened this issue Mar 3, 2014 · 1 comment · Fixed by #564

Comments

@nik9000
Copy link
Contributor

nik9000 commented Mar 3, 2014

getIndicesWithAlias and aliasExists both fetch the status information for every index which is quite time consuming when you have a couple of hundred indexes. Just create 500 with a script and check the difference:

for i in {1..100}; do curl -XPUT localhost:9200/test_$i ; done
nik9000 pushed a commit to nik9000/Elastica that referenced this issue Mar 3, 2014
Particularly improves performance on clusters with many indices.  Slow
to instant.

Closes ruflin#563
nik9000 pushed a commit to nik9000/Elastica that referenced this issue Mar 3, 2014
Particularly improves performance on clusters with many indices.  Slow
to instant.

Closes ruflin#563
@ruflin
Copy link
Owner

ruflin commented Mar 8, 2014

This is now part of the v1.0.1.1 release: http://elastica.io/2014/03/08/release-v1-dot-0-1-dot-1/

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

Successfully merging a pull request may close this issue.

2 participants