@Singleton @Named public class DefaultIndexerEngine extends Object implements IndexerEngine
IndexerEngine
implementation.Constructor and Description |
---|
DefaultIndexerEngine() |
Modifier and Type | Method and Description |
---|---|
void |
index(IndexingContext context,
ArtifactContext ac)
Add new artifact to the index
|
void |
remove(IndexingContext context,
ArtifactContext ac)
Remove artifact to the index
|
void |
update(IndexingContext context,
ArtifactContext ac)
Replace data for a previously indexed artifact
|
public void index(IndexingContext context, ArtifactContext ac) throws IOException
IndexerEngine
index
in interface IndexerEngine
IOException
public void update(IndexingContext context, ArtifactContext ac) throws IOException
IndexerEngine
update
in interface IndexerEngine
IOException
public void remove(IndexingContext context, ArtifactContext ac) throws IOException
IndexerEngine
remove
in interface IndexerEngine
IOException
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.