Skip to content

About copy Index and aliases #100

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

Open
saylom99 opened this issue Mar 15, 2023 · 2 comments
Open

About copy Index and aliases #100

saylom99 opened this issue Mar 15, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@saylom99
Copy link

when I select menu copy index from existing index

and existing index have aliases

new index got aliases from existing index

I not sure this is bug or not but I got duplicate data from existing index because have 2 aliases

this one quite not easy for find real root cost when I start investigate

Solution : I remove aliases existing index and select menu copy index again
and create new aliases again

please explain this right way about select menu something or fix this

Best Regard
wind

@AntonShuvaev
Copy link
Owner

AntonShuvaev commented Mar 15, 2023

I've checked this with a simple test index and I can't reproduce the issue. Can you try to copy index without aliases? Maybe the issue is not related to aliases?

But anyway, I will add an option to ignore aliases when copying index.

@AntonShuvaev AntonShuvaev added the enhancement New feature or request label Mar 15, 2023
@saylom99
Copy link
Author

Thank for help and reply, Oh yes this one relate backend API when use

@document(indexName = Indices.PERSON_INDEX_ALIASES)

I have two index use same aliases when I call findAll I got double data

Screen Shot 2566-03-15 at 20 18 55

Screen Shot 2566-03-15 at 20 20 57

Screen Shot 2566-03-15 at 20 22 26

If we have message for see aliases relate index use like this
Screen Shot 2566-03-15 at 20 37 00

Anyway option to ignore aliases will solve this definitely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants