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
dard request with functional query > > 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_:"

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

Standard request with functional query

2008-12-04 Thread Sammy Yu
Hi guys, I have a standard query that searches across multiple text fields such as q=title:iphone OR bodytext:iphone OR title:firmware OR bodytext:firmware This comes back with documents that have iphone and firmware (I know I can use dismax handler but it seems to be really slow), which is gr