Skip to content

Improve documentation (missing configs, etc.)#1843

Merged
rzo1 merged 6 commits intomainfrom
doc-improvements
Mar 27, 2026
Merged

Improve documentation (missing configs, etc.)#1843
rzo1 merged 6 commits intomainfrom
doc-improvements

Conversation

@rzo1
Copy link
Copy Markdown
Contributor

@rzo1 rzo1 commented Mar 26, 2026

Comprehensive documentation audit and improvement across all StormCrawler docs.

rzo1 added 5 commits March 26, 2026 19:22
…c 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)
…ss 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
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.
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.
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
@rzo1 rzo1 added this to the 3.5.2 milestone Mar 26, 2026
@rzo1 rzo1 requested review from jnioche, mvolikas and sigee March 26, 2026 18:50
@rzo1 rzo1 self-assigned this Mar 26, 2026
@rzo1 rzo1 changed the title Improve our documentation Improve documentation (missing configs, etc.) Mar 26, 2026
Copy link
Copy Markdown
Contributor

@sebastian-nagel sebastian-nagel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @rzo1! A great improvements.

See a few minor inline comments, mostly around protocol configurations.

But we can move these also to another issue / PR. I'll be also happy to change the docs directly.

@rzo1
Copy link
Copy Markdown
Contributor Author

rzo1 commented Mar 27, 2026

Hi @sebastian-nagel

thanks for reviewing. I have addressed the comments and added the suggest redirection section :)

@rzo1 rzo1 merged commit fbefb88 into main Mar 27, 2026
1 check passed
@rzo1 rzo1 deleted the doc-improvements branch March 27, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants