You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2007/11/01 02:00:32 UTC
Re: copyField with functionquery as source
: 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