User defined type question


(jwray) #1

Hi,

not sure if I'm just missing something obvious or what I'm trying to do
isn't supported.

I have two mapping types, protein and taxon, that have the usual number of
fields etc. and I store documents of both types in the search engine. The
issue is that the protein type has a field of type taxon and I was
wondering if there is a way of not repeating my taxon object mapping
definition in both the taxon.json file and the protein.json file. Or put it
another way, can the protein mapping use the taxon mapping from another
file?

thanks
Jonny


(system) #2