#%env/templates/metas.template%# #%env/templates/header.template%# #%env/templates/submenuRanking.template%#

Solr Ranking Configuration

These are ranking attributes for Solr. This ranking applies for internal and remote (P2P or shard) Solr access.

Select a profile:
Boost Function A Boost Function can combine numeric values from the result document to produce a number which is multiplied with the score value from the query result. To see all available fields, see the YaCy Solr Schema and look for numeric values (these are names with suffix '_i'). To find out which kind of operations are possible, see the Solr Function Query documentation. Example: to order by date, use "recip(ms(NOW,last_modified),3.16e-11,1,1)", to order by crawldepth, use "div(100,add(crawldepth_i,1))".

#(boosthint)#::You can boost with vocabularies, use the occurrence counters #[vocabulariesvoccount]# and #[vocabulariesvoclogcount]#.#(/boosthint)#
Boost Query The Boost Query is attached to every query. Use this to statically boost specific content in the index. Example: "fuzzy_signature_unique_b:true^100000.0f" means that documents, identified as 'double' are ranked very bad and appended to the end of all results (because the unique are ranked high). To find appropriate fields for this query, see the YaCy Solr Schema and look for boolean values (with suffix '_b') or tags inside string fields (with suffix '_s' or '_sxt').

#(boosthint)#:: You can boost with vocabularies, use the field '#[vocabulariesfield]#' with values #[vocabulariesavailable]#. You can also boost on logarithmic occurrence counters of the fields #[vocabulariesvoclogcounts]#.
#{facets}# #{facet}# #{/facet}#
#[facetname]# #
#[key]# #[count]#
   #{/facets}# #(/boosthint)#
Filter Query The Filter Query is attached to every query. Use this to statically add a selection criteria to reduce the set of results. Example: "http_unique_b:true AND www_unique_b:true" will filter out all results where urls appear also with/without http(s) and/or with/without 'www.' prefix. To find appropriate fields for this query, see the YaCy Solr Schema. Warning: bad expressions here will cause that you don't have any search result!
Solr Boosts This is the set of searchable fields (see YaCy Solr Schema). Entries without a boost value are not searched. Boost values make hits inside the corresponding field more important.
#{boosts}#
#(notinindexwarning)#::field not in local index (boost has no effect)#(/notinindexwarning)# #[comment]#
#{/boosts}#
#%env/templates/footer.template%#