SearchParameters Class |
Namespace: CMS.Search
public class SearchParameters
The SearchParameters type exposes the following members.
Name | Description | |
---|---|---|
SearchParameters |
Name | Description | |
---|---|---|
AttachmentOrderBy |
Order by for attachments search
| |
AttachmentWhere |
Where condition for attachments search
| |
BlockFieldOnlySearch |
If true, performs the search only when the content part of the search expression is present.
| |
CheckPermissions |
Indicates whether check permissions
| |
ClassNames |
Class names separated by semicolon.
| |
CombineWithDefaultCulture |
Whether combine with default culture
| |
CurrentCulture |
Current culture
| |
DefaultCulture |
Default culture
| |
DisplayResults |
Number of results which should be displayed
| |
MaxScore |
Returns the maximum score value encountered within the search hits (among the NumberOfResults results).
| |
NumberOfProcessedResults |
Number of processed results due to performance optimization
| |
NumberOfResults |
Number of results for the search query.
| |
Path |
Path
| |
SearchAllCultures |
Returns true, if the search parameters search for all cultures
| |
SearchFor |
Search query
| |
SearchInAttachments |
Indicates whether search in attachments
| |
SearchIndexes |
List of search index names to search in, separated by semicolon
| |
SearchSort |
Search sort expression
| |
StartingPosition |
Starting position in search results (paging)
| |
User |
User info
|
Name | Description | |
---|---|---|
PrepareForPages(String, IEnumerableString, Int32, Int32, IUserInfo, Boolean) | Creates a new instance of the SearchParameters class for a page search for given searchText across indexes specified in searchIndexNames. The user parameter limits search result when performing permission checks in result filtering. Retrieves the result for the first page for invalid page numbers. | |
PrepareForPages(String, IEnumerableString, Int32, Int32, IUserInfo, String, Boolean) | Creates a new instance of the SearchParameters class for a page search for given searchText across indexes specified in searchIndexNames. The user parameter limits search result when performing permission checks in result filtering. Retrieves the result for the first page for invalid page numbers. |