Am 13.02.2015 um 11:18 schrieb Gonzalo Rodriguez:
> You can always change the type of your sortyear field to an int, or create an
> int version of it and use copyField to populate it.
But that would require me to reindex. Would be nice to have some type
conversion available within a function que
the explain field for the numeric value given to NOW/YEAR vs
NOW/HOUR, etc.
Gonzalo
-Original Message-
From: Michael Lackhoff [mailto:mich...@lackhoff.de]
Sent: Thursday, February 12, 2015 8:57 AM
To: solr-user@lucene.apache.org
Subject: variaton on boosting recent documents gives exce
Since my field to measure recency is not a date field but a string field
(with only year-numbers in it), I tried a variation on the suggested
boost function for recent documents:
recip(sub(2015,min(sortyear,2015)),1,10,10)
But this gives an exception when used in a boost or bf parameter.
I guess