Hi iorixxx,

Thanks for your reply, if I insert the clause category:206^100 , the search
result will only include the results in category 206
?

 
iorixxx wrote
> 
>> 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, *I want  the
>> result which in category 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.

Reply via email to