I use Solr 4.2
I creted a field with the following analyzer :
                        <tokenizer class="solr.WhitespaceTokenizerFactory"/> 
                        <filter class="solr.LowerCaseFilterFactory"/> 
                        <filter class="solr.KStemFilterFactory" />
                        <filter class="solr.EdgeNGramFilterFactory" 
minGramSize="3"
maxGramSize="10"/>
for both index and search.
Maybe KStem is an overkill but I do not think it is important here. 

On phrase search "Peak physical" it returns result:
"Peak Physical Therapy Physical Therapy Of Brooklyn"

For "Peak Physica"
it returns the same result, 

BUT for "Pea Physical"
it does not return anything, Why?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/EdgeNGramFilterFactory-for-phrases-tp4234168.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to