On Thu, Dec 10, 2009 at 1:44 PM, Grant Ingersoll <gsing...@apache.org> wrote: [...] > Maybe, there are tradeoffs though. > > Let's get concrete and look at the VectorDistanceFunction (dist()). It can > currently take in an even number of ValueSource instances
Geo will be the dominant use of points by far... so we shouldn't compromise much on the usability for geo when trying to generalize to n-dimentional points. > My inclination is to fudge on this and do something in ValueSourceParser for > each of the functions that can deal w/ poly fields Right. The higher level client (HTTP) interface is of primary importance. > Of course, this requires documentation, etc. for others to be able to do the > same for their custom Functions The ability of others to do it is nice, but is a separate feature (depending on how it's implemented it may not be public). -Yonik http://www.lucidimaginatin.com