I guess most people store it as a simple string "key(separator)value". Is there something special that you want to do with the values that you need a custom field implementation?
On Mon, Jan 12, 2009 at 5:36 AM, Ian Holsman <li...@holsman.net> wrote: > hi. > I don't think this is a FAQ, but it's been bugging me for a while. > > I want to store key/value pairs in a single field. for example > <field name="tags" type="keyval" indexed="true" stored="true" > multiValued="true" /> > > where keyval would be a ID# and the value. > > I'm guessing it is as simple as creating my own field class, but I was > wondering if there were any gotchas. > and more importantly why I've never seen the question asked before. > > It would seem to me a common use case. > -- Regards, Shalin Shekhar Mangar.