Boost or sort a query with range values

2011-06-09 Thread jlefebvre
Hello

I try to boost a query with a range values but I can't find the correct
syntax :
this is ok .bq=myfield:-1^5 but I want to do something lik this
bq=myfield:-1 to 1^5

Boost value from -1 to 1

thanks

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Boost-or-sort-a-query-with-range-values-tp3043328p3043328.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Boost or sort a query with range values

2011-06-09 Thread jlefebvre
thanks it's ok

another question
how to do a condition in bq ?

something like bq=iif(myfield1 = 0 AND myfield2 = 1;1;0)

thanks

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Boost-or-sort-a-query-with-range-values-tp3043328p3043406.html
Sent from the Solr - User mailing list archive at Nabble.com.