|
Code Details Engine_Library Database Engine_Database Perform_Metadata_Search_Paged Method Perform_Metadata_Search_Paged (Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Boolean, String, Int64, Int64, Int32, Int32, Int32, Boolean, List(Int16), Boolean, Custom_Tracer)
Engine_Database.Perform_Metadata_Search_Paged Method (Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Int32, String, Int32, Boolean, String, Int64, Int64, Int32, Int32, Int32, Boolean, List(Int16), Boolean, Custom_Tracer)
Perform a metadata search against items in the database and return 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(
int Link1,
string Term1,
int Field1,
int Link2,
string Term2,
int Field2,
int Link3,
string Term3,
int Field3,
int Link4,
string Term4,
int Field4,
int Link5,
string Term5,
int Field5,
int Link6,
string Term6,
int Field6,
int Link7,
string Term7,
int Field7,
int Link8,
string Term8,
int Field8,
int Link9,
string Term9,
int Field9,
int Link10,
string Term10,
int Field10,
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- Link1
- Type: System..::..Int32
Link for the first term, can only be used to NOT the first term ( 2=NOT )
- Term1
- Type: System..::..String
First search term for this metadata search
- Field1
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link2
- Type: System..::..Int32
Link between the first and second terms ( 0=AND, 1=OR, 2=AND NOT )
- Term2
- Type: System..::..String
Second search term for this metadata search
- Field2
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link3
- Type: System..::..Int32
Link between the second and third search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term3
- Type: System..::..String
Third search term for this metadata search
- Field3
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link4
- Type: System..::..Int32
Link between the third and fourth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term4
- Type: System..::..String
Fourth search term for this metadata search
- Field4
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link5
- Type: System..::..Int32
Link between the fourth and fifth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term5
- Type: System..::..String
Fifth search term for this metadata search
- Field5
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link6
- Type: System..::..Int32
Link between the fifth and sixth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term6
- Type: System..::..String
Sixth search term for this metadata search
- Field6
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link7
- Type: System..::..Int32
Link between the sixth and seventh search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term7
- Type: System..::..String
Seventh search term for this metadata search
- Field7
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link8
- Type: System..::..Int32
Link between the seventh and eighth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term8
- Type: System..::..String
Eighth search term for this metadata search
- Field8
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- Link9
- Type: System..::..Int32
Link between the eighth and ninth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term9
- Type: System..::..String
Ninth search term for this metadata search
- Field9
- Type: System..::..Int32
FIeld number to search for (or -1 to search all fields)
- Link10
- Type: System..::..Int32
Link between the ninth and tenth search terms ( 0=AND, 1=OR, 2=AND NOT )
- Term10
- Type: System..::..String
Tenth search term for this metadata search
- Field10
- Type: System..::..Int32
Field number to search for (or -1 to search all fields)
- 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
- 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 )
|