We're running Solr 3.3 and I have a function query for boosting that works with 
bq but not with boost (edismax). This is the same behavior described here:

http://stackoverflow.com/questions/12128561/why-doesnt-solr-function-query-work-with-boost-parameter

Here is the first part of the stack trace:

null java.lang.UnsupportedOperationException at 
org.apache.solr.search.function.DocValues.floatVal(DocValues.java:41) at 
org.apache.solr.search.function.BoostedQuery$CustomScorer.score(BoostedQuery.java:167)
 at 
org.apache.lucene.search.TopScoreDocCollector$InOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:47)
 at org.apache.lucene.search.Scorer.score(Scorer.java:90) at 
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:526) at 
org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:320) at 
org.apache.solr.search.SolrIndexSearcher.getDocListNC(SolrIndexSearcher.java:1178)
 at 
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:1066)
 at 
...

I'm passing in this function query. The first term in the product() is set as a 
default in the request handler for boost. 

"product(log(max(demand_chegg_rolling,1)),if(exists('school'='1579535');5;1))"

I did not find a Jira item that matched this. Any hints on what is going on?

wunder
--
Walter Underwood
wun...@wunderwood.org



Reply via email to