Thank you very much for your replies.
I discovered there was a typo in the function I was given.
One of the parenthesis was in the wrong spot
It should be this:
boost=recip(ms(NOW/HOUR,general_modifydate),3.16e-11,0.08,0.05)
And now it works with edismax! Strange...
Thanks again,
--
View this
On Thu, Oct 23, 2014 at 7:47 PM, Michael Sokolov
wrote:
> 3.16e-11.0 looks fishy to me
Indeed... looks like it should be "3.16e-11"
Standard scientific notation shouldn't have decimal points in the
exponent. Not sure if that causes Java problems or not though...
-Yonik
http://heliosearch.org -
3.16e-11.0 looks fishy to me
On 10/23/14 5:09 PM, eShard wrote:
Good evening,
I'm using solr 4.0 Final.
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
posi
: 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 inpu
Thanks we're planning on going to 4.10.1 in a few months.
I discovered that recip only works with dismax; I use edismax by default.
does anyone know why I can't use recip with edismax??
I hope this is fixed in 4.10.1...
Thanks,
--
View this message in context:
http://lucene.472066.n3.nabble.
On 10/23/2014 3:09 PM, eShard wrote:
> Good evening,
> I'm using solr 4.0 Final.
> 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(