: I tried using this function
: boost=recip(ms(NOW/HOUR,startdatez,3.16e-11.0,0.08,0.05))
: but it fails with this error:
: org.apache.lucene.queryparser.classic.ParseException: Expected ')' at
: position 29 in 'recip(ms(NOW/HOUR,startdatez,3.16e-11.0,0.08,0.05))'

look very carefully at your input, and at the error message.

you are only passing *1* argument to the recip() function -- the output of 
the ms() funciton.

you are passing *5* arguments to the ms() function -- it supports a max of 
2.

which is why at the 29th character of your input, after the second 
argument to your ms() function, it's complaining that it's expecting a ")" 
character -- not more arguments.


-Hoss
http://www.lucidworks.com/

Reply via email to