mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='http://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='http://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='http://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='http://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='http://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
Expand <a href='http://sobekrepository.org/codehelp/engineagnosticlayerdbaccess' title='EngineAgnosticLayerDbAccess'>EngineAgnosticLayerDbAccess Namespace</a>EngineAgnosticLayerDbAccess Namespace
Expand <a href='http://sobekrepository.org/codehelp/builder_library' title='SobekCM.Builder_Library'>Builder_Library Namespace</a>Builder_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/core' title='SobekCM.Core'>Core Namespace</a>Core Namespace
Collapse <a href='http://sobekrepository.org/codehelp/engine_library' title='SobekCM.Engine_Library'>Engine_Library Namespace</a>Engine_Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/aggregations' title='SobekCM.Engine_Library.Aggregations'>Aggregations Sub-Namespace</a>Aggregations Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/applicationstate' title='SobekCM.Engine_Library.ApplicationState'>ApplicationState Sub-Namespace</a>ApplicationState Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/configuration' title='SobekCM.Engine_Library.Configuration'>Configuration Sub-Namespace</a>Configuration Sub-Namespace
Collapse <a href='http://sobekrepository.org/codehelp/engine_library/database' title='SobekCM.Engine_Library.Database'>Database Sub-Namespace</a>Database Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/database_item_result' title='Database_Item_Result Class'>Database_Item_Result</a>Database_Item_Result
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/database_title_result' title='Database_Title_Result Class'>Database_Title_Result</a>Database_Title_Result
Collapse <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database' title='Engine_Database Class'>Engine_Database</a>Engine_Database
Collapse <span Title='Engine_Database Methods' class='SobekSiteMapNoLink' >Methods</span>Methods
Aggregate_Statistics
Builder_Delete_Incoming_Folder
Builder_Edit_Incoming_Folder
Builder_Get_Folder_Module_Sets
Builder_Get_Incoming_Folder
Builder_Get_Recent_Updates
Builder_Log_Search
Delete_Thematic_Heading
Edit_Thematic_Heading
Get_Aggregation_Hierarchies
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_all_browse_paged' title='Get_All_Browse_Paged Method'>Get_All_Browse_Paged Method</a>Get_All_Browse_Paged Method
Get_All_Coordinate_Points_By_Aggregation
Get_All_Template_DefaultMetadatas
Get_All_User_Groups
Get_All_Web_Skins
Get_Builder_Settings
Get_IP_Restriction_Ranges
Get_Item_Aggregation
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_aggregation_browse_paged' title='Get_Item_Aggregation_Browse_Paged Method'>Get_Item_Aggregation_Browse_Paged Method</a>Get_Item_Aggregation_Browse_Paged Method
Get_Item_Aggregation_Counts
Get_Item_Aggregation_Metadata_Browse
Get_Item_Details
Get_Item_Group_Details
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_item_information' title='Get_Item_Information Method'>Get_Item_Information Method</a>Get_Item_Information Method
Get_Items_By_Coordinates
Get_Main_Aggregation
Get_Public_Folder_Browse
Get_Random_Item
Get_Settings_Complete
Get_Statistics_Lookup_Tables
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/get_user' title='Get_User Method'>Get_User Method</a>Get_User Method
Get_User_Folder_Browse
Get_User_Linked_Items_Stats
Get_Users_Linked_To_Items
Get_Viewer_Priority
Items_By_ALEPH_Number
Items_By_OCLC_Number
Log_Sent_Email
Perform_Metadata_Exact_Search_Paged
Collapse <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/perform_metadata_search_paged' title='Perform_Metadata_Search_Paged Method'>Perform_Metadata_Search_Paged Method</a>Perform_Metadata_Search_Paged Method
Perform_Metadata_Search_Paged (String, Boolean, String, Int64, Int64, Int32, Int32, Int32, Boolean, List(Int16), Boolean, Custom_Tracer)
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)
Populate_Aggregation_Aliases
Populate_Code_Manager
Populate_Icon_List
Populate_Item_Lookup_Object
Populate_MIME_List
Populate_Statistics_Dates
Populate_Thematic_Headings
Populate_Translations
Populate_URL_Portals
Save_Aggregation_Statistics
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/save_item_aggregation' title='Save_Item_Aggregation Method'>Save_Item_Aggregation Method</a>Save_Item_Aggregation Method
Save_Item_Group_Statistics
Save_Item_Statistics
Save_Portal_Statistics
Save_TopLevel_Statistics
Save_WebContent_Statistics
Search_Stop_Words
Send_Database_Email
Simple_Item_List
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/test_connection' title='Test_Connection Method'>Test_Connection Method</a>Test_Connection Method
Tracking_Online_Edit_Complete
Verify_Item_Lookup_Object
WebContent_Add_Milestone
WebContent_Add_Page
WebContent_Delete_Page
WebContent_Edit_Page
WebContent_Get_All
WebContent_Get_All_Pages
WebContent_Get_All_Redirects
WebContent_Get_Milestones
Expand <a href='http://sobekrepository.org/codehelp/engine_library/database/engine_database/overloads/webcontent_get_page' title='WebContent_Get_Page Method'>WebContent_Get_Page Method</a>WebContent_Get_Page Method
WebContent_Get_Recent_Changes
WebContent_Get_Usage
WebContent_Get_Usage_Report
WebContent_Has_Usage
WebContent_Populate_All_Hierarchy
Expand <span Title='Engine_Database Properties' class='SobekSiteMapNoLink' >Properties</span>Properties
Expand <a href='http://sobekrepository.org/codehelp/engine_library/email' title='SobekCM.Engine_Library.Email'>Email Sub-Namespace</a>Email Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/endpoints' title='SobekCM.Engine_Library.Endpoints'>Endpoints Sub-Namespace</a>Endpoints Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/iprangeutilities' title='SobekCM.Engine_Library.IpRangeUtilities'>IpRangeUtilities Sub-Namespace</a>IpRangeUtilities Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/items' title='SobekCM.Engine_Library.Items'>Items Sub-Namespace</a>Items Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/json_client_helpers' title='SobekCM.Engine_Library.JSON_Client_Helpers'>JSON_Client_Helpers Sub-Namespace</a>JSON_Client_Helpers Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/navigation' title='SobekCM.Engine_Library.Navigation'>Navigation Sub-Namespace</a>Navigation Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/settings' title='SobekCM.Engine_Library.Settings'>Settings Sub-Namespace</a>Settings Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/sitemap' title='SobekCM.Engine_Library.SiteMap'>SiteMap Sub-Namespace</a>SiteMap Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/skins' title='SobekCM.Engine_Library.Skins'>Skins Sub-Namespace</a>Skins Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/solr' title='SobekCM.Engine_Library.Solr'>Solr Sub-Namespace</a>Solr Sub-Namespace
Expand <a href='http://sobekrepository.org/codehelp/engine_library/extensionmethods' title='ExtensionMethods Class'>ExtensionMethods</a>ExtensionMethods
Expand <a href='http://sobekrepository.org/codehelp/engine_library/microservicehandler' title='MicroserviceHandler Class'>MicroserviceHandler</a>MicroserviceHandler
Expand <a href='http://sobekrepository.org/codehelp/engine_library/microservicerewriter' title='MicroserviceRewriter Class'>MicroserviceRewriter</a>MicroserviceRewriter
Expand <a href='http://sobekrepository.org/codehelp/library' title='SobekCM.Library'>Library Namespace</a>Library Namespace
Expand <a href='http://sobekrepository.org/codehelp/resource_object' title='SobekCM.Resource_Object'>Resource_Object Namespace</a>Resource_Object Namespace
Expand <a href='http://sobekrepository.org/codehelp/tools' title='SobekCM.Tools'>Tools Namespace</a>Tools Namespace
MISSING BANNER
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.Database
Assembly: 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 Value

Type: 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

This calls the 'SobekCM_Metadata_Search_Paged' stored procedure

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )