Skip to content

Search should default to _all when no default index is set #1160

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
gmarz opened this issue Dec 17, 2014 · 0 comments
Closed

Search should default to _all when no default index is set #1160

gmarz opened this issue Dec 17, 2014 · 0 comments
Assignees

Comments

@gmarz
Copy link
Contributor

gmarz commented Dec 17, 2014

Currently, if a default index is set then:

client.Search<Foo>(s => s.MatchAll());

will execute the request to: /defaultindex/foo/_search

However, if a default index is NOT set, the request will go to just: /_search, effectively ignoring the type.

Instead it should go to: /_all/foo/_search.

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

1 participant