Hi,
As we know, wildcard query may take a lot of time, especially when there're
lots of term matches. It seems there's no way to find a way to configure max
count of matched terms. BooleanQuery#setMaxClauseCount API is close to the
goal, but it throws TooManyClauseException when it exceeds the limi
Michael McCandless wrote:
I think *not* having to maintain back compat of the package private
APIs is very important to keeping our freedom (and sanity!) to
continue to improve Lucene. This is similar to marking a new API as
experimental and subject to suddenly change in the next release: it