compass.pipeline.collection.dedupe.DocumentDeDuplicator#
- class DocumentDeDuplicator(dict=None, /, **kwargs)[source]#
Bases:
UserDictDomain Service for deduplicating collected documents
Methods
add_docs(docs, *[, step_name])Add documents to the collection mapping
info(doc)Get the info for a given document
- info(doc)[source]#
Get the info for a given document
- Parameters:
doc (
elm.web.document.BaseDocument) – The document for which to retrieve the deduplication info.- Returns:
object– The deduplication info for the given document.