Find file
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (39 sloc) 1.95 KB

Sphinx searchd client (java api)


It's alternative of Sphinx searchd client (java api). Original version could be found at

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License. You should have received a copy of the GPL license along with this program; if you did not, you can find it at


git clone git://


This version has full compatibility with jdk 6. If you need compatibility with 1.4 look to tag version-0.9.9-java-1.4


Tests need searchd service with “test1” index. Checkout src/test/resources/sphinx_test.sql for the database setup. The indexer and searchd daemon are automatically started for the tests, but indexer and searchd must be in your path. If you don't have indexer or searchd daemons into your path, you should copy src/test/resources/ to src/test/resources/ and modify sphinx.searchd and sphinx.indexer values depends on your environment.

*Does not work for windows at this moment*


Maven 2 is used as build tool. Please visit to get more information about maven.

mvn clean
Run tests
mvn test
Compile java files
mvn compile
Build jar
mvn clean package
Build jar without test phase
mvn -Dmaven.test.skip=true clean package
Generate reports (findbugs, PMD, PCD, javadoc, code coverage, test report, checkstyle).
mvn clean site

Report could be found at target/site/project-reports.html.