Hi guys, I am usgin SOLR 2.2. I am trying to boost documents such as this one
<doc> <float name="score">9.600311</float> <float name="boost">1.8212872</float> <str name="cache">content</str> <str name="digest">d340da6d1483f028110b0ffc2402c417</str> *<double name="domain_score">14730</double>* <str name="id">http://www.bebo.com/Video.jsp</str> <str name="segment">20080529185637</str> <str name="site">www.bebo.com</str> <str name="title">Video</str> <long name="tstamp">20080529195525711</long> <str name="url">http://www.bebo.com/Video.jsp</str> <double name="url_score">6</double> </doc> using the *domain_score *field the field type double is defined in my schema as :* <fieldType name="double" class="solr.DoubleField" omitNorms="true"/>* I added *bf=domain_score* to my query but can't see any change in the way the documents are sorted the debug info shows that 0.0 = (MATCH) FunctionQuery(org.apache.solr.search.function.FloatFieldSource:float(domain_score)), product of: 0.0 = float(domain_score)=0.0 1.0 = boost 0.1766438 = queryNorm Does the field have to be of type float to be used in a Function Query? I tried using *bf=ord(domain_score*) but to no avail. Any clues? Thanks Julien -- DigitalPebble Ltd http://www.digitalpebble.com