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] Update of "FunctionQuery" by YonikSeeley
Date Tue, 05 Jul 2011 17:26:09 GMT
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:
http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=77&rev2=78

Comment:
add ttf,sttf

  
   . Example Syntax: '''termfreq''''''(text,'memory')'''
  
+ === totaltermfreq ===
+ '''totaltermfreq(field,term)''' returns the number of times the term appears in the field
in the entire index.  '''ttf''' is an alias of '''totaltermfreq'''.
+ 
+  . Example Syntax: '''ttf''''''(text,'memory')'''
+ 
+ === sumtotaltermfreq ===
+ '''sumtotaltermfreq(field)''' returns the sum of totaltermfreq values for all terms in the
field in the entire index (i.e. the number of indexed tokens for that field).  '''sttf'''
is an alias of '''sumtotaltermfreq'''.
+ 
+  . Example Syntax: '''sttf''''''(text)'''
+ 
  === idf ===
- '''idf(field,term)''' returns the inverse document frequency for the given term, using the
[[http://lucene.apache.org/java/3_0_0/api/core/org/apache/lucene/search/Similarity.html|Similarity]
for the field.
+ '''idf(field,term)''' returns the inverse document frequency for the given term, using the
[[http://lucene.apache.org/java/3_0_0/api/core/org/apache/lucene/search/Similarity.html|Similarity]]
for the field.
  
   . Example Syntax: '''idf(text,'solr')'''
  
  === tf ===
- '''tf(field,term)''' returns the term frequency factor for the given term, using the [[http://lucene.apache.org/java/3_0_0/api/core/org/apache/lucene/search/Similarity.html|Similarity]
for the field.
+ '''tf(field,term)''' returns the term frequency factor for the given term, using the [[http://lucene.apache.org/java/3_0_0/api/core/org/apache/lucene/search/Similarity.html|Similarity]]
for the field.
  
   . Example Syntax: '''tf(text,'solr')'''
  

Mime
View raw message