If you want the main query to be sorted by date then the top N docs
reranked by a query, that should work. Try something like this:

q=foo&sort=date+desc&rq={!rerank reRandDocs=1000
reRankQuery=$myquery}&myquery=blah


Joel Bernstein
Search Engineer at Heliosearch


On Thu, Sep 4, 2014 at 4:25 PM, Ravi Solr <ravis...@gmail.com> wrote:

> Can the ReRanking API be used to sort within docs retrieved by a date field
> ? Can somebody help me understand how to write such a query ?
>
> Thanks
>
> Ravi Kiran Bhaskar
>

Reply via email to