: Try solr.TrieDateField instead
and note the docs on the "ms" function, from the same wiki page you linked
to...
>> Arguments may be numerically indexed date fields such as TrieDate
>> (recommended field type for dates since Solr 1.4), or date math
>> (examples in SolrQuerySyntax) based on a
Try solr.TrieDateField instead
On Tuesday 27 September 2011 15:53:30 Pranav Prakash wrote:
> Hi, I had been trying to boost my recent documents, using what is described
> here http://wiki.apache.org/solr/FunctionQuery#Date_Boosting
>
> My date field looks like
>
> omitNorms="true"/>
> ="true"