Re: Can't use ms() function on non-numeric legacy date field

2011-09-27 Thread Chris Hostetter
: 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

Re: Can't use ms() function on non-numeric legacy date field

2011-09-27 Thread Markus Jelsma
"true"/> > ="true"/> > > However, upon trying to do ms(NOW, created_at) it shows the error > Can't use ms() function on non-numeric legacy date field created_at > * > * > *Pranav Prakash* > > "temet nosce" > >

Can't use ms() function on non-numeric legacy date field

2011-09-27 Thread Pranav Prakash
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 However, upon trying to do ms(NOW, created_at) it shows the error Can't use ms() function on non-numeric legacy date