Skip to main content

MemoryClusterConnector

Crawl state held in memory only, with nothing written to disk.

Notes

Keeps the whole crawl state in memory, with no file and no external infrastructure. Fast to start, nothing to clean up, and nothing survives the JVM exiting — the next run starts from scratch.

That makes it a good fit for tests, one-off crawls, and embedded runs where a state file would be in the way. It is the wrong fit for anything you intend to resume or crawl incrementally across runs; use MVStoreClusterConnector, the default, for that.

Within a single JVM the cluster is cached, so several crawl sessions using this connector do share state — incremental crawling works across sessions, just not across restarts.

Examples

clusterConnector:
class: MemoryClusterConnector

Usage

Full configuration skeleton, with every option and its default
class: MemoryClusterConnector
noop: string