you can look at the detailed score calculation to see the ranking of results 
using debug.explain.structured=true in query

Sent from my iPhone

> On Jan 14, 2022, at 7:20 AM, Fabian Smagghe <[email protected]> wrote:
> 
> Dear  all,
> In solr, I want to show the last modified documents first. I use exemples in 
> Solr guide 
> (https://solr.apache.org/guide/8_1/the-dismax-query-parser.html#bf-boost-functions-parameter)
>  and in the result I don't have the last modified documents first...
> what is the problem? can you help me?
> 
> Thanks!
> Regards,
> Fabian Smagghe, Université de Liège(BE)
> 
> *Query**:*
> 
> /select?q=*:*&rows=50&bf=recip(rord(lastModified),1,1000,1000)
> .. or ...
> /select?q=*:*&rows=50&bq={!func}recip(rord(lastModified),1,1000,1000)
> 
> 
> *SOLR managed-schema:*
> 
> |<field name="lastModified" type="pdate" indexed="true" stored="true" 
> default="NOW" multiValued="false"/> ||<fieldType name="pdate" 
> class="solr.DatePointField" docValues="true"/>|
> ||
> 

Reply via email to