Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-31 Thread Michael McCandless
On Thu, Jan 31, 2013 at 2:52 PM, George Kelvin wrote: > Thank you! That is the problem! I changed the maxExpansions to 100 and the > results are found. Phew! > About my second question, the ranking of wildcard fuzzy search, can you > also give some suggestions? Thanks! This is tricky, eg see h

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-31 Thread George Kelvin
Hi Jack, sorry for confusing you. I understand that it would be great if a minimal data set can be provided to repro the problem. But I was unable to do that.. Hi Michael, Thank you! That is the problem! I changed the maxExpansions to 100 and the results are found. About my second question, the

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-30 Thread Michael McCandless
On Tue, Jan 29, 2013 at 2:43 PM, George Kelvin wrote: > Hi Jack, > > The problematic query is "scar"+"wads". > > There are several (more than 10) documents in the data with the content > "star wars", so I think that query should be able to find all these > documents. > > I was trying to provide a

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-29 Thread Jack Krupansky
- and unable to help you any further. -- Jack Krupansky -Original Message- From: George Kelvin Sent: Tuesday, January 29, 2013 2:43 PM To: java-user@lucene.apache.org Subject: Re: Questions about FuzzyQuery in Lucene 4.x Hi Jack, The problematic query is "scar"+"wads&

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-29 Thread George Kelvin
gt; -Original Message- From: George Kelvin > Sent: Tuesday, January 29, 2013 12:28 PM > > To: java-user@lucene.apache.org > Subject: Re: Questions about FuzzyQuery in Lucene 4.x > > Hi Jack, > > ed is set to 1 here and I have lowercased all the data and queries. > > R

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-29 Thread Jack Krupansky
t data and the query - all the literals. In other words, construct a minimal test case that shows the failure. -- Jack Krupansky -Original Message- From: George Kelvin Sent: Tuesday, January 29, 2013 12:28 PM To: java-user@lucene.apache.org Subject: Re: Questions about FuzzyQuery in

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-29 Thread George Kelvin
. > > Another factor to take into consideration is that a case change ("Star" > vs. "star") also counts as an edit. > > -- Jack Krupansky > > -Original Message- From: George Kelvin > Sent: Tuesday, January 29, 2013 11:49 AM > To: java-user@lu

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-29 Thread Jack Krupansky
9, 2013 11:49 AM To: java-user@lucene.apache.org Subject: Re: Questions about FuzzyQuery in Lucene 4.x Hi Jack, Thanks for your reply! I don't think I passed the prefixLength parameter in. Here is the code I used to build the FuzzyQuery: String[] words = str.split("\\

Re: Questions about FuzzyQuery in Lucene 4.x

2013-01-28 Thread Jack Krupansky
nuary 28, 2013 5:31 PM To: java-user@lucene.apache.org Subject: Questions about FuzzyQuery in Lucene 4.x Hi All, I’m working on several projects requiring powerful search features. I’ve been waiting for Lucene 4 since I read Michael McCandless's blog post about Lucene’s new FuzzyQuery and final