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 jf...@free.fr on 2009/10/22 11:08:12 UTC
is EmbeddedSolrServer thread safe ?
at SolrJ wiki page : http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer
"CommonsHttpSolrServer is thread-safe and if you are using the following constructor,
you *MUST* re-use the same instance for all requests. ..."
But is it the same for EmbeddedSolrServer ?
Best regards
Jean-François
Re: is EmbeddedSolrServer thread safe ?
Posted by jf...@free.fr.
thanks
----- "Noble Paul നോബിള് नोब्ळ्" <no...@corp.aol.com> a écrit :
| yes
|
| On Thu, Oct 22, 2009 at 2:38 PM, <jf...@free.fr> wrote:
| > at SolrJ wiki page :
| http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer
| >
| > "CommonsHttpSolrServer is thread-safe and if you are using the
| following constructor,
| > you *MUST* re-use the same instance for all requests. ..."
| >
| > But is it the same for EmbeddedSolrServer ?
| >
| > Best regards
| >
| > Jean-François
| >
|
|
|
| --
| -----------------------------------------------------
| Noble Paul | Principal Engineer| AOL | http://aol.com
Re: is EmbeddedSolrServer thread safe ?
Posted by Noble Paul നോബിള് नोब्ळ् <no...@corp.aol.com>.
yes
On Thu, Oct 22, 2009 at 2:38 PM, <jf...@free.fr> wrote:
> at SolrJ wiki page : http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer
>
> "CommonsHttpSolrServer is thread-safe and if you are using the following constructor,
> you *MUST* re-use the same instance for all requests. ..."
>
> But is it the same for EmbeddedSolrServer ?
>
> Best regards
>
> Jean-François
>
--
-----------------------------------------------------
Noble Paul | Principal Engineer| AOL | http://aol.com
Re: is EmbeddedSolrServer thread safe ?
Posted by Reuben A Christie <ch...@knewco.com>.
No it is not same for EmbeddedSolrServer, we learned it hard way, I
guess you would have also learned it by now.
> at SolrJ wiki page : http://wiki.apache.org/solr/Solrj#EmbeddedSolrServer
>
> "CommonsHttpSolrServer is thread-safe and if you are using the following constructor,
> you *MUST* re-use the same instance for all requests. ..."
>
> But is it the same for EmbeddedSolrServer ?
>
> Best regards
>
> Jean-François
>
--
Reuben Christie
-^-
°v°
/(_)\
^ ^