Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

erka/sphinx-java-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sphinx searchd client (java api)

Description

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

Download

git clone git://github.com/erka/sphinx-java-api.git

Compatibility

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

Requirements

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*

Building

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

Clean
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.

Support

About

Sphinx searchd client (java api)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages