|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 |
bulkIndexDocuments(List<RequestDocument> requestDocumentList,
boolean isCommit)
Method to bulk Index Documents |
void |
cleanupDiscoveryData()
|
void |
commit()
|
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)
|
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 IndexerService
IOException
public String indexDocumentsFromFiles(String s, String s1, String s2, List<File> files)
indexDocumentsFromFiles
in interface IndexerService
public 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 IndexerService
IOException
org.apache.solr.client.solrj.SolrServerException
public String bulkIndexDocuments(List<RequestDocument> requestDocumentList, boolean isCommit)
IndexerService
bulkIndexDocuments
in interface IndexerService
public String indexDocument(RequestDocument requestDocument)
indexDocument
in interface IndexerService
public String indexDocument(RequestDocument requestDocument, boolean commit)
indexDocument
in interface IndexerService
public String indexDocuments(List<RequestDocument> requestDocumentList)
indexDocuments
in interface IndexerService
public String indexDocuments(List<RequestDocument> requestDocumentList, boolean commit)
indexDocuments
in interface IndexerService
public String indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs)
indexSolrDocuments
in interface IndexerService
public void commit() throws Exception
commit
in interface IndexerService
Exception
public void rollback() throws Exception
rollback
in interface IndexerService
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |