Implement stemmer on search-as-you-type field

Is it possible to easily add an additional sub-field under search-as-you-type (SAYT) to use a stemmer analyzer? Ideally, I want to keep the normal SAYT without a stemmer analyzer, and then have a single stemmed field that is brought into the multi query.

I tried to do something like this:

content: %{
          type: "search_as_you_type",
          fields: %{
            _stem: %{
              type: "text",
              analyzer: "standard_stemmer"
            }
          }
        },

ES took the mapping creation just fine, but the field isn't present when I try to analyze it:

vs

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