SearchHelper Methods |
The SearchHelper type exposes the following members.
Name | Description | |
---|---|---|
AddGeneralField |
Adds a general field do the search document.
| |
AddObjectDataToDocument |
Adds object data to iDocument, data for content field prepares and returns.
| |
CreateDefaultSearchSettings |
Creates the default search settings for given column name and its data type.
| |
CreateDocument |
Creates search document based on given parameters
| |
CreateRebuildTask |
Creates rebuild task if search settings are not empty, for user index is task created always.
| |
CreateSearchSettings(String, IDictionaryString, Boolean, String) |
Creates new SearchSettingsInfo for a field from given parameters.
| |
CreateSearchSettings(String, IDictionaryString, Boolean, String, SearchSettingsInfo, Boolean) |
Creates new SearchSettingsInfo for a field from given parameters. The out parameter fieldChanged indicates, whether the field's definition has changed
when compared to ssiOld.
| |
Delete(String, ICollection, SearchIndexInfo) |
Remove document(s) with dependence on field name and field value collection for specified index.
| |
Delete(String, String, SearchIndexInfo) |
Remove document(s) with dependence on field name and field value for specified index.
| |
FilterResults |
Filters the search results, returns number of resulting items
| |
FinishRebuild |
Finishes the rebuild of the given index by marking it as updated
| |
GetBinaryDataSearchContent |
Extracts content from binary data of the given info.
| |
GetCustomSearchIndex |
Returns ICusromSearchIndex for specified index info.
| |
GetDefaultSearchSettings(String) |
Returns the default search settings of the class.
| |
GetDefaultSearchSettings(DataClassInfo) |
Returns the default search settings of the class.
| |
GetResultsToProcess |
Processes the results from the given range matching the required type
| |
GetResultTypes |
Gets the list of all types present in the given results
| |
GetSearchFieldDefaultValue |
Gets flag value which should be preselected for a column based on its data type. Handles local index flags only.
| |
GetStopWordsFileInfo |
Returns FileInfo object of stop words file for the given path
| |
Highlight |
Highlight input text with dependence on current search key words.
| |
InvalidateSearcher |
Invalidates searcher for the given index.
| |
IsClassSearchEnabled |
Returns true if given class allows search.
| |
IsSearchAllowedExtension |
Check if file extension is allowed for indexing such attachment in search index.
| |
IsSearchTaskCreationAllowed |
Returns true if the search task for given node should be created.
Returns true if
- search is allowed on general level AND
- search is allowed for class of the object
| |
LoadCustomAnalyzerTAnalyzerType |
Returns analyzer object for specified analyzer name.
| |
Optimize |
Optimize specified index.
| |
PartialRebuild |
Rebuild part of the index with dependence on type and values.
| |
PrepareContentValue |
Prepares value to add to content field.
| |
Rebuild |
Rebuild specified index.
| |
RebuildIndex(SearchIndexInfo, ActionSearchIndexInfo) |
Rebuilds search index with given rebuild action and sets correct status of the index based on the rebuild result.
| |
RebuildIndex(SearchIndexInfo, FuncSearchIndexInfo, IEnumerableSearchDocument) |
Rebuilds search index based on the provided search documents.
| |
RebuildSystemIndexes |
Rebuilds system indexes.
| |
Search |
Returns dataset with search results, if search is used for non-document index, path and class name values are ignored (can be null).
| |
SearchEnabledForClass |
Returns true if search is enabled for a given class. Returns false if class not found.
| |
SearchFieldChanged |
Returns true if any field included in the search changed (checks fields defined in Class Search Settings).
| |
SetDefaultClassSearchColumns |
Sets default class search columns.
| |
Update |
Insert or update document for specified index.
|