If you search for f:validat*, then I believe you will get same number of results. Please check.
f:validator* is searching for records that have prefix "validator" where as field with stemmer which stems "validator" to "validate" (if this stemming was applied at index time as well as query time) its looking for records that have "validate" or "validator", so for obvious reasons, numFound might have been different. On Mon, Apr 18, 2016 at 12:48 PM, Modassar Ather <modather1...@gmail.com> wrote: > Hi, > > Please help me understand following. > > I have analysis chain which uses KStemFilterFactory for a field. Solr > version is 5.4.0 > > When I search for f:validator I get 80K+ documents whereas if I search for > f:validator* I get only around 150 results. > > When I checked on analysis page I see that validator is changed to > validate. Per my understanding in both the above cases it should at-least > give the exact same result of around 80K+ documents. > > I understand in some cases wildcards can result in sub-optimal results for > stemmed content. Please correct me if I am wrong. > > Thanks, > Modassar >