Search Results for

    Show / Hide Table of Contents

    Interface IConditionTokenFilter

    The conditional token filter takes a predicate script and a list of subfilters, and only applies the subfilters to the current token if it matches the predicate.

    Inherited Members
    ITokenFilter.Type
    ITokenFilter.Version
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public interface IConditionTokenFilter : ITokenFilter

    Properties

    | Edit this page View Source

    Filters

    a chain of token filters to apply to the current token if the predicate matches. These can be any token filters defined elsewhere in the index mappings.

    Declaration
    [DataMember(Name = "filter")]
    IEnumerable<string> Filters { get; set; }
    Property Value
    Type Description
    IEnumerable<string>
    | Edit this page View Source

    Script

    a predicate script that determines whether or not the filters will be applied to the current token. Note that only inline scripts are supported

    Declaration
    [DataMember(Name = "script")]
    IScript Script { get; set; }
    Property Value
    Type Description
    IScript

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Filters
      • Script
    • Extension Methods
    Back to top Generated by DocFX