lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject SOLR-1131: Poly Fields and ValueSource
Date Thu, 10 Dec 2009 17:37:50 GMT
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.
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?

View raw message