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
Code Details >> Engine_Library >> Solr >> Solr_Controller >> Delete_Resource_From_Index

Solr_Controller.Delete_Resource_From_Index Method



Deletes an existing resource from both solr/lucene core indexes


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 bool Delete_Resource_From_Index(
	string SolrDocumentUrl,
	string SolrPageUrl,
	string BibID,
	string VID
)

Parameters

SolrDocumentUrl
Type: System..::..String
URL for the solr/lucene core used for searching for a single document within the library
SolrPageUrl
Type: System..::..String
URL for the solr/lucene core used for searching within a single document for matching pages
BibID
Type: System..::..String
Bibliographic identifier for the item to remove from the solr/lucene indexes
VID
Type: System..::..String
Volume identifier for the item to remove from the solr/lucene indexes

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

See Also



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