If you need to use solr in an embedded application, this is the recommended
approach. It allows you to work with the same interface whether or not you
have access to HTTP.

And it is not thread safe.

On Sat, Oct 6, 2012 at 1:58 AM, balaji.gandhi
<balaji.gan...@apollogrp.edu>wrote:

> Sushil, we are trying to call the VIP in front of the SOLR nodes to
> distribute the update load.
>
> Also is EmbeddedSolrServer thread safe?
>
> Balaji Gandhi, Senior Software Developer, Horizontal Platform Services
> Product Engineering  │  Apollo Group, Inc.
> 1225 W. Washington St.  |  AZ23  |  Tempe, AZ  85281
> Phone: 602.713.2417  |  Email: balaji.gan...@apollogrp.edu<mailto:
> balaji.gan...@apollogrp.edu>
>
> P Go Green. Don't Print. Moreover soft copies can be indexed by algorithms.
>
> From: Sushil jain [via Lucene] [mailto:
> ml-node+s472066n4012179...@n3.nabble.com]
> Sent: Friday, October 05, 2012 1:23 PM
> To: Balaji Gandhi
> Subject: Re: SolrJ - IOException
>
> Yes, I'd recommend EmbeddedSolrServer, because it doesn't require any web
> server for read/write/update/delete operations.
>
> On Sat, Oct 6, 2012 at 1:48 AM, balaji.gandhi
> <[hidden email]</user/SendEmail.jtp?type=node&node=4012179&i=0>>wrote:
>
> > Sushil,
> >
> > 30 TPS = 30 transactions (updates) per second.
> >
> > Is the recommendation to use EmbeddedSolrServer instead of
> HttpSolrServer?
> >
> > Thanks,
> > Balaji
> >
> > Balaji Gandhi, Senior Software Developer, Horizontal Platform Services
> > Product Engineering  │  Apollo Group, Inc.
> > 1225 W. Washington St.  |  AZ23  |  Tempe, AZ  85281
> > Phone: 602.713.2417  |  Email: [hidden
> email]</user/SendEmail.jtp?type=node&node=4012179&i=1><mailto:
> > [hidden email]</user/SendEmail.jtp?type=node&node=4012179&i=2>>
> >
> > P Go Green. Don't Print. Moreover soft copies can be indexed by
> algorithms.
> >
> > From: Sushil jain [via Lucene] [mailto:
> > [hidden email]</user/SendEmail.jtp?type=node&node=4012179&i=3>]
> > Sent: Friday, October 05, 2012 1:14 PM
> > To: Balaji Gandhi
> > Subject: Re: SolrJ - IOException
> >
> > Balaji,
> >
> > What is 30 TPS ?
> >
> > Toke,
> >
> > You should use EmbeddedSolrServer Instead.
> >
> >
> >
> > On Fri, Oct 5, 2012 at 11:42 PM, balaji.gandhi
> > <[hidden email]</user/SendEmail.jtp?type=node&node=4012172&i=0>>wrote:
> >
> > > Hi Toke,
> > >
> > > Were you able to find anything on this issue? We are running at 30 TPS
> > and
> > > using the default HttpSolrServer for the posts.
> > >
> > > [cid:image001.png@01CDA2EA.370A6ED0]
> > >
> > > Thanks,
> > > Balaji
> > >
> > > Balaji Gandhi, Senior Software Developer, Horizontal Platform Services
> > > Product Engineering  │  Apollo Group, Inc.
> > > 1225 W. Washington St.  |  AZ23  |  Tempe, AZ  85281
> > > Phone: 602.713.2417  |  Email: [hidden
> > email]</user/SendEmail.jtp?type=node&node=4012172&i=1><mailto:
> > > [hidden email]</user/SendEmail.jtp?type=node&node=4012172&i=2>>
> > >
> > > P Go Green. Don't Print. Moreover soft copies can be indexed by
> > algorithms.
> > >
> > > From: Toke Eskildsen [via Lucene] [mailto:
> > > [hidden email]</user/SendEmail.jtp?type=node&node=4012172&i=3>]
> > > Sent: Tuesday, September 25, 2012 12:19 AM
> > > To: Balaji Gandhi
> > > Subject: Re: SolrJ - IOException
> > >
> > > On Tue, 2012-09-25 at 01:50 +0200, balaji.gandhi wrote:
> > > > I am encountering this error randomly (under load) when posting to
> Solr
> > > > using SolrJ.
> > > >
> > > > Has anyone encountered a similar error?
> > > >
> > > > org.apache.solr.client.solrj.SolrServerException: IOException occured
> > > when
> > > > talking to server at: http://localhost:8080/solr/profile at
> > > >
> > >
> >
> org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:414)
> > > [...]
> > >
> > > This looks suspiciously like a potential bug in the HTTP keep-alive
> flow
> > > that we encountered some weeks ago. I am guessing that you are issuing
> > > more than 100 separate updates/second. Could you please provide the
> full
> > > stack trace?
> > >
> > >
> > > ________________________________
> > > If you reply to this email, your message will be added to the
> discussion
> > > below:
> > >
> >
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4010082.html
> > > To unsubscribe from SolrJ - IOException, click here<
> > > >.
> > > NAML<
> > >
> >
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > > >
> > >
> > > ________________________________
> > > This message is private and confidential. If you have received it in
> > > error, please notify the sender and remove it from your system.
> > >
> > >
> > >
> > > image001.png (37K) <
> > > http://lucene.472066.n3.nabble.com/attachment/4012130/0/image001.png>
> > >
> > >
> > >
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4012130.html
> > > Sent from the Solr - User mailing list archive at Nabble.com.
> >
> > ________________________________
> > If you reply to this email, your message will be added to the discussion
> > below:
> >
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4012172.html
> > To unsubscribe from SolrJ - IOException, click here<
> > >.
> > NAML<
> >
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> > >
> >
> > ________________________________
> > This message is private and confidential. If you have received it in
> > error, please notify the sender and remove it from your system.
> >
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4012176.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4012179.html
> To unsubscribe from SolrJ - IOException, click here<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4010026&code=YmFsYWppLmdhbmRoaUBhcG9sbG9ncnAuZWR1fDQwMTAwMjZ8LTEwNzE2NTA1NDI=
> >.
> NAML<
> http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
>
> ________________________________
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-tp4010026p4012182.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to