quickwit-oss / quickwit

Cloud-native search engine for observability. An open-source alternative to Datadog, Elasticsearch, Loki, and Tempo.
https://quickwit.io
Other
8.29k stars 339 forks source link

project tokens to to root level in json object config #1327

Open fulmicoton opened 2 years ago

fulmicoton commented 2 years ago

Right now it is necessary to know the actual json path of a field in a json object to search for it.

It would be nice to have an option that acts as if we also projected all tokens to the root json path. That way, someone could search for a term and all documents containing the term somewhere in the JSON would be returned.

joepio commented 1 year ago

This is a big one! I actually would love to have it for two projects of mine - one using Tantivy and one using QuickWit.

For quickwit users, it would be great they could just set mode: dynamic, import their stuff, run a query and get results. Now they get this error:

Invalid query: No default field declared and no field specified in query