How can I search in all fields?

Hello, I've been asking a lot of questions lately.

Is it impossible to search in all fields from the Elasticsearch 7.0.0 version now?
Can't I use _all anymore?

If I can't use it, is there any other way?
Or I wonder if I should search through 'field' in any case.

Thank you for watching my question again today.
Have a good day. :slight_smile:

1 Like

I'm not sure about _all, but you may query on all fields with multi-match query without fields parameter.

Something like:

  "query": {
    "simple_query_string": {
      "query": "foo"

Would that work?

1 Like

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