Class SearchOptions
Defines the search query to make
Inheritance
System.Object
SearchOptions
Namespace: PnP.Core.Model.SharePoint
Assembly: PnP.Core.dll
Syntax
public class SearchOptions : object
Defines the search query to make
public class SearchOptions : object
Default constructor
public SearchOptions(string query)
System.String
query
Provide the query to issue |
Client type used for the search query (defaults to ContentSearchRegular)
public string ClientType { get; set; }
System.String
|
Search query to issue
public string Query { get; }
System.String
|
The set of refinement filters used when issuing a refinement query
public List<string> RefinementFilters { get; set; }
PnP.Core.Model.SharePoint.List<System.String>
|
Properties used to refine the search results
public List<string> RefineProperties { get; set; }
PnP.Core.Model.SharePoint.List<System.String>
|
Result source id to use for the search query
public string ResultSourceId { get; set; }
System.String
|
Max number of rows to return
public int? RowLimit { get; set; }
System.Nullable<System.Int32>
|
Rows to return per page. Defaults to 500
public int? RowsPerPage { get; set; }
System.Nullable<System.Int32>
|
Properties to select
public List<string> SelectProperties { get; set; }
PnP.Core.Model.SharePoint.List<System.String>
|
Properties to sort the query on
public List<SortOption> SortProperties { get; set; }
PnP.Core.Model.SharePoint.List<SortOption>
|
Start row of the search result set
public int? StartRow { get; set; }
System.Nullable<System.Int32>
|
Trim duplicate search results
public bool TrimDuplicates { get; set; }
System.Boolean
|