Click or drag to resize

IAssetContentSearchProviderSearch(String, Int32, Int32, Int32, Boolean, String, String, Boolean, Boolean, String, Boolean) Method


Searches for text content in the specified asset.

Namespace: Ingeniux.CMS.Assets.Search
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
IEnumerable<IAssetContentSearchResultItem> Search(
	string searchText,
	out int totalCount,
	int startIndex = 0,
	int pageSize = 10,
	bool checkedInContentOnly = true,
	string schema = "",
	string locale = "",
	bool includeRemoved = true,
	bool showFrags = false,
	string sortField = null,
	bool sortDescending = false
)

Parameters

searchText  String
The search text.
totalCount  Int32
Output of total result items count
startIndex  Int32  (Optional)
Starting index of the result set, default 0
pageSize  Int32  (Optional)
Page size of the result set, default 10
checkedInContentOnly  Boolean  (Optional)
Include return search result from checked in content
schema  String  (Optional)

[Missing <param name="schema"/> documentation for "M:Ingeniux.CMS.Assets.Search.IAssetContentSearchProvider.Search(System.String,System.Int32@,System.Int32,System.Int32,System.Boolean,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Boolean)"]

locale  String  (Optional)

[Missing <param name="locale"/> documentation for "M:Ingeniux.CMS.Assets.Search.IAssetContentSearchProvider.Search(System.String,System.Int32@,System.Int32,System.Int32,System.Boolean,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Boolean)"]

includeRemoved  Boolean  (Optional)

[Missing <param name="includeRemoved"/> documentation for "M:Ingeniux.CMS.Assets.Search.IAssetContentSearchProvider.Search(System.String,System.Int32@,System.Int32,System.Int32,System.Boolean,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Boolean)"]

showFrags  Boolean  (Optional)

[Missing <param name="showFrags"/> documentation for "M:Ingeniux.CMS.Assets.Search.IAssetContentSearchProvider.Search(System.String,System.Int32@,System.Int32,System.Int32,System.Boolean,System.String,System.String,System.Boolean,System.Boolean,System.String,System.Boolean)"]

sortField  String  (Optional)
The field to sort on, if not or empty, sort descending by sort
sortDescending  Boolean  (Optional)
Whether to sort descending

Return Value

IEnumerableIAssetContentSearchResultItem
The search result items in the specified range
See Also