| org.apache.lenya.cms.lucene.IndexUpdater
All known Subclasses: org.apache.lenya.cms.lucene.IndexUpdaterImpl,
IndexUpdater | public interface IndexUpdater extends RepositoryListener(Code) | | Index updater which updates the index when a document changes.
|
Method Summary | |
void | delete(Session session, ResourceType resourceType, String publicationId, String area, String uuid, String language) Deletes a document from the index. | void | index(Session session, ResourceType resourceType, String publicationId, String area, String uuid, String language) Adds a document to the index. |
delete | void delete(Session session, ResourceType resourceType, String publicationId, String area, String uuid, String language) throws IndexException(Code) | | Deletes a document from the index.
Parameters: session - The session. Parameters: resourceType - The resource type. Parameters: publicationId - The publication ID. Parameters: area - The area. Parameters: uuid - The UUID. Parameters: language - The language. throws: IndexException - if an error occurs. |
index | void index(Session session, ResourceType resourceType, String publicationId, String area, String uuid, String language) throws IndexException(Code) | | Adds a document to the index.
Parameters: session - The session. Parameters: resourceType - The resource type. Parameters: publicationId - The publication ID. Parameters: area - The area. Parameters: uuid - The UUID. Parameters: language - The language. throws: IndexException - if an error occurs. |
|
|