"if this is the expected behaviour is there a way to override it?"[1]
[1] me On Thu, Dec 31, 2009 at 10:13 AM, AHMET ARSLAN <iori...@yahoo.com> wrote: >> Hello *, im trying to make an index >> to support spelling errors/fuzzy >> matching, ive indexed my document titles with >> NGramFilterFactory >> minGramSize=2 maxGramSize=3, using the analysis page i can >> see the >> common grams match between the indexed value and the query >> value, >> however when i try to do a query for it ex. >> title_ngram:(family) the >> debug output says the query is converted to a phrase query >> "f a m i l >> y fa am mi il ly fam ami mil ily", if this is the expected >> behavior is >> there a way to override it? > > "If a single token is split into more tokens during the analysis phase, solr > will do a phrase query instead of a term query." [1] > > [1]http://www.mail-archive.com/solr-user@lucene.apache.org/msg30055.html > > > > >