This is a stemming artifact, that all of the forms of evaluat* are being stemmed to "evalu". That may seem odd, but stemming/stemmers are odd to begin with.

1. You could choose a different stemmer.
2. You could add synonyms to map various forms of the word to the desired form, such as eval.
3. Accept that Solr ain't perfect or optimal for every fine detail.
4. Or, maybe the stemmer behavior is technically "perfect", but perfection can be subjective.

In this particular case, maybe you might consider a synonym rule such as "eval=>evaluate".

-- Jack Krupansky

-----Original Message----- From: kenf_nc
Sent: Tuesday, May 01, 2012 9:23 AM
To: solr-user@lucene.apache.org
Subject: question on word parsing control

I have a field that is defined using what I believe is fairly standard "text"
fieldType. I have documents with the words 'evaluate', 'evaluating',
'evaluation' in them. When I search on the whole word, obviously it works,
if I search on 'eval' it finds nothing. However for some reason if I search
on 'evalu' it finds all the matches.  Is that an indexing setting or query
setting that will tokenize 'evalu' but not 'eval' and how do I get 'eval' to
be a match?

Thanks,
Ken

--
View this message in context: http://lucene.472066.n3.nabble.com/question-on-word-parsing-control-tp3952925.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to