: Thanks for the response, but how would make recency a factor on
: scoring documents with the standard request handler.
: The query (title:iphone OR bodytext:iphone OR title:firmware OR
: bodytext:firmware) AND _val_:"ord(dateCreated)"^0.1
: seems to do something very similar to just sorting
Sammy:
http://markmail.org/search/solr+function+query+recip?page=1
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From: Sammy Yu
> To: solr-user@lucene.apache.org
> Sent: Monday, December 15, 2008 5:28:17 PM
> Subject: Re: Stan
Hey guys,
Thanks for the response, but how would make recency a factor on
scoring documents with the standard request handler.
The query (title:iphone OR bodytext:iphone OR title:firmware OR
bodytext:firmware) AND _val_:"ord(dateCreated)"^0.1
seems to do something very similar to just sorting b
On Thu, Dec 4, 2008 at 4:35 PM, Sammy Yu <[EMAIL PROTECTED]> wrote:
> bodytext:firmware) AND _val_:"ord(dateCreated)^0.1"': Expected ',' at
> position 16 in 'ord(dateCreated)^0.1'
^0.1 is not function query syntax, it's Lucene/Solr QueryParser
syntax. Try _val_:"ord(dateCreated)"^0.1
-Yonik