On 3/12/07, stefano nicolai <[EMAIL PROTECTED]> wrote:

...All of these items have a field containing the date they were created
(it's a string field at the moment, as i have this type inside my DB).

I want to give a higher score to the ones with the most recent date...

You should be able to use boost functions for this, see for example
http://www.mail-archive.com/solr-user@lucene.apache.org/msg01877.html

and

http://lucene.apache.org/solr/api/org/apache/solr/search/QueryParsing.html#parseFunction(java.lang.String,%20org.apache.solr.schema.IndexSchema)

-Bertrand

Reply via email to