public class DocumentIndexer extends Object
Constructor and Description |
---|
DocumentIndexer() |
Modifier and Type | Method and Description |
---|---|
void |
indexDocument(RequestDocument reqDoc)
Method to index Bib And Linked Instance Documents
|
void |
indexDocuments(List<RequestDocument> reqDocs)
Method to index Bib And Linked Instance Documents for a given list.
|
void |
indexDocumentsForBulk(List<RequestDocument> reqDocs,
boolean isCommit)
Method to index Documents For Bulk Process.
|
void |
optimizeSolr()
Method to optimizeSolr
|
void |
optimizeSolr(Boolean waitFlush,
Boolean waitSearcher)
Method to optimizeSolr
|
void |
rollbackIndexedData(List<RequestDocument> requestDocuments)
Method to roll back Indexed Data for a given Request Docuemnts.
|
public DocumentIndexer()
public void indexDocuments(List<RequestDocument> reqDocs) throws Exception
reqDocs
- Exception
public void indexDocumentsForBulk(List<RequestDocument> reqDocs, boolean isCommit) throws Exception
reqDocs
- Exception
public void indexDocument(RequestDocument reqDoc) throws Exception
reqDoc
- Exception
public void rollbackIndexedData(List<RequestDocument> requestDocuments)
requestDocuments
- public void optimizeSolr() throws Exception
Exception
public void optimizeSolr(Boolean waitFlush, Boolean waitSearcher) throws Exception
Exception
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.