Search query without specifying the field

How do you perform search query without specifying the field, basically to perform search on all fields.
I realize that _all is removed in elasticsearch 7.
I tried query_string with out fields but i get query_shard_exception and search_phase_execution_exception
Is there any other way?


_all is deprecated. But you can use copy_to to create custom _all fields.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.