Hi,
like I just wrote in my reply to the similar suggestion form Jack.
I'm not looking for a way to preprocess my data.
My question is, why do i need two redundant fields to sort a multivalued
field ('date_max' and 'date_min' for 'date')
For me it's just a waste of space, poisoning the fieldcache.
There is also an other class of problems, where a filterfunction like
'mapMultipleToOne' may helpful. In the thread 'theory of sets' (this
list) I described a hack with the function strdist, an own class and the
mapping of a multiple values as a cvs list in a single value field.
Uwe
Am 07.01.2013 14:54, schrieb Alexandre Rafalovitch:
If the Multiple-to-one mapping would be stable (e.g. independent of a
query), why not implement it as a custom update.chain processor with a copy
to a separate field? There is already a couple of implementations
under FieldValueMutatingUpdateProcessor (first, last, max, min).
Regards,
Alex.