Sphinx searchd client (java api)
It's alternative of Sphinx searchd client (java api). Original version could be found at www.sphinxsearch.com
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 www.gnu.org
git clone git://github.com/erka/sphinx-java-api.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/junit-default.properties to src/test/resources/junit.properties 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 maven.apache.org to get more information about maven.
Compile java files
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.