Re: disable stemming on query parser.

2012-01-04 Thread lukai
What you mean is just disabling *stemming* in query phrase? If so, you
can just specify different analysis behavior for query and index. In
your *FieldType* configuration.

If you just want to *partially* disable stemming, like some query do
stemming, some dont. I recommend you to do pre-processing of the query
before you send them to Solr. Stemming algo is quite easy to copy out.

*Copy a new field* is not make sense, cuz it will impact your scoring function.


Thanks,


On 12/16/11, meghana  wrote:
> Hi All,   
>
> I am using Stemming in my solr , but i don't want to apply stemming always
> for each search request. i am thinking of to disable stemming on one
> specific query parser , can i do this?
>
> Any help much appreciated.
> Thanks in Advance
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/disable-stemming-on-query-parser-tp3591420p3591420.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


Re: Checking which terms are already available in the index from a list of terms

2012-01-04 Thread lukai
There is some operator whose name is *OR*.

Thanks,

On 1/4/12, reeuv  wrote:
> I have a list of terms that I want to check which of them are already
> available in the index
>
> for e.g I have a 
> which indexes the terms.
>
> And I have list of words e.g. Honda, Civic, 2001.
>
> I want to check which of these terms are already available in the index. Is
> there any good efficient way of doing it rather than sending request one by
> one for the word Honda, Civic and 2001 ?
>
> Thanks.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Checking-which-terms-are-already-available-in-the-index-from-a-list-of-terms-tp3631699p3631699.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>