RE: RE: Max number of core in Solr multi-core

2013-01-07 Thread Darren Govoni
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 number of core in Solr multi-core I know that but my question is different. Let me ask it in this way. I have a solr with ba

RE: Max number of core in Solr multi-core

2013-01-07 Thread Jay Parashar
number of core in Solr multi-core I know that but my question is different. Let me ask it in this way. I have a solr with base url localhost:8998/solr and two solr core as localhost:8998/solr/core1 and localhost:8998/solr/core2. I have one baseSolr instance initialized as : SolrServer server

Re: Max number of core in Solr multi-core

2013-01-07 Thread Parvin Gasimzade
I know that but my question is different. Let me ask it in this way. I have a solr with base url localhost:8998/solr and two solr core as localhost:8998/solr/core1 and localhost:8998/solr/core2. I have one baseSolr instance initialized as : SolrServer server = new HttpSolrServer( url ); I have a

Re: Max number of core in Solr multi-core

2013-01-07 Thread Erick Erickson
This might help: https://wiki.apache.org/solr/Solrj#HttpSolrServer Note that the associated SolrRequest takes the path, I presume relative to the base URL you initialized the HttpSolrServer with. Best Erick On Mon, Jan 7, 2013 at 7:02 AM, Parvin Gasimzade wrote: > Thank you for your responses

Re: Max number of core in Solr multi-core

2013-01-07 Thread Parvin Gasimzade
Thank you for your responses. I have one more question related to Solr multi-core. By using SolrJ I create new core for each application. When user wants to add data or make query on his application, I create new HttpSolrServer for this core. In this scenario there will be many running HttpSolrServ

Re: Max number of core in Solr multi-core

2013-01-02 Thread Per Steffensen
Furthermore, if you plan to index "a lot" of data per application, and you are using Solr 4.0.0+ (including Solr Cloud), you probably want to consider creating a collection per application instead of a core per application. On 1/2/13 2:38 PM, Erick Erickson wrote: This is a common approach to

Re: Max number of core in Solr multi-core

2013-01-02 Thread Erick Erickson
This is a common approach to this problem, having separate cores keeps the apps from influencing each other when it comes to term frequencies & etc. It also keeps the chances of returning the wrong data do a minimum. As to how many cores can fit, "it depends" (tm). There's lots of work going on ri