lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: copyField with functionquery as source
Date Thu, 01 Nov 2007 01:00:32 GMT

: 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.


View raw message