On 12/30/2014 4:16 AM, Modassar Ather wrote: > In the query having lots of wildcard can we put a limitation on number of > expansion of terms done against a wildcard token something like > maxBooleanClauses?
I'm not aware of anything for limiting wildcard terms, but I'm willing to be surprised. As you've already been told, using ngrams in the index analyzer instead of wildcards in the query is usually much faster, because it moves the hard work Solr must do from query time to index time. It will slow down "normal" queries (by an unknown amount, it may not be significant) simply because the index will be larger. If users continue to use wildcards after implementing ngrams, those will be even slower than they are now, because there will be more terms in the index. Thanks, Shawn