Actually, yes, I want to be able to match *any* single character, not just 'a'.
The StopFilterFactory wiki doesn't help with that, apparently...correct?

-David



> From: [EMAIL PROTECTED]
> To: solr-user@lucene.apache.org
> Subject: RE: Tips for searching
> Date: Sat, 1 Dec 2007 00:43:21 +0000
> 
> 
> Thanks for the quick response Mike...
> Ideally it should match more than just a single character, i.e. "the" in 
> "weather" or "pro" in "profile" or "000" in "18000".
> 
> Would these cases be taken care of by the StopFilterFactory?
> 
> Thanks,
> david
> 
> 
> > From: [EMAIL PROTECTED]
> > Subject: Re: Tips for searching
> > Date: Fri, 30 Nov 2007 16:40:41 -0800
> > To: solr-user@lucene.apache.org
> > 
> > On 30-Nov-07, at 4:27 PM, Dave C. wrote:
> > 
> > > When I perform a query on a field using a single character, I get  
> > > no results back: for example, if i search on the "description"  
> > > field for the character 'a', i.e. (description:a), I get no results  
> > > back.  I would like to get all documents where the letter 'a'  
> > > appears in the description field.
> > >
> > > I haven't played around with any of the settings in my schema.xml,  
> > > so I am wondering if someone could point out how I could configure  
> > > Solr such that it will return me all documents with an 'a' (or any  
> > > arbitrary character) in the description field.  If this could be  
> > > expanded to match any sub-word (i.e. match "the" in "weather") that  
> > > would be great as well.
> > 
> > Any single character, or just 'a'?  IR systems often strip out stop  
> > words (extremely common) words for efficiency reasons.  This is  
> > configured via the "StopFilterFactory" in schema.xml: just remove it  
> > from the field you are interested in and reindex.
> > 
> > -Mike
> 
> _________________________________________________________________
> Share life as it happens with the new Windows Live.Download today it's FREE!
> http://www.windowslive.com/share.html?ocid=TXT_TAGLM_Wave2_sharelife_112007

_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007

Reply via email to