public abstract class MetadataFetcher extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
DocIndexer |
docIndexer |
Constructor and Description |
---|
MetadataFetcher(DocIndexer docIndexer) |
Modifier and Type | Method and Description |
---|---|
abstract void |
addMetadata()
Fetch the metadata for the document currently being indexed and add it to the
document as indexed fields.
|
void |
close()
Close the fetcher, releasing any resources it holds
|
public DocIndexer docIndexer
public MetadataFetcher(DocIndexer docIndexer)
public abstract void addMetadata()
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
- if closing caused an errorCopyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.