|
Code Details Engine_Library Database Engine_Database Perform_Metadata_Search_Paged Method Perform_Metadata_Search_Paged (String, Boolean, String, Int64, Int64, Int32, Int32, Int32, Boolean, List(Int16), Boolean, Custom_Tracer)
Engine_Database.Perform_Metadata_Search_Paged Method (String, Boolean, String, Int64, Int64, Int32, Int32, Int32, Boolean, List(Int16), Boolean, Custom_Tracer)
Performs a basic metadata search over the entire citation, given a search condition, and returns one page of results Namespace: SobekCM.Engine_Library.DatabaseAssembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)
Syntax
C# |
---|
public static Multiple_Paged_Results_Args Perform_Metadata_Search_Paged(
string SearchCondition,
bool IncludePrivateItems,
string AggregationCode,
long DateRangeStart,
long DateRangeEnd,
int ResultsPerPage,
int ResultsPage,
int Sort,
bool IncludeFacets,
List<short> FacetTypes,
bool ReturnSearchStatistics,
Custom_Tracer Tracer
) |
Parameters- SearchCondition
- Type: System..::..String
Search condition string to be run against the databasse
- IncludePrivateItems
- Type: System..::..Boolean
Flag indicates whether to include private items in the result set
- AggregationCode
- Type: System..::..String
Code for the aggregation of interest ( or empty string to search all aggregationPermissions )
- DateRangeStart
- Type: System..::..Int64
If this search includes a date range search, start of the date range, or -1
- DateRangeEnd
- Type: System..::..Int64
If this search includes a date range search, end of the date range, or -1
- ResultsPerPage
- Type: System..::..Int32
Number of results to return per "page" of results
- ResultsPage
- Type: System..::..Int32
Which page of results to return ( one-based, so the first page is page number of one )
- Sort
- Type: System..::..Int32
Current sort to use ( 0 = default by search or browse, 1 = title, 10 = date asc, 11 = date desc )
- IncludeFacets
- Type: System..::..Boolean
Flag indicates whether to include facets in the result set
- FacetTypes
- Type: System.Collections.Generic..::..List<(Of <(<'Int16>)>)>
Primary key for the metadata types to include as facets (up to eight)
- ReturnSearchStatistics
- Type: System..::..Boolean
Flag indicates whether to create and return statistics about the overall search results, generally set to TRUE for the first page requested and subsequently set to FALSE
- Tracer
- Type: SobekCM.Tools..::..Custom_Tracer
Trace object keeps a list of each method executed and important milestones in rendering
Return ValueType: Multiple_Paged_Results_Args Small arguments object which contains the page of results and optionally statistics about results for the entire search, including complete counts and facet information
Remarks
See Also
Version 4.10.0 ( last generated Monday, March 7, 2016 )
|