lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "FunctionQuery" by DavidSmiley
Date Fri, 27 Jan 2012 07:36:01 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 DavidSmiley:

fieldvalue() doesn't exist, field() does.  (checked against trunk)

   . Signature:  literal(value), "value", 'value'
   . Example:  'foo', literal("this is a literal")
- == fieldvalue ==
+ == field ==
  This function returns the numeric field value of an indexed field with a maximum of one
value per document (not multiValued).  The syntax is simply the field name by itself.  0 is
returned for documents without a value in the field.
-  . Example Syntax: '''myFloatField'''
+  . Example Syntax: '''myFloatField''' or '''field(myFloatField)'''
   . SolrQuerySyntax Example: '''_val_:myFloatField'''
  For non-numeric fields, fields are still evaluated to a numeric value. How this works depends
on the field type:

View raw message