On Wed, Sep 7, 2011 at 5:42 PM, Chris Hostetter
<[email protected]> wrote:
>
> : In trunk, you can return a function value -- but i'm not sure what the
> : syntax for the 'fieldvalue' function would be.  To use other
> : functions, you just put it in the list:
> :  &fl=name,id,ord(id)
>
>
> it's field("name_of_field_as_quoted_string")
>
> ...but i'm not sure how the DocTransformer code deals with type info, so
> i'm not sure if it works they way you'd want/expect for non numeric
> fields.
>

Looks like it works good -- I just tried with an indexed, not stored
long field and it spit back: <long name="field("bytes")">89988</long>

DocTransformer uses the value ValueSource.objectVal() -- so it will
respect whatever type is used within the function.

so i guess we already support this!

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

Reply via email to