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


(Ennian001) #1

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!


(David Pilato) #2

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?