The Discovery Search Engine is an enterprise relevancy ranking engine delivered through web services for structured data and free-text search. It supports faceted search, fuzzy matching, geographic search, and query-time calculations, with operational APIs and a built-in web interface for administering indexes, changesets, feeds, dimensions, and query behavior.
Project status: archived for reference and historical use; not actively maintained.
This repository was prepared for open source release with historical commits scrubbed prior to publication. Original internal release branches were not ported to this repository.
- Java JDK 8+ (build is configured with
source/target1.8) - Apache Maven 3.0+
To run the tests:
mvn test
To see the test reports (use mvn site to generate the missing css if required).
mvn -DskipTests -DshowSuccess=false surefire-report:report
open */target/site/surefire-report.html
To run just one test:
mvn -am \
-Dsurefire.failIfNoSpecifiedTests=false \
-pl discovery-www-tests \
-Dtest=com.t11e.discovery.common.http.controller.ResourceControllerTest \
clean test
To run the engine (working directory will be discovery-www-tests/test/server/):
mvn -q -DskipTests install
mvn -f discovery-www-tests exec:exec
To build the distribution:
mvn versions:set -DnewVersion=${VERSION}
mvn -DskipTests clean package
mvn versions:revert
unzip -t discovery-package/target/discovery-${VERSION}-dist.zip
To generate the site and see project information, including a dependency report run:
mvn -DskipTests site site:stage
open target/site/index.html
To check to see if plugins are up to date:
mvn versions:display-plugin-updates
To check to see if dependencies are up to date:
mvn versions:display-dependency-updates
To create a graph of the maven module dependencies:
mvn org.fusesource.mvnplugins:maven-graph-plugin:reactor -Dhide-external=true
open target/reactor-graph.png