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 GrantIngersoll
Date Sat, 12 Dec 2009 22:17:25 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 GrantIngersoll.


+ = Single Valued vs. Multi Valued Functions =
+ <!> WARNING: Expert <!>
+ Until [[Solr1.5]], all functions were single valued.  Since [[Solr1.5]], it is now possible
to write multivalued functions by overriding the appropriate !DocValues methods (the ones
that take in an array of the appropriate type, i.e. doubleVal(int doc, double[] vals).  This
is often useful when working with [[|Poly
Fields]].  Note, however, that these multivalued functions must be aggregated up into a single
value function, as the !FunctionQuery itself does not support them.
+ See

View raw message