On 30-Jan-08, at 3:31 PM, Alessandro Senserini wrote:

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?

Wildcard queries are not analyzed (see <http://wiki.apache.org/lucene- java/LuceneFAQ#head-133cf44dd3dff3680c96c1316a663e881eeac35a>). In your case, turning off stemming for the field should fix the problem.

-Mike

Reply via email to