Skip to content
Tharanga edited this page Dec 29, 2016 · 7 revisions

searchbox

searchbox is a lightweight search framework built on redis.

Prerequisities

  • JDK 1.8.X
  • Maven 3.3.X
  • Redis 2.6.X

Getting Started

  • Add searchbox dependency.
  <dependency>
  	<groupId>com.lovi.searchbox</groupId>
  	<artifactId>searchbox-core</artifactId>
  	<version>1.0.0-SNAPSHOT</version>
  </dependency>
  • Use searchbox remote repository.
  <repositories>
      <repository>
          <releases>
              <enabled>true</enabled>
              <updatePolicy>always</updatePolicy>
              <checksumPolicy>fail</checksumPolicy>
          </releases>
          <id>searchbox</id>
          <name>searchbox</name>
          <url>http://searchbox.quebic.io/repo/</url>
          <layout>default</layout>
      </repository>
  </repositories>

Sample application

  • Download the movies-search-app application from GitHub
  • Build the application using mvn package
  • Run the application using java -jar target\movies-search-app-0.0.1-SNAPSHOT.jar
  • Consume web app from localhost:1028
Clone this wiki locally