Wildcard (*) search in elasticsearch

Hi,

When i search through my index performing a query_string search with just the term, "*". I see a set of results.

I am just trying to find out if elasticsearch applies any logic while searching with just the wildcard term "*" or it just returns a random set of results back.

Thank you!

Regards,
Nataraj

By default, results are ordered by _score. Here the score is 1 from every document.

I'd consider that it is like returning a random set of results back unless you are using another sorting field.

1 Like

Thank you for your answer @dadoonet

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