Skip to content

StemExclusionList on LanguageAnalyzer does not work #1478

@monsieur-d

Description

@monsieur-d

When using the LanguageAnalyzer class for registering an Analyzer and using it's property StemExclusionList, this list isn't recognized by elastic search because there is a space in the generated Json which doesn't belong there:

    [JsonProperty("stem_exclusion ")]
    public IEnumerable<string> StemExclusionList { get; set; }

This is the relevant snippet from the elastic search source. You can see it on the property parameter after "stem_exclusion".
I hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions