: is it possible to have a CopyField with a functionquery as it's source? : for instance : : : <copyField source="_val_:'scale(someUnnormalizedScore)'" : dest="cachedFunction1"/> : : If not, I think this would make a nice addition.
FunctionQueries are inherently serach related ... shoehorning them to be used at index time in a copyField would be very hard. There has been some work on "UpdateProcessors" which give you the ability to "do stuff" to an update command before it is handed off to the underlying lucene library ... having an UpdateProcessor that supported math operations defined by some grammer in the config would seem feasible. -Hoss