> > I have a text field type called courseTitle and it contains > > > > Struts 2 > > > > If I search courseTitle:strut* I get the documents but if I search > > with > > courseTitle:struts* I do not get any results. > > > > Could you please explain why? > > Just a guess: It might be because of stemming. Do you have > the same effect with words that don't end in an 's' or similar? > If my guess is correct, only 'strut' is in the index, not 'struts'.
I have seen this behavior quite often before indeed. I understand why it does not give a hit because of stemming, but in the end, it seems a little wrong to me. 'stemm*' should match 'stemmed' basically. Obviously, using an analyzer without stemming solves the problem, but then again you do not have stemming -Ard > > -Michael > >