RE: NGram Indexing Basic Question

2012-07-20 Thread Husain, Yavar
Thanks Erick. Actually it was going in as a phrase query. I set the following filter and things are perfect -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Friday, July 20, 2012 5:23 PM To: solr-user@lucene.apache.org Subject: Re: NGram Indexing Basic

Re: NGram Indexing Basic Question

2012-07-20 Thread Erick Erickson
Try attaching &debugQuery=on to your query and look at the parsed query. My first guess is that your default operator is AND (or a.op in modern terms) and the ngram with "dl" in it is required. Please paste the results here if that's not the cause. Best Erick On Thu, Jul 19, 2012 at 7:29 AM, Hus

NGram Indexing Basic Question

2012-07-19 Thread Husain, Yavar
I have set some of my fields to be NGram Indexed. Have also set analyzer both at query as well as index level. Most of the stuff works fine except for use cases where I simply interchange couple of characters. For an example: "springfield" retrieves correct matches, "springfi" retrieves correc