|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.ole.solr.DummyIndexerServiceImpl
public class DummyIndexerServiceImpl
Created by IntelliJ IDEA. User: ND6967 Date: 3/14/12 Time: 7:34 PM To change this template use File | Settings | File Templates.
| Field Summary |
|---|
| Fields inherited from interface org.kuali.ole.docstore.discovery.service.IndexerService |
|---|
FAILURE, SUCCESS |
| Method Summary | |
|---|---|
String |
bind(List<RequestDocument> requestDocument)
|
String |
bulkIndexDocuments(List<RequestDocument> requestDocumentList,
boolean isCommit)
Method to bulk Index Documents |
void |
cleanupDiscoveryData()
|
void |
commit()
|
String |
delete(List<RequestDocument> requestDocuments)
|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DummyIndexerServiceImpl getInstance()
public String deleteDocuments(String s,
List<String> strings)
IndexerService
deleteDocuments in interface IndexerService
public String deleteDocument(String s,
String s1)
IndexerService
deleteDocument in interface IndexerService
public String indexDocumentsFromFileBySolrDoc(String s,
String s1,
String s2,
String s3)
indexDocumentsFromFileBySolrDoc in interface IndexerService
public String indexDocumentsFromDirBySolrDoc(String s,
String s1,
String s2,
String s3)
IndexerService
indexDocumentsFromDirBySolrDoc in interface IndexerService
public String indexDocumentsFromStringBySolrDoc(String s,
String s1,
String s2,
String s3)
throws IOException
indexDocumentsFromStringBySolrDoc in interface IndexerServiceIOException
public 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 IndexerService
public List<org.apache.solr.common.SolrDocument> getSolrDocument(String s,
String s1)
getSolrDocument in interface IndexerService
public org.apache.solr.client.solrj.response.QueryResponse searchBibRecord(String s,
String s1,
String s2,
String s3,
String s4,
String s5)
searchBibRecord in interface IndexerService
public void cleanupDiscoveryData()
throws IOException,
org.apache.solr.client.solrj.SolrServerException
cleanupDiscoveryData in interface IndexerServiceIOException
org.apache.solr.client.solrj.SolrServerException
public String bind(List<RequestDocument> requestDocument)
throws Exception,
IOException
bind in interface IndexerServiceException
IOException
public String unbind(List<RequestDocument> requestDocuments)
throws Exception
unbind in interface IndexerServiceException
public void transferInstances(List<RequestDocument> requestDocuments)
throws Exception
transferInstances in interface IndexerServiceException
public void transferItems(List<RequestDocument> requestDocuments)
throws Exception
transferItems in interface IndexerServiceException
public String delete(List<RequestDocument> requestDocuments)
throws Exception
delete in interface IndexerServiceException
public String bulkIndexDocuments(List<RequestDocument> requestDocumentList,
boolean isCommit)
IndexerService
bulkIndexDocuments in interface IndexerServicepublic String indexDocument(RequestDocument requestDocument)
indexDocument in interface IndexerService
public String indexDocument(RequestDocument requestDocument,
boolean commit)
indexDocument in interface IndexerServicepublic String indexDocuments(List<RequestDocument> requestDocumentList)
indexDocuments in interface IndexerService
public String indexDocuments(List<RequestDocument> requestDocumentList,
boolean commit)
indexDocuments in interface IndexerServicepublic String indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs)
indexSolrDocuments in interface IndexerService
public void commit()
throws Exception
commit in interface IndexerServiceException
public void rollback()
throws Exception
rollback in interface IndexerServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||