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: fix formatting bug caused by gui mode. http://wiki.apache.org/solr/FunctionQuery?action=diff&rev1=40&rev2=41 -------------------------------------------------- == literal == <!> [[Solr1.5]] String literals. Warning: not all functions can work with string literals. - Signature: literal(value), "value", 'value' + . Signature: literal(value), "value", 'value' - - Example: 'foo', literal("this is a literal") + . Example: 'foo', literal("this is a literal") == fieldvalue == 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.
