Hi Jason,

You can use boost functions in the dismax handler to do this:

http://wiki.apache.org/solr/DisMaxQParserPlugin#bf_.28Boost_Functions.29

Mat

On Mon, Nov 29, 2010 at 11:28, Jason Brown <jason.br...@sjp.co.uk> wrote:
>
> 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