Skip to content

Allow custom routing and index prefixing during bulk indexing using aliases and index templates. #284

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
wants to merge 5 commits into from

Conversation

martyzz1
Copy link

No description provided.

@safwanrahman
Copy link
Collaborator

Thanks for the PR. Can you add some documentation for this?

@martyzz1
Copy link
Author

I've pushed up some more changes. this now seems to work fine allowing creation of indexes and aliases.

What I'm not sure about is how to deal with the read from index... I'm in a microservices environment where my rread and write are on separate services so its not a problem for me to specify the write index as "thing" and on the other service specify the read index as "thing_r_alias"

fix bug where if you specify a index-base-id, the deleete old indexes
command wipes your newly created indexes
support a flag to refresh newly created indexes.
@martyzz1 martyzz1 changed the title Allow custom routing during bulk indexing Allow custom routing and index prefixing during bulk indexing using aliases Jul 20, 2020
@martyzz1
Copy link
Author

With regards to documentation The new management command es_reindex.py Makes use of all the features.. Not sure where to document it all?

@martyzz1 martyzz1 changed the title Allow custom routing and index prefixing during bulk indexing using aliases Allow custom routing and index prefixing during bulk indexing using aliases and index templates. Jul 20, 2020
@safwanrahman
Copy link
Collaborator

@alexgarel Can you help him to put the documentations?

@timo-piirmann
Copy link

👍 for this effort. Looks exactly what I need to replace my custom scripts in the system.

@violuke
Copy link

violuke commented Nov 2, 2020

Will this also resolve? #75 If so, is there anything holding this up other than documentation, I'd be happy to help out as #75 would be really helpful for us?

@martyzz1
Copy link
Author

martyzz1 commented Nov 2, 2020 via email

@safwanrahman
Copy link
Collaborator

@martyzz1 I think you can document it in the management command page. Let me know if you need any help documenting it.

@safwanrahman
Copy link
Collaborator

Looks like it is implemented with #358

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 this pull request may close these issues.

4 participants