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 2011/04/21 14:45:25 UTC

[Solr Wiki] Trivial Update of "FunctionQuery" by YonikSeeley

Dear Wiki user,

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

The "FunctionQuery" page has been changed by YonikSeeley.
The comment on this change is: typo.
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=76&rev2=77

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

  
  And can even do parameter substitution for the term value
  
-  . Example Partial Request: '''&defType=func&q=docfreq(text,$myterm)&term=solr'''
+  . Example Partial Request: '''&defType=func&q=docfreq(text,$myterm)&myterm=solr'''
  
  === docfreq ===
  '''docfreq(field,term)''' returns the number of documents that contain the term in the field.  This is a constant (the same value for all documents in the index).