|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.indexmanagement.fulltextindexupdater.FullTextIndexUpdaterService
public class FullTextIndexUpdaterService
FullTextIndexBatchUpdaterService implements functionality needed to update a FullText index. Every FullTextIndexBatchUpdaterService instance (resource) must be connected to one, and only one FullTextIndexManagementService instance (resource), though many BatchUpdater instances may be connected to one Management instance. The index can then be updated by connecting the updater to one or more remote ResultSets containing ROWSETs of the documents to be indexed.
Constructor Summary | |
---|---|
FullTextIndexUpdaterService()
|
Method Summary | |
---|---|
AbortResponse |
abort(Abort empty)
Abort the current update, discarding uncommited changes |
CommitResponse |
commit(Commit empty)
Commit the current update, making the changes candidates for being merged into the main index. |
DeleteDocumentsResponse |
deleteDocuments(DeleteDocuments request)
Deletes a list of documents from the local and main index. |
FinishUpdateResponse |
finishUpdate(FinishUpdate empty)
Close the current update, commiting and merging the changes. |
ProcessResponse |
process(java.lang.Process arguments)
Inserts ResultSet of ROWSETS information into an index. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FullTextIndexUpdaterService()
Method Detail |
---|
public ProcessResponse process(java.lang.Process arguments) throws GCUBEFault
arguments
- Process
- object containing the ResultSet EPR and an optional indication
of whether to destroy the updater resource after the ResultSet has been indexed (which default to false).
ProcessResponse
- empty object.
GCUBEFault
public DeleteDocumentsResponse deleteDocuments(DeleteDocuments request) throws GCUBEFault
IDs
- DeleteDocuments
a list of the IDs of the documents to be deleted
GCUBEFault
public CommitResponse commit(Commit empty) throws GCUBEFault
empty
- Commit
- empty instance.
CommitResponse
- empty instance.
GCUBEFault
public FinishUpdateResponse finishUpdate(FinishUpdate empty) throws GCUBEFault
empty
- FinishUpdate
- empty instance.
FinishUpdateResponse
- empty instance.
GCUBEFault
public AbortResponse abort(Abort empty) throws GCUBEFault
empty
- Abort
- empty instance.
AbortResponse
- empty instance.
GCUBEFault
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |