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