A simple web crawler that visits pages within a domain and adds them to Elasticsearch for searching.
- Install JDK 8+.
- Install Elasticsearch (tested with version 6.1.2 on Ubuntu 17.10) for indexing pages.
If using IntelliJ, "Import Project", and select the build.gradle file. This will build and set up IntelliJ for the project.
Building this application will create an executable jar file that contains all of the application's dependencies.
Build command from the root of spider repository:
./gradlew shadowJar
From within the project directory, run the jar from the command-line.
java -jar ./build/libs/spider.jar
The spider-client is a simple front-end created for querying the populated Elasticsearch cluster.