Solr 4 (CloudSolrServer and LBHttpSolrServer question)

2013-01-04 Thread Jay Parashar
Hi, I am trying to migrate to Solr 4 (from 3.6) for a multithreaded/multicollection environment using the Solrj java client. I need some clarification of when to use the Cloud Solr Server vs LBHttpSolrServer. Any help is appreciated. Which one do I use? The CloudSolrServer uses the LB server

RE: Solr 4 (CloudSolrServer and LBHttpSolrServer question)

2013-01-04 Thread Jay Parashar
for production if you can. Huge number of bug fixes and improvements. - Mark On Jan 4, 2013, at 10:06 AM, Jay Parashar jparas...@itscape.com wrote: Hi, I am trying to migrate to Solr 4 (from 3.6) for a multithreaded/multicollection environment using the Solrj java client. I need some clarification

Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Jay Parashar
Hi All, I am getting exceptions on trying to create a collection. Any help is appreciated. While trying to create a collection, I got this error Caused by: org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request at

RE: Solr 4 exceptions on trying to create a collection

2013-01-04 Thread Jay Parashar
is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Fri, Jan 4, 2013 at 4:34 PM, Jay Parashar jparas...@itscape.com wrote: Hi All, I am getting exceptions on trying to create a collection. Any help

RE: Solr 4 exceptions on trying to create a collection

2013-01-06 Thread Jay Parashar
/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Fri, Jan 4, 2013 at 6:58 PM, Jay Parashar jparas...@itscape.com wrote: Thanks! I had a different version of httpclient

RE: Max number of core in Solr multi-core

2013-01-07 Thread Jay Parashar
This is the exact approach we use in our multithreaded env. One server per core. I think this is the recommended approach. -Original Message- From: Parvin Gasimzade [mailto:parvin.gasimz...@gmail.com] Sent: Monday, January 07, 2013 7:00 AM To: solr-user@lucene.apache.org Subject: Re: Max

No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
to be working. (Anonymous - via GTD book) On Fri, Jan 4, 2013 at 6:58 PM, Jay Parashar jparas...@itscape.com wrote: Thanks! I had a different version of httpclient in the classpath. So the 2nd exception is gone but now I am back to the first one org.apache.solr.client.solrj.SolrServerException

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
of the mail, I use CloudSolrServer and get the No live SolrServers exception. Any help or direction will of how to create collections (using the collections API) using SolrJ will be highly appreciated. Regards Jay -Original Message- From: Jay Parashar [mailto:jparas...@itscape.com] Sent

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
@lucene.apache.org Subject: Re: No live SolrServers Solr 4 exceptions on trying to create a collection On Jan 7, 2013, at 12:33 PM, Jay Parashar jparas...@itscape.com wrote: With my setup (4 servers running at localhost 8983, 8900, 7574 and 7500) when I manually do a http://127.0.0.1:7500/solr/admin

RE: No live SolrServers Solr 4 exceptions on trying to create a collection

2013-01-07 Thread Jay Parashar
problems using the collections api with the CloudSolrServer. You will be able to do it for 4.1, but for 4.0 you have to use an HttpSolrServer and pick a node to talk to. For 4.0, CloudSolrServer is just good for querying and updating. - Mark On Jan 7, 2013, at 1:20 PM, Jay Parashar jparas

Sor Cloud Autosuggest not working

2013-01-08 Thread Jay Parashar
I recently migrated to Solr Cloud (4.0.0 from 3.6.0) and my auto suggest feature does not seem to be working. It is a typical implementation with a /suggest searchHandler defined on the config. Are there any changes I need to incorporate? Regards Jay

RE: Sor Cloud Autosuggest not working

2013-01-08 Thread Jay Parashar
to use shards.qt to point back to the same request handler for the sub searches. Just a guess - been a while since I've looked at spellcheck distrib support and I'm not 100% positive the suggest stuff is all distrib capable - though I think it should be. - Mark On Jan 8, 2013, at 10:06 AM, Jay

RE: Is Solr Cloud will be helpful in case of Load balancing

2013-02-01 Thread Jay Parashar
Do you just have one instance of Solr then? Because with Solr Cloud, replication is automatic and the zk will handle which node (leader) the data is retrieved from. For Load Balancing, Solr Cloud has a basic Round Robin LB Server which is wrapped by the CloudSolrServer. So if you use the

Indexing multiple pdf's and partial update of pdf

2016-03-23 Thread Jay Parashar
Hi, I have couple of questions regarding indexing files (say pdf). 1) Is there any way to index more than one file to one document with a unique id? One way I think is to do a “extractOnly” of all the documents and then index that extract separately. Is there an easier way? 2) If

RE: Indexing multiple pdf's and partial update of pdf

