lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Trivial Update of "DisMaxQParserPlugin" by ErickErickson
Date Wed, 17 Nov 2010 14:29:01 GMT
Dear Wiki user,

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

The "DisMaxQParserPlugin" page has been changed by ErickErickson.
The comment on this change is: Updated bf to show 1.4 best practice to avoid rord.
http://wiki.apache.org/solr/DisMaxQParserPlugin?action=diff&rev1=1&rev2=2

--------------------------------------------------

  
  For example, if you want to [[FunctionQuery|show more recent documents first]], use recip(rord(creationDate),1,1000,1000)
  
+ /!\ 1.4 best practice:  Solr 1.4 best practice is to avoid rord. For date boosting, use
recip(ms(NOW,mydatefield),3.16e-11,1,1) or similar. See [[FunctionQuery|show more recent documents
first]], specifically '''recip''', '''ms''' and '''Date Boosting''' sections.
+ 
  == Examples ==
  
  /!\ :TODO: /!\ cleanup and expand examples

Mime
View raw message