You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Daniel Higginbotham <da...@flyingmachinestudios.com> on 2010/01/13 04:06:32 UTC
question about date boosting
Hello,
I'm trying to boost results based on date using the first example here:http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
However, I'm getting an error that reads, "Can't use ms() function on
non-numeric legacy date field"
The date field uses solr.DateField . What am I doing wrong?
Thank you!
Daniel Higginbotham
Re: question about date boosting
Posted by Joe Calderon <ca...@gmail.com>.
I think you need to use the new trieDateField
On 01/12/2010 07:06 PM, Daniel Higginbotham wrote:
> Hello,
>
> I'm trying to boost results based on date using the first example
> here:http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents
>
>
> However, I'm getting an error that reads, "Can't use ms() function on
> non-numeric legacy date field"
>
> The date field uses solr.DateField . What am I doing wrong?
>
> Thank you!
> Daniel Higginbotham