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 2007/05/23 19:48:48 UTC

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

Dear Wiki user,

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

The following page has been changed by SeanTimm:
http://wiki.apache.org/solr/FunctionQuery

The comment on the change is:
typo fix

------------------------------------------------------------------------------
  
    * '''ord(myfield)'''  - OrdFieldSource. Obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex(). The native lucene index order is used to assign an ordinal value for each field value. Field values (terms) are lexicographically ordered by unicode value, and numbered starting at 1. [[BR]]Example: If there were only three field values: "apple","banana","pear" then ord("apple")=1, ord("banana")=2, ord("pear")=3 WARNING: ord() depends on the position in an index and can thus change when other documents are inserted or deleted, or if a MultiSearcher is used. 
  
-   * '''rord(myfield)''' - ReverseOrdFieldSource, The reverse ordering of whar ord provides - javadoc - http://lucene.apache.org/solr/api/org/apache/solr/search/function/ReverseOrdFieldSource.html 
+   * '''rord(myfield)''' - ReverseOrdFieldSource, The reverse ordering of what ord provides - javadoc - http://lucene.apache.org/solr/api/org/apache/solr/search/function/ReverseOrdFieldSource.html 
  
    * '''linear(myfield,1,2)''' -  LinearFloatFunction on numeric field value. [[BR]]
     I THINK ( this is not from documentation, please correct this)  that this function implements the value - [[BR]]