Re: minimum string length for proximity search

2011-03-30 Thread Andy Yang
We are trying to do proximity search for multi-terms and we don't care the order of the terms. Therefore "term1 term2"~5 probably will not get you "term2 term1" if both terms are long. So instead of applying distance at the end, we apply distance to each word, "term1~2 term2~2". I am wondering if w

Re: minimum string length for proximity search

2011-03-30 Thread Erick Erickson
Uhhhm, doesn't "term1 term2"~5 work? If not, why not? You might get some use from http://lucene.apache.org/java/2_4_0/queryparsersyntax.html Or if that's not germane, perhaps you can explain your use case. Best Erick On Wed, Mar 30, 2011 at 5:49 PM, Andy Yang wrote: > Is there a minimum string

minimum string length for proximity search

2011-03-30 Thread Andy Yang
Is there a minimum string length requirement for proximity search? For example, would "a~" or "an~" trigger proximity search? The result would be horrible if there is no such requirement. Thanks, Andy - To unsubscribe, e-mail: ja