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

FEATURE: Use Elasticsearch multi-search to fetch xref candidates in parallel #3523

Open
tillprochaska opened this issue Dec 5, 2023 · 0 comments
Labels
feature-request Requests for new features or enhancements of existing features

Comments

@tillprochaska
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When computing xref matches for a collection, Aleph sends one separate query to Elasticsearch to find entities that could be similar.

Describe the solution you'd like
We should batch multiple of those queries in a single HTTP request to the multi-search endpoint. This allows processing of multiple queries in parallel and reduces the network overhead by reducing the number of separate HTTP requests.

The batch size should be configurable.

Describe alternatives you've considered
-/-

Additional context
-/-

@tillprochaska tillprochaska added feature-request Requests for new features or enhancements of existing features triage These issues need to be reviewed by the Aleph team labels Dec 5, 2023
@Rosencrantz Rosencrantz removed the triage These issues need to be reviewed by the Aleph team label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Requests for new features or enhancements of existing features
Projects
None yet
Development

No branches or pull requests

2 participants