Class FieldString
The field used to store a string value
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Syntax
public class FieldString : FieldBase
Properties
Boost
Value to prioritize search results. Set to 1 by default. Ignored if SimpleSearch not set to true.
Declaration
public double Boost { get; set; }
Property Value
System.Double
|
GrantedValues
If values are stored in this list, field values are limited to these ones.
Declaration
public ICollection<string> GrantedValues { get; set; }
Property Value
System.Collections.Generic.ICollection<System.String>
|
IndexAnalyzers
Defines how the value must be analyzed for filtering by ElasticSearch. A string field can have multiple analyzers, but only one per analyzer type.
The analyzers are applied only if the Index property is set to true.
Declaration
public ICollection<AnalyzerBase> IndexAnalyzers { get; set; }
Property Value
System.Collections.Generic.ICollection<AnalyzerBase>
|
MaximumLength
The maximum string's length.
Declaration
public int? MaximumLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
MinimumLength
The minimum string's length.
Declaration
public int? MinimumLength { get; set; }
Property Value
System.Nullable<System.Int32>
|
MultiLine
Defines that the field value must be displayed in a multiline component.
Declaration
public bool MultiLine { get; set; }
Property Value
System.Boolean
|
Pattern
Contains a regex validation pattern.
Declaration
public string Pattern { get; set; }
Property Value
System.String
|
RenderingType
Stores information on how values of this field should be rendered
Declaration
public StringRenderingType RenderingType { get; set; }
Property Value
StringRenderingType
|
SimpleSearchAnalyzers
Defines how the value must be analyzed for searches by ElasticSearch. A string field can have multiple analyzers, but only one per analyzer type.
The analyzers are applied only if the SimpleSearch property is set to true.
Declaration
public ICollection<AnalyzerBase> SimpleSearchAnalyzers { get; set; }
Property Value
System.Collections.Generic.ICollection<AnalyzerBase>
|
Template
A DotLiquid template. If set, it transforms the field in a calculated field, so that its value is calculated based on this template.
Declaration
public string Template { get; set; }
Property Value
System.String
|
Methods
FromJson(String)
Declaration
public static FieldString FromJson(string data)
Parameters
System.String
data
|
Returns
FieldString
|
ToJson()
Declaration
public string ToJson()
Returns
System.String
|