|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexerService
Created by IntelliJ IDEA. User: tirumalesh.b Date: 30/11/11 Time: 11:44 AM
Field Summary | |
---|---|
static String |
FAILURE
|
static String |
SUCCESS
|
Method Summary | |
---|---|
String |
bind(List<RequestDocument> requestDocument)
|
String |
bulkIndexDocuments(List<RequestDocument> requestDocuments,
boolean isCommit)
Method to bulk Index Documents |
void |
cleanupDiscoveryData()
|
void |
commit()
|
String |
delete(List<RequestDocument> requestDocuments)
|
String |
deleteDocument(String docCategory,
String uuid)
Deletes the document (if existing) with the given uuid. |
String |
deleteDocuments(String docCategory,
List<String> uuidList)
Deletes the documents (if existing) with the Ids specified in the given uuidList. |
List<org.apache.solr.common.SolrDocument> |
getSolrDocument(String fieldName,
String fieldValue)
|
List<org.apache.solr.common.SolrDocument> |
getSolrDocumentBySolrId(String uniqueId)
|
String |
indexDocument(RequestDocument requestDocument)
|
String |
indexDocument(RequestDocument requestDocument,
boolean commit)
|
String |
indexDocuments(List<RequestDocument> requestDocuments)
|
String |
indexDocuments(List<RequestDocument> requestDocuments,
boolean commit)
|
String |
indexDocumentsFromDirBySolrDoc(String docCategory,
String docType,
String docFormat,
String dataDir)
Indexes the documents from the xml files in the given fileDir. |
String |
indexDocumentsFromFileBySolrDoc(String docCategory,
String docType,
String docFormat,
String filePath)
|
String |
indexDocumentsFromFiles(String docCategory,
String docType,
String docFormat,
List<File> fileList)
|
String |
indexDocumentsFromStringBySolrDoc(String docCategory,
String docType,
String docFormat,
String data)
|
String |
indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs)
|
void |
rollback()
|
org.apache.solr.client.solrj.response.QueryResponse |
searchBibRecord(String docCat,
String docType,
String docFormat,
String fieldName,
String fieldValue,
String fieldList)
|
void |
transferInstances(List<RequestDocument> requestDocuments)
|
void |
transferItems(List<RequestDocument> requestDocuments)
|
String |
unbind(List<RequestDocument> requestDocuments)
|
Field Detail |
---|
static final String SUCCESS
static final String FAILURE
Method Detail |
---|
String deleteDocuments(String docCategory, List<String> uuidList) throws MalformedURLException, org.apache.solr.client.solrj.SolrServerException
docCategory
- uuidList
-
MalformedURLException
org.apache.solr.client.solrj.SolrServerException
String deleteDocument(String docCategory, String uuid)
docCategory
- uuid
-
String indexDocumentsFromDirBySolrDoc(String docCategory, String docType, String docFormat, String dataDir)
docCategory
- docType
- docFormat
- dataDir
-
String indexDocumentsFromStringBySolrDoc(String docCategory, String docType, String docFormat, String data) throws IOException
IOException
String indexDocumentsFromFileBySolrDoc(String docCategory, String docType, String docFormat, String filePath)
String indexDocumentsFromFiles(String docCategory, String docType, String docFormat, List<File> fileList)
String indexDocuments(List<RequestDocument> requestDocuments)
String indexDocuments(List<RequestDocument> requestDocuments, boolean commit)
String indexDocument(RequestDocument requestDocument)
String indexDocument(RequestDocument requestDocument, boolean commit)
String indexSolrDocuments(List<org.apache.solr.common.SolrInputDocument> solrDocs)
void commit() throws Exception
Exception
void rollback() throws Exception
Exception
String bulkIndexDocuments(List<RequestDocument> requestDocuments, boolean isCommit)
requestDocuments
-
List<org.apache.solr.common.SolrDocument> getSolrDocumentBySolrId(String uniqueId)
List<org.apache.solr.common.SolrDocument> getSolrDocument(String fieldName, String fieldValue)
org.apache.solr.client.solrj.response.QueryResponse searchBibRecord(String docCat, String docType, String docFormat, String fieldName, String fieldValue, String fieldList)
void cleanupDiscoveryData() throws IOException, org.apache.solr.client.solrj.SolrServerException
IOException
org.apache.solr.client.solrj.SolrServerException
String bind(List<RequestDocument> requestDocument) throws Exception, IOException
Exception
IOException
String unbind(List<RequestDocument> requestDocuments) throws Exception
Exception
void transferInstances(List<RequestDocument> requestDocuments) throws Exception
Exception
void transferItems(List<RequestDocument> requestDocuments) throws Exception
Exception
String delete(List<RequestDocument> requestDocuments) throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |