create an field for exact match. it is a optional boolean clause
在 2012-8-11 下午1:42,"abhayd" <ajdabhol...@hotmail.com>写道:

> hi
>
> I have documents like
> iphone 4 - white
> iphone 4s - black
> ipone4 - black
>
> when user searches for iphone 4 i would like to show iphone 4 docs first
> and
> iphone 4s after that.
> Similary when user is searching for iphone 4s i would like to show iphone
> 4s
> docs first then iphone 4 docs.
>
> At present i use whitespace tokenizer. Any idea how to achieve this?
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-boost-exact-match-tp4000576.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to