|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An interface for abstracting from different XML-based IR engines (e.g. the XML PIRE extension, HyREX). This interface supports both creating an index as well as querying.
| Method Summary | |
void |
addToIndex(java.lang.String docID,
org.w3c.dom.Document document)
Add the XML document to the index. |
void |
addToIndex(java.lang.String docID,
java.lang.String document)
Add the XML document to the index. |
void |
computeIndex()
Computes the index, based on the document values which were added before. |
void |
initIndex()
Inits the index. |
void |
registerSchema(Schema schema)
Registers the specified schema. |
void |
removeIndex()
Removes the index. |
| Methods inherited from interface de.unidu.is.retrieval.Retriever |
close, getDocument, getDocument, getDocuments, getResult, getResultSummaries, getSchema, getSummaries, getSummary, getSummary |
| Method Detail |
public void registerSchema(Schema schema)
schema - collection schema
public void initIndex()
throws IndexException
IndexException
public void addToIndex(java.lang.String docID,
org.w3c.dom.Document document)
throws IndexException,
DocumentNotStorableException,
DocumentMismatchException
docID - document iddocument - XML document
IndexException
DocumentNotStorableException
DocumentMismatchException
public void addToIndex(java.lang.String docID,
java.lang.String document)
throws IndexException,
DocumentNotStorableException,
DocumentMismatchException
docID - document iddocument - XML document
IndexException
DocumentNotStorableException
DocumentMismatchException
public void computeIndex()
throws IndexException
IndexException
public void removeIndex()
throws IndexException
IndexException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||