Click or drag to resize
SearchFieldInit Method
Initializes object values.

Namespace: CMS.Search
Assembly: CMS.Search (in CMS.Search.dll) Version: 8.2.23
Syntax
C#
public void Init(
	string fieldName,
	bool searchable,
	bool tokenizable,
	Object value = null,
	Nullable<SearchAnalyzerTypeEnum> analyzer = null
)

Parameters

fieldName
Type: SystemString
Field name
searchable
Type: SystemBoolean
Indicates if the search is enabled for this field
tokenizable
Type: SystemBoolean
Indicates if field will be tokenized (processed by the analyzer)
value (Optional)
Type: SystemObject
Field value
analyzer (Optional)
Type: SystemNullableSearchAnalyzerTypeEnum
Explicit analyzer to process search field's value

Implements

ISearchFieldInit(String, Boolean, Boolean, Object, NullableSearchAnalyzerTypeEnum)
See Also