Documentation/Pointers to creating my own types in ES

Hello,

I want to create my own type for an image field , and I was wondering if there is any documentation or pointers that outline the steps to creating my own type.

Thanks!

Ultimately, all data is stored in Lucene fields, so you are constricted to
whatever it supports. Since you are dealing with binary data, perhaps look
at the mapper attachment plugin for details.