Re: partial match

2019-08-05 Thread Atri Sharma
Yes, that will allow specifying wildcard as the first character, but it can lead to very slow queries, especially on larger indices. On Mon, Aug 5, 2019 at 6:08 PM wrote: > > Does QueryParser.setAllowLeadingWildCard(true) work? > > this will allow to use wildcard as first char in the search strin

Re: partial match

2019-08-05 Thread baris . kazar
Does QueryParser.setAllowLeadingWildCard(true) work? this will allow to use wildcard as first char in the search string, right? Best On 8/5/19 7:40 AM, Baris Kazar wrote: thanks, i found a setting in lucene that is supposed to allow wildcard as first char, i will post here what it was. But i ha

Re: partial match

2019-08-05 Thread Baris Kazar
thanks, i found a setting in lucene that is supposed to allow wildcard as first char, i will post here what it was. But i have not tested it yet. Best - Original Message - From: a...@apache.org To: java-user@lucene.apache.org Sent: Sunday, August 4, 2019 11:41:55 PM GMT -05:00 US/Canada E

Re: What is edit distance 2 mean for fuzzy queries?

2019-08-05 Thread Baris Kazar
thanks, yes, i was looking into the scaled distance computation in more details. as i mentioned i have a rough formula now like for words shorter or equal tom length 5 edit distance 1 works but as the word gets longer edit distance 2 works too. Best - Original Message - From: furkankam...