interface IndexTaskService
Modifier and Type | Method and Description |
---|---|
Task |
addTo(Index index,
java.util.List<IndexItem> productItems)
Synchronization is required if @see ConnectionProperties.isSlave() is true
|
Task |
createIndexForShops(Index index,
java.util.List<IndexItem> shopItems)
Creates a task to index a list of shops included in the same Store.
|
Task |
deleteFrom(Index index,
java.util.List<IndexItem> productItems)
Does not require any Synchronization
|
Task |
drop(Index index)
Does not require any Synchronization
|
Task createIndexForShops(Index index, java.util.List<IndexItem> shopItems)
IndexItem
objects.
Synchronization is required if @ConnectionProperties.isSlave() is
trueindex
- shopItems
- List of shopidsTask addTo(Index index, java.util.List<IndexItem> productItems)
index
- productItems
- Task deleteFrom(Index index, java.util.List<IndexItem> productItems)
index
- productItems
-