OK, next up: How to handle the need to create multiple ValueSource instances for a given poly field? FieldType.getValueSource() only returns a single instance.
I think there are a few options: 1. Change the signature above to return a list of ValueSources. This likely has back compat. issues. 2. Just change those functions that need to handle poly fields (the distance functions) to worry about them and realize that the other functions won't work with them 3. Punt and require the user to know the secret handshake that is the naming convention used. In some regard, this is no different than what any developer would experience now when using dynamic fields with function queries. 4. Others? -Grant