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 2010/11/17 15:29:01 UTC

[Solr Wiki] Trivial Update of "DisMaxQParserPlugin" by ErickErickson

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