lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Lucene-java Wiki] Update of "LuceneFAQ" by HossMan
Date Tue, 23 Jun 2009 22:51:18 GMT
Dear Wiki user,

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

The following page has been changed by HossMan:
http://wiki.apache.org/lucene-java/LuceneFAQ

The comment on the change is:
elaborate on boosts

------------------------------------------------------------------------------
  
  o.a.l.xxxx is shorthand for org.apache.lucene.xxxx (ie: the java package namespace)
  
- ==== What is the difference between document and query boosting? ====
+ ==== What is the difference between field (or document) boosting and query boosting? ====
  
- Index time field boosts (doc.setBoost(boost)) are a way to express things like "this document's
+ Index time field boosts (field.setBoost(boost)) are a way to express things like "this document's
  title is worth twice as much as the title of most documents". Query time
  boosts (query.setBoost(boost)) are a way to express "I care about matches on this clause
of my query
  twice as much as I do about matches on other clauses of my query".
+ 
+ Index time field boosts are worthless if you set them on every document.
+ 
+ Index time document boosts (doc.setBoost(float)) are equivalent to setting a field boost
on ever field in that document.
  
  === Searching ===
  

Mime
View raw message