: None of the variants worked. I started with that syntax for both 
: exists() and if(). All gave the same stack trace. --wunder

        ...

: We're running Solr 3.3 and I have a function query for boosting that 
: works with bq but not

...i'm very confused.  All of the "boolean" functions (like "if()", 
and "exists()") were added in Solr 4.0...

https://wiki.apache.org/solr/FunctionQuery#Boolean_Functions

As for why it might look like it "works" in the "bq" param -- that is a 
"boost query" parsed as a query string, so it doesn't parse with the 
function syntax, and you are probably getting a very odd boolean query 
matching on docs with "if" and "exists" in the default text field.

-Hoss

Reply via email to