Hi,-

 i hope everyone is doing great.

I saw this issue with this class such that if you search for "term1*"  it is good, (i.e., 4 millisecs when it has >= 5 chars and it is ~250 millisecs when it is 2 chars)

but when you search for "term1 term2*" where when term2 is a single char, the performance degrades too much.

The query "term1 term2*" slows down 50 times (~200 millisecs) compared to "term1*" case when term 1 has >5 chars and term2 is still 1 char.

The query "term1 term2*" slows down 400 times (~1500 millisecs) compared to "term1*" when term1 has >5 chars and term2 is still 1 char.

Is there any suggestion to speed it up?

Best regards



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to