Custom metadata per index?


(Christian Aust) #1

Hi all,

I seem to remember that there was a way to add custom metadata to an index.
It's custom because it's not processed nor understood by elastic search nor
lucene, just stored in the cluster. Do I remember that correctly? Can
somebody please point me to some info on that topic?

Regards,

Christian


(maik) #2

Hi christian,

it's possible to save additional meta fields per mapping:
http://www.elasticsearch.org/guide/reference/mapping/meta.html

Additional metadata for an index is not possible as far as I know.
I had the same issue and helped me out by introducing a "Meta" type.
I use one "Meta" type document per Index to store index meta data only
relevant for the application.

Hope I could help

Greetings
maik

On Friday, June 1, 2012 9:54:32 AM UTC+2, Christian Aust wrote:

Hi all,

I seem to remember that there was a way to add custom metadata to an
index. It's custom because it's not processed nor understood by elastic
search nor lucene, just stored in the cluster. Do I remember that
correctly? Can somebody please point me to some info on that topic?

Regards,

Christian


(David Pilato) #3

What about creating a document type called meta (index : no, store : yes) and put your data here ?

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 1 juin 2012 à 09:54, Christian Aust christian.aust@software-consultant.net a écrit :

Hi all,

I seem to remember that there was a way to add custom metadata to an index. It's custom because it's not processed nor understood by elastic search nor lucene, just stored in the cluster. Do I remember that correctly? Can somebody please point me to some info on that topic?

Regards,

Christian


(system) #4