I would like to remove a payload attribute from a token before it is
indexed. PayloadAttribute lets you set the payload to null.
AttributeSource (parent of all Tokens) does not have a 'remove
Attribute' method. You cannot capture the current attribute set with
'getState()' and then monkey with it (at least Eclipse does not show
me its methods).

If I set the payload to null, when the Token is saved in the index,
will a null payload be saved? Or does the payload get quietly dropped?

-- 
Lance Norskog
[email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to