You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by dipti khullar <di...@gmail.com> on 2009/11/19 14:55:12 UTC
Using DirectSolrConnection with Solrj
Hi Solr experts
We are using Solrj in our application -
- CommonsHttpSolrServer (superclass:SolrServer)
We are planning to compare the performance results of SolrServer with
DirectSolrConnection.
1. I couldn't find any such class (as SolrServer for HTTPrequests) which
supports DirectSolrConnection in SolrJ
2. Also I found out some posts on memory leak issues with Solr 1.3, lucene
2.4.0 verison if DirectSolrConnectionis used.
Should this be avoided with lucene 2.4?
Can somebody guide me on these two queries.
Thanks
Dipti Khullar
Re: Using DirectSolrConnection with Solrj
Posted by Lance Norskog <go...@gmail.com>.
DirectSolrConnection is older and has not been changed in a year.
SolrJ is the preferred way to code an app against Solr.
SolrJ with the Embedded server will have the same performance
characteristics as DirectSolrConnection.
On Thu, Nov 19, 2009 at 5:55 AM, dipti khullar <di...@gmail.com> wrote:
> Hi Solr experts
>
> We are using Solrj in our application -
> - CommonsHttpSolrServer (superclass:SolrServer)
>
> We are planning to compare the performance results of SolrServer with
> DirectSolrConnection.
>
> 1. I couldn't find any such class (as SolrServer for HTTPrequests) which
> supports DirectSolrConnection in SolrJ
>
> 2. Also I found out some posts on memory leak issues with Solr 1.3, lucene
> 2.4.0 verison if DirectSolrConnectionis used.
> Should this be avoided with lucene 2.4?
>
> Can somebody guide me on these two queries.
>
> Thanks
> Dipti Khullar
>
--
Lance Norskog
goksron@gmail.com