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

Search multiple indices #396

Open
frotsch opened this issue Nov 7, 2021 · 5 comments
Open

Search multiple indices #396

frotsch opened this issue Nov 7, 2021 · 5 comments

Comments

@frotsch
Copy link

frotsch commented Nov 7, 2021

Is it currently supported (or planned) to search multiple indices, expressed by comma separated list or wildcard/regex with one search request?

Like "indexName": "index1,index2,myind*"

@sarthakn7
Copy link
Contributor

Searching over multiple indices is not supported right now, is this a feature you need?

@frotsch
Copy link
Author

frotsch commented Nov 8, 2021

I guess this would help a lot of people (including me) migrating from Elasticsearch

@sarthakn7
Copy link
Contributor

This can be a complicated change since our current SearchHandler assumes only one index. There might be hackier ways to do this support this quickly but we would still have to clean it up later. Still this is something we can try to support, but we are not planning to work on this in the near future.

@sarthakn7
Copy link
Contributor

@frotsch I also want to add that Nrtsearch is open-source, so if you're interested feel free to work on the feature and send a PR, I'd be happy to review it :)

@frotsch
Copy link
Author

frotsch commented Nov 8, 2021

@sarthakn7 Thanks, I know :-) I have plans to contribute but currently I need to get familiar with nrtsearch, see whats already there or maybe planned by Yelp and then prioritize for our use cases and needs. Currently it's hard to get started because docs are very sparse :-)

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

No branches or pull requests

2 participants