The IAddon that teaches hive-ingestor to crawl.
The addon owns no tool of its own: hive-ingestor already exposes
ingest source :source <id>, which looks a factory up in its source
registry. So the whole contribution is one registration, and one retraction
at shutdown - the seam the host built for exactly this.
The IAddon that teaches hive-ingestor to crawl. The addon owns no tool of its own: hive-ingestor already exposes `ingest source :source <id>`, which looks a factory up in its source registry. So the whole contribution is one registration, and one retraction at shutdown - the seam the host built for exactly this.
(addon-ctor config)Pure constructor (config -> IAddon). The mounter drives register!/initialize!.
Pure constructor (config -> IAddon). The mounter drives register!/initialize!.
Root supertool the ingest command tree composes into. The schema extension must reach the SAME host, or the params are advertised nowhere.
Root supertool the ingest command tree composes into. The schema extension must reach the SAME host, or the params are advertised nowhere.
Params contributed to the served schema.
A parameter absent from the served schema is never delivered to a handler,
however the caller spells it - so registering the source is not enough, and
ingest source :source web-crawl :url ... would arrive with no url at all.
Named crawl-* rather than max-depth/delay-ms: the host merges an
extension OVER its own properties, and max-depth is already the ingestor's
corpus-classify depth. Contributing that name would silently redefine it.
Params contributed to the served schema. A parameter absent from the served schema is never delivered to a handler, however the caller spells it - so registering the source is not enough, and `ingest source :source web-crawl :url ...` would arrive with no url at all. Named `crawl-*` rather than `max-depth`/`delay-ms`: the host merges an extension OVER its own properties, and `max-depth` is already the ingestor's corpus-classify depth. Contributing that name would silently redefine it.
Registry owner key. Registrations are owner-scoped, so nothing else can replace or retract this source.
Registry owner key. Registrations are owner-scoped, so nothing else can replace or retract this source.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |