tree: 6bc6a36fbd11b80e1b990165a46d5f5ab7ab3ab1
  1. archetype/
  2. configsets/
  3. src/
  4. pom.xml
  5. README.md
external/solr/README.md

stormcrawler-solr

Set of Apache Solr resources for StormCrawler that allows you to create topologies that consume from a Solr collection and store metrics, status or parsed content into Solr.

Getting started

The easiest way is currently to use the archetype for Solr with:

mvn archetype:generate -DarchetypeGroupId=org.apache.stormcrawler -DarchetypeArtifactId=stormcrawler-solr-archetype -DarchetypeVersion=<CURRENT_VERSION>

Be sure to replace <CURRENT_VERSION> with the latest released version, which you can find on search.maven.org.

You'll be asked to enter a groupId (e.g. com.mycompany.crawler), an artefactId (e.g. stormcrawler), a version, a package name and details about the user agent to use.

This will not only create a fully formed project containing a POM with the dependency above but also a set of resources, configuration files and sample topology classes. Enter the directory you just created (should be the same as the artefactId you specified earlier) and follow the instructions on the README file.

You will of course need to have both Apache Storm (2.8.8) and Apache Solr (10.0.0) installed.

Official references:

Available resources