How about this:

<field name="abc" type="custom">
    <property name="xyz">value</property>
</field>

It generally would be better to keep the attribute space clean and
make it very clear you are doing something unique to this field.

On Fri, Sep 10, 2010 at 9:16 AM, Renaud Delbru <renaud.del...@deri.org> wrote:
>  Hi Charlie,
>
> On 10/09/10 16:11, Charlie Jackson wrote:
>>
>> Have you already explored the idea of using a custom analyzer for your
>> field? Depending on your use case, that might work for you.
>
> Yes, I have thought of that, or even extending field type. But this does not
> work for my use case, since I can have multiple fields of a same type
> (therefore with the same field type, and same analyzer), but each one of
> them needs specific information. Therefore, I think the only "nice" way to
> achieve this is to have the possibility to add attributes to any field
> definition.
>
> cheers
> --
> Renaud Delbru
>



-- 
Lance Norskog
goks...@gmail.com

Reply via email to