Re: Standard request with functional query

2008-12-18 Thread Chris Hostetter
: 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

Re: Standard request with functional query

2008-12-15 Thread Otis Gospodnetic
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

Re: Standard request with functional query

2008-12-15 Thread Sammy Yu
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

Re: Standard request with functional query

2008-12-04 Thread Yonik Seeley
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