public interface IndexerInterface extends DicooglePlugin
| Modifier and Type | Method and Description | 
|---|---|
| boolean | handles(java.net.URI path)Checks whether the file in the given path can be indexed by this indexer. | 
| Task<Report> | index(java.lang.Iterable<StorageInputStream> files,
     java.lang.Object... parameters)Indexes multiple file paths to the database. | 
| Task<Report> | index(StorageInputStream file,
     java.lang.Object... parameters)Indexes the file path to the database. | 
| boolean | unindex(java.net.URI path)Removes the indexed file at the given path from the database. | 
disable, enable, getName, getSettings, isEnabled, setSettingsTask<Report> index(StorageInputStream file, java.lang.Object... parameters)
file - directory or file to indexTask<Report> index(java.lang.Iterable<StorageInputStream> files, java.lang.Object... parameters)
files - a collection of directories and/or files to indexboolean handles(java.net.URI path)
path - a URI to the file to checkboolean unindex(java.net.URI path)
path - the URI of the document