Trey Grainger created SOLR-5524:
-----------------------------------

             Summary: Exception when using Query Function inside Scale Function
                 Key: SOLR-5524
                 URL: https://issues.apache.org/jira/browse/SOLR-5524
             Project: Solr
          Issue Type: Bug
    Affects Versions: 4.6
            Reporter: Trey Grainger
            Priority: Minor
             Fix For: 4.7


If you try to use the query function inside the scale function, it throws the 
following exception:
org.apache.lucene.search.BooleanQuery$BooleanWeight cannot be cast to
org.apache.lucene.queries.function.valuesource.ScaleFloatFunction$ScaleInfo

Here is an example request that invokes this:
http://localhost:8983/solr/collection1/select?q=*:*&fl=scale(query($x),0,5)&x=hello)



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to