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

Allow IndexCoordinates in repositories #2506

Open
ls-urs-keller opened this issue Mar 27, 2023 · 1 comment · May be fixed by #2505
Open

Allow IndexCoordinates in repositories #2506

ls-urs-keller opened this issue Mar 27, 2023 · 1 comment · May be fixed by #2505
Labels
type: enhancement A general enhancement

Comments

@ls-urs-keller
Copy link
Contributor

It is common to have multiple indexes with the same document structure. E.g. rolling indices over time and having a wildcard alias. Sometimes one wants to select different IndexCoordinates than specified in @Document(indexName = "...", ...). Also you might want to use the same Repository to do cross cluster searches and for this need to specify the IndexCoordinates.

It would therefore be helpful to support IndexCoordinates as an argument to repository methods the same way ScrollPosition, Sort and Pageable are handled.

This PR is an attempt to introduce this change. I keep it as draft to get some comments I can add tests to it if we can agree on the change being valid.

@ls-urs-keller ls-urs-keller linked a pull request Mar 27, 2023 that will close this issue
5 tasks
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Mar 27, 2023
@sothawo
Copy link
Collaborator

sothawo commented Mar 28, 2023

I'll have a look at this later that week or probably on the weekend, I'm on a business trip currently and won't find the time earlier

@sothawo sothawo added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants