C# Class ElasticLinq.Request.Criteria.PrefixCriteria

Criteria that specifies a specific field needs to start with a specific prefix.
This will only work on fields within Elasticsearch that are not analyzed as otherwise the keyword tokenizer will have removed any concept of a prefix.
Inheritance: ElasticLinq.Request.Criteria.SingleFieldCriteria
Mostra file Open project: CenturyLinkCloud/ElasticLINQ Class Usage Examples

Public Methods

Method Description
PrefixCriteria ( string field, string prefix )

Initializes a new instance of the PrefixCriteria class.

ToString ( ) : string

Method Details

PrefixCriteria() public method

Initializes a new instance of the PrefixCriteria class.
public PrefixCriteria ( string field, string prefix )
field string Field to check the prefix of.
prefix string Prefix to check within this field.

ToString() public method

public ToString ( ) : string
return string