Re: SolrJ Tutorial

2011-03-03 Thread Bing Li
Dear Lance, Could you tell me where I can find the unit tests code? I appreciate so much for your help! Best regards, LB On Sat, Jan 22, 2011 at 3:58 PM, Lance Norskog goks...@gmail.com wrote: The unit tests are simple and show the steps. Lance On Fri, Jan 21, 2011 at 10:41 PM, Bing Li

Re: SolrJ Tutorial

2011-03-03 Thread Grijesh
It comes with every solr source code download directory under src/test - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Tutorial-tp2307113p2631223.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrJ Tutorial

2011-01-22 Thread Bing Li
I got the solution. Attach one complete sample code I made as follows. Thanks, LB package com.greatfree.Solr; import org.apache.solr.client.solrj.SolrServer; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.impl.CommonsHttpSolrServer; import

SolrJ Tutorial

2011-01-21 Thread Bing Li
Hi, all, In the past, I always used SolrNet to interact with Solr. It works great. Now, I need to use SolrJ. I think it should be easier to do that than SolrNet since Solr and SolrJ should be homogeneous. But I cannot find a tutorial that is easy to follow. No tutorials explain the SolrJ

Re: SolrJ Tutorial

2011-01-21 Thread Lance Norskog
The unit tests are simple and show the steps. Lance On Fri, Jan 21, 2011 at 10:41 PM, Bing Li lbl...@gmail.com wrote: Hi, all, In the past, I always used SolrNet to interact with Solr. It works great. Now, I need to use SolrJ. I think it should be easier to do that than SolrNet since Solr