Also, eDisMax query parser will be a welcome tool for these kinds of 
requirements:
https://issues.apache.org/jira/browse/SOLR-1553

From the feature list: "advanced stopword handling... stopwords are not 
required in the mandatory part of the query but are still used (if indexed) in 
the proximity boosting part. If a query consists of all stopwords (e.g. to be 
or not to be) then all will be required."

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Training in Europe - www.solrtraining.com

On 4. mars 2010, at 23.08, Chris Hostetter wrote:

> 
> : I tried commongrams also but won't worked . here search "this is it" .i
> : would like to get exact information not for this is,is or it.
> : 
> : my document like
> : 
> : <field name="id">101</field>
> 
> You haven't given us enough info about what *else* you wnat to work ... 
> ie: you've only talked about stop words, and not wanting them to match 
> when people query on a portion of a field value, but it's not obvious what 
> you wnat to have happen if people query on other words that aren't part of 
> the original value -- or what if a stop word is the *entire* value...
> 
> should "q=It" match a document whose entire name is "It" ?  
> should "q=elephant" match a document whose entire name is "elephant rider" ?
> 
> ...if the answers are "yes" and "now" then you probably just want to use 
> KeywordTokenizer and the "field" QParser.
> 
> 
> -Hoss
> 

Reply via email to