You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2012/12/13 19:04:56 UTC

[Solr Wiki] Update of "SolrRelevancyFAQ" by HossMan

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SolrRelevancyFAQ" page has been changed by HossMan:
http://wiki.apache.org/solr/SolrRelevancyFAQ?action=diff&rev1=26&rev2=27

  These functions can also operate on an [[http://lucene.apache.org/solr/api/org/apache/solr/schema/ExternalFileField.html|ExternalFileField]]
  
  == How are documents scored ==
- Basic scoring factors:
+ 
+ By default, a "TF-IDF" based Scoring Model is used.  The basic scoring factors:
  
   * tf stands for term frequency - the more times a search term appears in a document, the higher the score
   * idf stands for inverse document frequency - matches on rarer terms count more than matches on common terms
@@ -128, +129 @@

   * index-time boost - if a boost was specified for a document at index time, scores for searches that match that document will be boosted.
   * query clause boost - a user may explicitly boost the contribution of one part of a query over another.
  
- See the [[http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/scoring.html|Lucene scoring documentation]] for more info.
+ See the [[https://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/similarities/TFIDFSimilarity.html|Lucene scoring documentation]] for more info.
  
  == Why does id:archangel come before id:hawkgirl when querying for "wings" ==
  Add '''debugQuery=on''' to your request, and you will get (fairly dense) detailed scoring information for each document returned.