: 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
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_:"
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
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