fault operator to AND
> somewhere.
>
> search results will contain all categories, but 206 will be boosted.
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/how-to-boost-given-word-in-a-field-in-the-query-parameters-tp4003961p4004061.html
Sent from the Solr - User mailing list archive at Nabble.com.
> search results will contain all categories, but 206 will be boosted.
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/how-to-boost-given-word-in-a-field-in-the-query-parameters-tp4003961p4004057.html
Sent from the Solr - User mailing list archive at Nabble.com.
> Thanks for your reply, if I insert the clause
> category:206^100 , the search
> result will only include the results in category 206
> ?
It will be an optional clause, unless you have set default operator to AND
somewhere.
search results will contain all categories, but 206 will be boosted.
206 is in front of others*
>
> One way to do this is : add a clause into your query.
>
> q=cell phone category:206^100
>
--
View this message in context:
http://lucene.472066.n3.nabble.com/how-to-boost-given-word-in-a-field-in-the-query-parameters-tp4003961p4003981.html
Sent from the Solr - User mailing list archive at Nabble.com.
> category field has certain values ,for
> examples:307,503,206..
>
> my query like
> this:q=cell+phone&version=2.2&start=0&rows=10&indent=on
> the search result will be in many categories ,for example
> may be in
> 206,782,307,289
> you know the the default sort which depends on the
> relevance,
this message in context:
http://lucene.472066.n3.nabble.com/how-to-boost-given-word-in-a-field-in-the-query-parameters-tp4003961.html
Sent from the Solr - User mailing list archive at Nabble.com.