|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IndexCreator
An index creator is responsible for storing and reading data to and from Lucene index.
MinimalArtifactInfoIndexCreator
,
JarFileContentsIndexCreator
Method Summary | |
---|---|
List<String> |
getCreatorDependencies()
Returns list of IndexCreator IDs that this creator depends on. |
String |
getId()
Returns IndexCreator ID, that has to be unique across all existing creators. |
Collection<IndexerField> |
getIndexerFields()
Returns the indexer fields that this IndexCreator introduces to index. |
void |
populateArtifactInfo(ArtifactContext artifactContext)
Populate an ArtifactContext with information about corresponding artifact. |
boolean |
updateArtifactInfo(org.apache.lucene.document.Document document,
ArtifactInfo artifactInfo)
Update an ArtifactInfo from given Lucene Document . |
void |
updateDocument(ArtifactInfo artifactInfo,
org.apache.lucene.document.Document document)
Update Lucene Document from a given ArtifactInfo . |
Method Detail |
---|
String getId()
List<String> getCreatorDependencies()
Collection<IndexerField> getIndexerFields()
void populateArtifactInfo(ArtifactContext artifactContext) throws IOException
ArtifactContext
with information about corresponding artifact.
IOException
void updateDocument(ArtifactInfo artifactInfo, org.apache.lucene.document.Document document)
Document
from a given ArtifactInfo
.
boolean updateArtifactInfo(org.apache.lucene.document.Document document, ArtifactInfo artifactInfo)
ArtifactInfo
from given Lucene Document
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |