Content - the type of content to indexpublic interface Indexer<Content>
AsynchIndexer and {@link SynchIndexer
are provided for convenience.| Modifier and Type | Interface and Description |
|---|---|
static class |
Indexer.IndexerType
Types of content processed by
Indexers. |
static interface |
Indexer.NoContent
Class for indexers that do not actually accept content.
|
| Modifier and Type | Method and Description |
|---|---|
Indexer.IndexerType |
getIndexerType() |
com.google.common.util.concurrent.ListenableFuture<?> |
remove(String id)
Remove the object from the index.
|
com.google.common.util.concurrent.ListenableFuture<?> |
update(String id,
Content content)
Create or update an index entry for the object.
|
com.google.common.util.concurrent.ListenableFuture<?> update(String id, Content content) throws IOException
id - content - IOExceptioncom.google.common.util.concurrent.ListenableFuture<?> remove(String id) throws IOException
id - IOExceptionIndexer.IndexerType getIndexerType()
Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.