Class IndexingService
java.lang.Object
org.exoplatform.commons.api.indexing.IndexingService
Provides the indexing API that a connector implements to index its data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidadd(SearchEntry searchEntry) Adds a search entry.abstract voiddelete(SearchEntryId id) Deletes a search entry by its Id.abstract voidupdate(SearchEntryId id, Map<String, Object> changes) Updates a search entry.
-
Field Details
-
DATE_INDEXED
- See Also:
-
LAST_UPDATE
- See Also:
-
-
Constructor Details
-
IndexingService
public IndexingService()
-
-
Method Details
-
add
Adds a search entry.- Parameters:
searchEntry- The search entry.- eXo level API
- Experimental
-
update
Updates a search entry.- Parameters:
id- Id of the search entry.changes- The search entry to be updated.- eXo level API
- Experimental
-
delete
Deletes a search entry by its Id.- Parameters:
id- Id of the search entry.- eXo level API
- Experimental
-