public class DummyIndexerServiceImpl extends Object implements IndexerService
BATCH_SIZE, BIBLIOGRAPHIC, DOC_FORMAT, DOC_TYPE, FAILURE, HOLDINGS_IDENTIFIER, ID_FIELD_PREFIX, INSTANCE, ITEM_IDENTIFIER, SUCCESS, UUID_FILE_NAME_SUFFIX| Modifier and Type | Method and Description |
|---|---|
String |
bind(List<RequestDocument> requestDocument) |
String |
bind(RequestDocument requestDocument) |
String |
buildUuid() |
String |
bulkIndexDocuments(List<RequestDocument> requestDocumentList,
boolean isCommit)
Method to bulk Index Documents
|
void |
cleanupDiscoveryData() |
void |
commit() |
String |
delete(List<RequestDocument> requestDocuments) |
String |
delete(RequestDocument requestDocument) |
String |
deleteDocument(String s,
String s1)
Deletes the document (if existing) with the given uuid.
|
String |
deleteDocuments(String s,
List<String> strings)
Deletes the documents (if existing) with the Ids specified in the given uuidList.
|
static DummyIndexerServiceImpl |
getInstance() |
List<org.apache.solr.common.SolrDocument> |
getSolrDocument(String s,
String s1) |
List<org.apache.solr.common.SolrDocument> |
getSolrDocumentBySolrId(String s) |
String |
indexDocument(RequestDocument requestDocument) |
String |
indexDocument(RequestDocument requestDocument,
boolean commit) |
String |
indexDocuments(List<RequestDocument> requestDocumentList) |
String |
indexDocuments(List<RequestDocument> requestDocumentList,
boolean commit) |
String |
indexDocumentsFromDirBySolrDoc(String s,
String s1,
String s2,
String s3)
Indexes the documents from the xml files in the given fileDir.
|
String |
indexDocumentsFromFileBySolrDoc(String s,
String s1,
String s2,
String s3) |
String |
indexDocumentsFromFiles(String s,
String s1,
String s2,
List<File> files) |
String |
indexDocumentsFromStringBySolrDoc(String s,
String s1,
String s2,
String s3) |
String |
indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs) |
void |
rollback() |
org.apache.solr.client.solrj.response.QueryResponse |
searchBibRecord(String s,
String s1,
String s2,
String s3,
String s4,
String s5) |
void |
transferInstances(List<RequestDocument> requestDocuments) |
void |
transferItems(List<RequestDocument> requestDocuments) |
String |
unbind(List<RequestDocument> requestDocuments) |
public static DummyIndexerServiceImpl getInstance()
public String deleteDocuments(String s, List<String> strings)
IndexerServicedeleteDocuments in interface IndexerServicepublic String deleteDocument(String s, String s1)
IndexerServicedeleteDocument in interface IndexerServicepublic String indexDocumentsFromFileBySolrDoc(String s, String s1, String s2, String s3)
indexDocumentsFromFileBySolrDoc in interface IndexerServicepublic String indexDocumentsFromDirBySolrDoc(String s, String s1, String s2, String s3)
IndexerServiceindexDocumentsFromDirBySolrDoc in interface IndexerServicepublic String indexDocumentsFromStringBySolrDoc(String s, String s1, String s2, String s3) throws IOException
indexDocumentsFromStringBySolrDoc in interface IndexerServiceIOExceptionpublic String indexDocumentsFromFiles(String s, String s1, String s2, List<File> files)
indexDocumentsFromFiles in interface IndexerServicepublic List<org.apache.solr.common.SolrDocument> getSolrDocumentBySolrId(String s)
getSolrDocumentBySolrId in interface IndexerServicepublic List<org.apache.solr.common.SolrDocument> getSolrDocument(String s, String s1)
getSolrDocument in interface IndexerServicepublic org.apache.solr.client.solrj.response.QueryResponse searchBibRecord(String s, String s1, String s2, String s3, String s4, String s5)
searchBibRecord in interface IndexerServicepublic void cleanupDiscoveryData() throws IOException, org.apache.solr.client.solrj.SolrServerException
cleanupDiscoveryData in interface IndexerServiceIOExceptionorg.apache.solr.client.solrj.SolrServerExceptionpublic String bind(List<RequestDocument> requestDocument) throws Exception, IOException
bind in interface IndexerServiceExceptionIOExceptionpublic String bind(RequestDocument requestDocument) throws Exception
bind in interface IndexerServiceExceptionpublic String unbind(List<RequestDocument> requestDocuments) throws Exception
unbind in interface IndexerServiceExceptionpublic void transferInstances(List<RequestDocument> requestDocuments) throws Exception
transferInstances in interface IndexerServiceExceptionpublic void transferItems(List<RequestDocument> requestDocuments) throws Exception
transferItems in interface IndexerServiceExceptionpublic String delete(List<RequestDocument> requestDocuments) throws Exception
delete in interface IndexerServiceExceptionpublic String delete(RequestDocument requestDocument) throws org.apache.solr.client.solrj.SolrServerException, Exception
delete in interface IndexerServiceorg.apache.solr.client.solrj.SolrServerExceptionExceptionpublic String buildUuid()
buildUuid in interface IndexerServicepublic String bulkIndexDocuments(List<RequestDocument> requestDocumentList, boolean isCommit)
IndexerServicebulkIndexDocuments in interface IndexerServicepublic String indexDocument(RequestDocument requestDocument)
indexDocument in interface IndexerServicepublic String indexDocument(RequestDocument requestDocument, boolean commit)
indexDocument in interface IndexerServicepublic String indexDocuments(List<RequestDocument> requestDocumentList)
indexDocuments in interface IndexerServicepublic String indexDocuments(List<RequestDocument> requestDocumentList, boolean commit)
indexDocuments in interface IndexerServicepublic String indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs)
indexSolrDocuments in interface IndexerServicepublic void commit() throws Exception
commit in interface IndexerServiceExceptionpublic void rollback() throws Exception
rollback in interface IndexerServiceExceptionCopyright © 2004–2014 The Kuali Foundation. All rights reserved.