|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IIndexManager
Stores information about things that we wish to search later.
| Method Summary | |
|---|---|
void |
addToIndex(org.apache.lucene.document.Document documentToUpdate)
Quick reindex for the documents with the specified id |
java.lang.String |
getRoot()
Get the root folder for the index |
void |
optimize()
|
void |
reindex(org.apache.lucene.document.Document[] documentsToUpdate)
Quick reindex for the documents with the specified id |
void |
reindex(java.lang.String id,
double score)
Quick reindex for the documents with the specified id to the new score |
void |
removeFromIndex(java.lang.String uniqueId)
Remove a piece of information from the index |
| Methods inherited from interface net.firstpartners.rp.plugins.IPlugin |
|---|
onLoad |
| Method Detail |
|---|
void addToIndex(org.apache.lucene.document.Document documentToUpdate)
documentToUpdate - void reindex(org.apache.lucene.document.Document[] documentsToUpdate)
documentsToUpdate -
void reindex(java.lang.String id,
double score)
id - Document IDscore - The new sorting scorevoid removeFromIndex(java.lang.String uniqueId)
uniqueId - java.lang.String getRoot()
void optimize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||