Re: How to boost a field with another field's value?

2012-06-15 Thread smita
Actually I have a title field that I am searching for my query term, and the documents have a rating field that I want to boost the results by, so the higher rated items appear before the lower rated documents. I am also boosting results on another field using bq:

How to boost a field with another field's value?

2012-06-14 Thread smita
I have 2 fields in my schema - e.g. long field field1 and long field field 2. I'd like my boost query to be such that field1 is boosted by the value of field 2 for each document. What should the query time boost for this look like? I was able to do this using Index time boosting with the

Re: How to boost a field with another field's value?

2012-06-14 Thread Jack Krupansky
See Function Query: http://wiki.apache.org/solr/FunctionQuery If you are using the dismax or edismax query parser you can use the bf request parameter. e.g., q=foobf=ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 -- Jack Krupansky -Original Message- From: smita Sent: