public class IndexerService_UT extends BaseTestCase
classesDir, discoveryEnvUtil, LOG, solrHome
Constructor and Description |
---|
IndexerService_UT() |
Modifier and Type | Method and Description |
---|---|
void |
cleanupDiscoveryData() |
protected void |
deleteTestData() |
void |
deleteTestDataWithConfirm() |
void |
display(RequestDocument requestDocument) |
protected String |
getRecordField(String filedName,
String fieldValue) |
Request |
getRequest(String filePath) |
List<RequestDocument> |
getRequestDocumentList(String path) |
protected List<String> |
getUUIDsByAuthor(String authorName) |
protected void |
indexTestFile(String docCategory,
String docType,
String docFormat,
String resFile) |
void |
invokeIndexDocumentsFromDirBySolrDoc(String path) |
void |
invokeIndexDocumentsFromFileBySolrDoc(String docCategory,
String docType,
String docFormat,
String requestFile) |
void |
invokeIndexDocumentsFromStringBySolrDoc(String requestFile) |
void |
modifyRequestDocument(RequestDocument requestDocument) |
void |
printFinalLog() |
void |
printInitialLog() |
org.apache.solr.client.solrj.response.QueryResponse |
searchBibRecord(String docCat,
String docType,
String docFormat,
String fieldNameIdentifier,
String fieldValueIdentifier) |
org.apache.solr.client.solrj.response.QueryResponse |
searchHoldingRecord(String docCat,
String docType,
String docFormat,
String fieldNameIdentifier,
String fieldValueIdentifier) |
org.apache.solr.client.solrj.response.QueryResponse |
searchInstanceRecord(String docCat,
String docType,
String docFormat,
String fieldNameIdentifier,
String fieldValueIdentifier) |
org.apache.solr.client.solrj.response.QueryResponse |
searchItemsRecord(String docCat,
String docType,
String docFormat,
String fieldNameIdentifier,
String fieldValueIdentifier) |
org.apache.solr.client.solrj.response.QueryResponse |
searchRecord(String docCat,
String docType,
String docFormat,
String fieldName,
String fieldValue) |
void |
setUp() |
void |
testDeleteDocument() |
void |
testDeleteDocuments() |
void |
testdeleteDocumentsByUUIDList() |
void |
testDublinBulkIndex() |
void |
testDublinUnqBulkIndex() |
void |
testIndexDocument() |
void |
testIndexDocumentFromStringBySolr() |
void |
testIndexDocuments() |
void |
testIndexDocumentsForBinary() |
void |
testIndexDocumentsForONIXPL() |
void |
testIndexDocumentsFromDirBySolrDocWithConfirm() |
void |
testIndexDocumentsFromFilesBySolrDoc() |
void |
testIndexDocumentsWithInvalidDirectoryORFile() |
void |
testInstanceBulkIndex()
Test the bulk indexing of instance records, which also links them with the already indexed Bib records.
|
void |
testSpecialCharsInInput() |
void |
testWorkInstanceOlemlIndexDocuments() |
cleanUpData, executeQuery, getCallingMethod, getMethodName, getRecordCount, printLogInfo, readFile
public IndexerService_UT()
public void setUp() throws Exception
setUp
in class BaseTestCase
Exception
public void testInstanceBulkIndex()
public void testDublinBulkIndex() throws Exception
Exception
public void testDublinUnqBulkIndex() throws Exception
Exception
public List<RequestDocument> getRequestDocumentList(String path) throws Exception
Exception
public void testDeleteDocuments() throws Exception
Exception
public void testDeleteDocument() throws Exception
Exception
public void testIndexDocumentsFromFilesBySolrDoc() throws Exception
Exception
public void testIndexDocumentsFromDirBySolrDocWithConfirm() throws Exception
Exception
public void testIndexDocumentsWithInvalidDirectoryORFile() throws Exception
Exception
public void invokeIndexDocumentsFromDirBySolrDoc(String path)
public void testIndexDocumentFromStringBySolr() throws Exception
Exception
public void invokeIndexDocumentsFromStringBySolrDoc(String requestFile) throws Exception
Exception
public void invokeIndexDocumentsFromFileBySolrDoc(String docCategory, String docType, String docFormat, String requestFile) throws Exception
Exception
public void deleteTestDataWithConfirm()
public void testSpecialCharsInInput()
protected void indexTestFile(String docCategory, String docType, String docFormat, String resFile) throws Exception
Exception
protected void deleteTestData()
protected List<String> getUUIDsByAuthor(String authorName) throws Exception
Exception
public void testWorkInstanceOlemlIndexDocuments() throws Exception
Exception
public org.apache.solr.client.solrj.response.QueryResponse searchRecord(String docCat, String docType, String docFormat, String fieldName, String fieldValue) throws Exception
Exception
public org.apache.solr.client.solrj.response.QueryResponse searchBibRecord(String docCat, String docType, String docFormat, String fieldNameIdentifier, String fieldValueIdentifier) throws Exception
Exception
public org.apache.solr.client.solrj.response.QueryResponse searchInstanceRecord(String docCat, String docType, String docFormat, String fieldNameIdentifier, String fieldValueIdentifier) throws Exception
Exception
public org.apache.solr.client.solrj.response.QueryResponse searchHoldingRecord(String docCat, String docType, String docFormat, String fieldNameIdentifier, String fieldValueIdentifier) throws Exception
Exception
public org.apache.solr.client.solrj.response.QueryResponse searchItemsRecord(String docCat, String docType, String docFormat, String fieldNameIdentifier, String fieldValueIdentifier) throws Exception
Exception
public void modifyRequestDocument(RequestDocument requestDocument)
public void display(RequestDocument requestDocument)
public void testIndexDocuments() throws Exception
Exception
protected String getRecordField(String filedName, String fieldValue) throws Exception
Exception
public void testIndexDocument()
public void testdeleteDocumentsByUUIDList()
public void testIndexDocumentsForONIXPL() throws Exception
Exception
public void testIndexDocumentsForBinary() throws Exception
Exception
public void cleanupDiscoveryData() throws Exception
Exception
public Request getRequest(String filePath) throws Exception
Exception
public void printInitialLog() throws Exception
Exception
public void printFinalLog() throws Exception
Exception
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.