You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Mike Klaas <mi...@gmail.com> on 2008/02/01 01:05:16 UTC

Re: wildcard newbie question

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