public interface IMetadataFilter
It is highly recommended to overwrite the toString()
method
to representing this filter properly in human-readable form (e.g. logging).
It is a good idea to include specifics of this filter so crawler users
can know exactly why documents got accepted/rejected rejected if need be.
Modifier and Type | Method and Description |
---|---|
boolean |
acceptMetadata(String reference,
Properties metadata)
Whether to accept the metadata.
|
boolean acceptMetadata(String reference, Properties metadata)
reference
- the reference associated with the metadatametadata
- metadata associated with the referencetrue
if accepted, false
otherwiseCopyright © 2014–2021 Norconex Inc.. All rights reserved.