This seems like a simple query-time boost, although I may not be
understanding
your problem well. That is, q=source(bbc OR "associated press")^10

As for boosting more recent documents, see:
http://wiki.apache.org/solr/SolrRelevancyFAQ#How_can_I_boost_the_score_of_newer_documents

HTH
Erick


On Wed, Sep 15, 2010 at 12:44 PM, Ravi Kiran <ravi.bhas...@gmail.com> wrote:

> Hello,
>        I am currently querying solr for a "*primarysection*" which will
> return documents like - *q=primarysection:(Politics* OR
> Nation*)&fq=contenttype:("Blog" OR "Photo Gallery) pubdatetime:[NOW-3MONTHS
> TO NOW]"*. Each document has several fields of which I am most interested
> in
> single valued field called "*source*" ...I want to boost documents which
> contain "*source*" value say "Associated Press" OR "BBC" and also by newer
> documents. The returned documents may have several other source values
> other
> than "BBC" or "Associated Press". since I specifically don't query on these
> source values I am not sure how I can boost them, Iam using *
> StandardRequestHandler*
>

Reply via email to