Why I used Wildcard query ,start with "*" and end with "*" is also so fast too!

Why I used Wildcard query ,start with " " and end with " " is also so fast too!!!
but as the official document says "In order to prevent extremely slow wildcard queries, a wildcard term should not start with one of the wildcards * or ?"
My field size is about 100 characters and my test data is about 15Gb.
who can give me an example of a situation where it's going to be slow,plz!

How long does it take?

It can be slow when you have a lot of different terms in the inverted index.

What does your dataset look like?

1 Like

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