Configuring multi_field fields


(Nick Hoffman) #1

Hey guys. I spent this afternoon learning the ins and outs of the
multi_field field type. In this mapping snippet:

https://gist.github.com/87259af48db94ff637f1

what effect do the "index_analyzer" and "search_analyzer" options have when
placed in the root of the field-document?

Thanks!
Nick


(Shay Banon) #2

They have no affect within a multi_field mapping, only on the root document
(in which case, it acts as the default index/search analyzer for text
fields that don't have explicit index/search analyzers set).

On Wed, Nov 16, 2011 at 12:47 AM, Nick Hoffman nick@deadorange.com wrote:

Hey guys. I spent this afternoon learning the ins and outs of the
multi_field field type. In this mapping snippet:

https://gist.github.com/87259af48db94ff637f1

what effect do the "index_analyzer" and "search_analyzer" options have
when placed in the root of the field-document?

Thanks!
Nick


(Nick Hoffman) #3

Thanks, Shay!


(system) #4