mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

Solr_Page_Results.Search Method



Perform an in-document search for pages with matching full-text


Namespace: SobekCM.Engine_Library.Solr
Assembly: SobekCM_Engine_Library (in SobekCM_Engine_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
public static Solr_Page_Results Search(
	string BibID,
	string VID,
	List<string> Search_Terms,
	int ResultsPerPage,
	int ResultsPage,
	bool Sort_By_Score
)

Parameters

BibID
Type: System..::..String
Bibliographic identifier (BibID) for the item to search
VID
Type: System..::..String
Volume identifier for the item to search
Search_Terms
Type: System.Collections.Generic..::..List<(Of <(<'String>)>)>
Terms to search for within the page text
ResultsPerPage
Type: System..::..Int32
Number of results to display per a "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_By_Score
Type: System..::..Boolean
Flag indicates whether to sort the results by relevancy score, rather than the default page order

Return Value

Type: Solr_Page_Results
Page search result object with all relevant result information

See Also



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