The Analyze API supports composing transient analyzers from built-in components, allowing configuration for components that have options, to be specified using object notation:
GET _analyze
{
"tokenizer" : "standard",
"char_filter": [{ "type": "mapping", "mappings": ["F# => FSharp"] }],
"filter": ["lowercase", { "type": "stop", "stopwords": ["_english_", "the"] }],
"text" : ["F# is THE SUPERIOR language :)"]
}
NEST currently supports only sending string arrays for char_filter, filter, analyzer and tokenizer. This should be changed to also support analysis components with options.