Daniel Alheiros wrote:
Excellent.
I just added SOLR-20 to trunk.
you will need:
1. checkout trunk
2. ant dist
3. include:
apache-solr-1.3-dev-common.jar
apache-solr-1.3-dev-solrj.jar
solrj-lib/*.jar
Here is the basic interface:
http://svn.apache.org/repos/asf/lucene/solr/trunk/client/java/solrj/src/org/apache/solr/client/solrj/SolrServer.java
For example setting up the two implementations:
http://svn.apache.org/repos/asf/lucene/solr/trunk/client/java/solrj/test/org/apache/solr/client/solrj/embedded/
server = new CommonsHttpSolrServer( url );
server = new EmbeddedSolrServer( SolrCore.getSolrCore() );
Give it a go!
- - - -
As a side note, trunk has had a LOT of changes recently. Now (more then
usual) i would recommend against using trunk for anything important.
The API and structure is moving around (1.3 will be compatible with 1.2
API, but there is a good chance something is broken now)
ryan