Mapping an index with ruby for partial search

I'm working on an existing code written in ruby (i guess it uses some elasticsearch gem). the elasticsearch version is 5.5.

I'm trying to understand what is going on in a specific part of the code.
can someone please help me understand?

mapping dynamic: false do
  indexes :title, type: 'text', analyzer: "name" do
    indexes :partial, type: 'text', analyzer: "autocomplete",
    search_analyzer: "autocomplete_search"

does this mean title property has a child field called "partial"?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.