SearchFields Class |
Namespace: CMS.Search
public class SearchFields : ISearchFields
The SearchFields type exposes the following members.
Name | Description | |
---|---|---|
SearchFields |
Empty constructor
| |
SearchFields(Boolean) |
Constructor
|
Name | Description | |
---|---|---|
Items |
Search fields
| |
StoreValues |
Indicates if field values will be retrieved and stored in collection.
|
Name | Description | |
---|---|---|
Add |
Adds a new field to the collection. If the field already exists, it is updated (merged with existing one).
When adding a content field and its value multiple times, the value is appended to the existing content field.
| |
AddInternal |
Adds new field to collection. When field already exists, it will be updated (merged with existing one).
When adding content field with it's value multiple times, the value is appended to existing content.
| |
Get |
Returns requested field. Null when field doesn't exist.
| |
InsertNewField |
Inserts new search field into collection
| |
PrepareContentValue |
Prepares value to add to content field.
| |
UpdateExistingField |
Updates existing search field in collection
|
Name | Description | |
---|---|---|
AddContentField |
Appends search field value into designated content field if IsContentField(ISearchIndexInfo, SearchSettingsInfo) is true.
(Defined by SearchFieldsExtensions.) | |
AddIndexField |
Inserts index field into search fields collection if IsIndexField(ISearchIndexInfo, SearchSettingsInfo) is true.
(Defined by SearchFieldsExtensions.) | |
AddSystemFields |
Adds system search fields to searchFields.
(Defined by SearchFieldsExtensions.) | |
AddToContentField |
Appends data to CONTENT field.
Field is created if it's not already present.
(Defined by SearchFieldsExtensions.) | |
EnsureContentField |
Ensures CONTENT field in collection.
Field is created if it's not already present.
(Defined by SearchFieldsExtensions.) |