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 for all fields instead of a single field #790

Open
prabhatsharma opened this issue Jun 3, 2021 · 1 comment
Open

Search for all fields instead of a single field #790

prabhatsharma opened this issue Jun 3, 2021 · 1 comment

Comments

@prabhatsharma
Copy link

Currently when searching we need to provide the fields we explicitly need to search for. e.g.

{ "query": { "term": { "lyrics": "cool" } }, "limit": 10 }

Is it possible to specify a query that can search on all the fields? Am I thinking about it in right way? I have been able to do so in elasticsearch. Also looking at tantivy wikipedia example it seems we should be able to do it.

@hntd187
Copy link
Member

hntd187 commented Jun 6, 2021

How do you currently do it in elastic? Like what kind of query do you run, I don't think you are thinking about it wrong, but I Just want to make sure.

We can definitely talk about what functionality might look like then.

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