2016-03-24 Thread Jay Parashar
uXJ43KPkPWEl2imVFDmZQlhQUET7pVRA2PDIOxgqw=bRfqJEeedEKG5nkp5748YxbNMFrUYT3YiNl0Ni2vUBQ=mjl8EQIh28bi_at9AocrELmHdF6oGMDz4_-rPAaBWrI=RnLUMlzU69Qr6D2NPbCH9wig6JLekcfwfGu9kC9l9DA= On Thu, Mar 24, 2016 at 3:43 AM, Jay Parashar <bparas...@slb.com<mailto:bparas...@slb.com>> wrote: > Hi, > >

RE: Multiple data-config.xml in one collection?

2016-04-14 Thread Jay Parashar
You have to specify which one to run. Each DIH will run only one XML (e.g. health-topics-conf.xml) One thing, and please correct if wrong, I have noticed running DataImport for a particular config overwrites the existing data for a document...that is, there is no way to preserve the existing

RE: Multiple data-config.xml in one collection?

2016-04-14 Thread Jay Parashar
Thanks a lot Daniel. -Original Message- From: Davis, Daniel (NIH/NLM) [C] [mailto:daniel.da...@nih.gov] Sent: Thursday, April 14, 2016 11:41 AM To: solr-user@lucene.apache.org Subject: RE: Multiple data-config.xml in one collection? Jay Parashar wrote: > One thing, and please corr

RE: Solr Support for BM25F

2016-04-14 Thread Jay Parashar
To use per-field similarity you have to add to your schema.xml file: And then in individual fields you can use the BM25 with different k1 and b. -Original Message- From: David Cawley [mailto:david.cawl...@mail.dcu.ie] Sent: Thursday, April 14, 2016 11:42 AM To:

RE: [Ext] Influence ranking based on document committed date

2016-08-17 Thread Jay Parashar
This is correct: " I index it and feed it the timestamp at index time". You can sort desc on that field (can be a TrieDateField) -Original Message- From: Steven White [mailto:swhite4...@gmail.com] Sent: Wednesday, August 17, 2016 9:01 AM To: solr-user@lucene.apache.org Subject: [Ext]

Solr on GCE

2016-09-22 Thread Jay Parashar
Hi, Is it possible to have SolrJ client running on Google App Engine to talk to a Solr instance hosted on a compute engine? The solr version is 6.2.0 There is also a similar question on Stack Overflow but no answers http://stackoverflow.com/questions/37390072/httpsolrclient-on-google-app-engine

SolrJ App Engine Client

2016-09-22 Thread Jay Parashar
I sent a similar message earlier but do not see it. Apologize if its duplicated. I am unable to connect to Solr Cloud zkhost (using CloudSolrClient) from a SolrJ client running on Google App Engine. The error message is "java.nio.channels.SocketChannel is a restricted class. Please see the

RE: [Ext] Re: SolrJ App Engine Client

2016-09-22 Thread Jay Parashar
ancreationexception-2Dthrowed-2D=CwIBaQ=uGuXJ > 43KPkPWEl2imVFDmZQlhQUET7pVRA2PDIOxgqw=bRfqJEeedEKG5nkp5748YxbNMFrUY > T3YiNl0Ni2vUBQ=HDJS4ElFF2X939U2LWfIfRIdBJNLvm9q4mvpNmZp7kU=kGg4rdS > 7eJoNjVzljzxek-nIUeMnjxRhjETSDJzdaXY= > when-trying-to-run-my-project > > > On Thu, Sep 22, 201

RE: [Ext] Re: SolrJ App Engine Client

2016-09-22 Thread Jay Parashar
-kgXBObYvgMAjZnac8A=EkfJOFmbVi4fwdp1mBAnpIXC1XHnT8_eN6Jsz1PvDhw= On Thu, Sep 22, 2016 at 1:38 PM, Jay Parashar <bparas...@slb.com> wrote: > I sent a similar message earlier but do not see it. Apologize if its > duplicated. > > I am unable to connect to Solr Cloud zkhost (using Clo

RE: SolrJ App Engine Client

2016-09-22 Thread Jay Parashar
-kgXBObYvgMAjZnac8A=EkfJOFmbVi4fwdp1mBAnpIXC1XHnT8_eN6Jsz1PvDhw= On Thu, Sep 22, 2016 at 1:38 PM, Jay Parashar <bparas...@slb.com> wrote: > I sent a similar message earlier but do not see it. Apologize if its > duplicated. > > I am unable to connect to Solr Cloud zkhost (using CloudS

Re: SolrJ App Engine Client

2016-09-22 Thread Jay Parashar
ancreationexception-2Dthrowed-2D=CwIBaQ=uGuXJ > 43KPkPWEl2imVFDmZQlhQUET7pVRA2PDIOxgqw=bRfqJEeedEKG5nkp5748YxbNMFrUY > T3YiNl0Ni2vUBQ=HDJS4ElFF2X939U2LWfIfRIdBJNLvm9q4mvpNmZp7kU=kGg4rdS > 7eJoNjVzljzxek-nIUeMnjxRhjETSDJzdaXY= > when-trying-to-run-my-project > > > On Thu, Sep 22, 201