public abstract class IndexingService extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
DATE_INDEXED |
protected static String |
LAST_UPDATE |
Constructor and Description |
---|
IndexingService() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add(org.exoplatform.commons.api.indexing.data.SearchEntry searchEntry)
Adds a search entry.
|
abstract void |
delete(org.exoplatform.commons.api.indexing.data.SearchEntryId id)
Deletes a search entry by its Id.
|
abstract void |
update(org.exoplatform.commons.api.indexing.data.SearchEntryId id,
Map<String,Object> changes)
Updates a search entry.
|
protected static final String DATE_INDEXED
protected static final String LAST_UPDATE
public abstract void add(org.exoplatform.commons.api.indexing.data.SearchEntry searchEntry)
searchEntry
- The search entry.public abstract void update(org.exoplatform.commons.api.indexing.data.SearchEntryId id, Map<String,Object> changes)
id
- Id of the search entry.changes
- The search entry to be updated.public abstract void delete(org.exoplatform.commons.api.indexing.data.SearchEntryId id)
id
- Id of the search entry.Copyright © 2003-2017 eXo Platform SAS. All Rights Reserved.