Repository navigation
Commit fbefb88
authored
Improve documentation (missing configs, etc.) (#1843)
* fix(docs): correct configuration defaults and class references in adoc files
Fix inaccurate default values, wrong config key names, and a
nonexistent class reference in the documentation:
- protocols: add missing "file" to default
- redirections.allowed → http.allow.redirects (default false, not true)
- fetchInterval.error: -1, not 44640
- cacheConfigParamName → robots.cache.spec
- errorcacheConfigParamName → robots.error.cache.spec
- http.accept and http.accept.language: add actual defaults
- protocol.md.prefix: default is "protocol.", not empty
- FrontierSpout → Spout (class doesn't exist)
* fix(docs): correct errors, broken links, and outdated references across documentation
- Fix wrong package names: org.apache.storm.crawler → org.apache.stormcrawler
- Fix outdated import: backtype.storm.Config → org.apache.storm.Config
- Fix non-existent class reference: StatusStreamBolt → DummyIndexer
- Fix method signature to match actual code (MetadataTransfer.getMetaForOutlink)
- Fix broken internal links (StatusStream, Configuration, HTTPProtocol anchors)
- Fix Selenium protocol links pointing to core/ instead of external/selenium/
- Fix incorrect GitHub line number references for crawler-default.yaml
- Fix incomplete references ("See blog post", "See example", "See default")
- Fix Storm UI URL protocol: https → http
- Fix TikaParser → ParserBolt (actual class name)
- Remove undocumented/unimplemented http.store.responsetime config entry
- Replace unexplained %HEAP-MEM% placeholder with concrete 2g value
- Fix typos: anonynmous, asomething, extra commas, grammar
- Fix AsciiDoc link syntax in powered-by.adoc
* docs: add 27 missing config keys and 9 undocumented core classes
Configuration tables in configuration.adoc now cover all keys from
crawler-default.yaml, including robots, protocol, OkHttp, parsing,
sitemap, scheduling, and indexing options.
Internals documentation now covers:
- FeedParserBolt, URLPartitionerBolt, StatusEmitterBolt
- FileSpout, MemorySpout, AbstractQueryingSpout
- AdaptiveScheduler (with config example)
- DelegatorProtocol (with config example)
- SelfURLFilter
Also fixes missing default values for indexer.text.fieldname and
indexer.url.fieldname.
* docs: add external module configuration reference for all 11 modules
Add configuration tables for OpenSearch, Solr, SQL, URLFrontier, Tika,
AWS, AI/LLM, Playwright, Language ID, WARC, and common spout options.
Each module section includes all key config options with defaults and
descriptions, plus links to the module source for full setup details.
The Language ID module (which had no README) now has its parse filter
configuration documented for the first time.
* docs: add extending and operating guide with 12 how-to topics
New extending.adoc covers:
- Writing custom URL filters, parse filters, protocols, bolts/spouts
with complete code examples and registration instructions
- Politeness and rate limiting: queue modes, crawl-delay handling,
robots.txt compliance
- Error handling and retry logic: status lifecycle, retry mechanism,
custom fetch intervals
- Monitoring and metrics: fetcher metrics, MetricsConsumer setup
- Scaling and tuning: thread config, queue sizing, connection pooling
- Security: SSL/TLS, basic auth, proxy auth
* Address review comments1 parent d6c07fd commit fbefb88
8 files changed
Lines changed: 726 additions & 56 deletions
File tree
- core/src/main/resources
- docs/src/main/asciidoc
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
Large diffs are not rendered by default.
0 commit comments