You could also put a short representation of the data (I suggest days since 
01.01.2010) as payload and calculate boost with payload function of the 
similarity.

>-----Original Message-----
>From: ext Jason Brown [mailto:jason.br...@sjp.co.uk]
>Sent: Montag, 29. November 2010 17:28
>To: solr-user@lucene.apache.org
>Subject: Boost on newer documents
>
>
>Hi,
>
>I use the dismax query to search across several fields.
>
>I find I have a lot of documents with the same document name (one of the 
>fields that the dismax queries) so I wanted to adjust the
>relevance so that titles with a newer published date have a higher relevance 
>than documents with the same title but are older. Does
>anyone know how I can achieve this?
>
>Thank You
>
>Jason.
>
>If you wish to view the St. James's Place email disclaimer, please use the 
>link below
>
>http://www.sjp.co.uk/portal/internet/SJPemaildisclaimer

Reply via email to