Re: Dynamic creation of cores for this use case.

2012-05-10 Thread pprabhcisco123
Hi sujatha, Basically i just want to explain the use case . The use case is described below, 1. Create a VM running solr, with one core per customer 2. Index all of each customer's data (config text, metadata, etc) into a single core 3. Create one fake "partner" per 30 custome

Re: Dynamic creation of cores for this use case.

2012-05-10 Thread pprabhcisco123
Hi, Thanks sujatha for your response. I tried to create the core as per the blog url that you gave. But in that mkdir -p /etc/solr/conf/$name/conf cp -a /etc/solr/conftemplate/* /etc/solr/conf/$name/conf/ sed -i "s/CORENAME/$name/" /etc/solr/conf/$name/conf/solrconfig.xml curl "h

How to create cores for each customers.

2012-05-09 Thread pprabhcisco123
Hi , I have a requirement to create cores for each customers. I tried creating cores using the below code CoreAdminRequest.Create create = new CoreAdminRequest.Create(); CoreAdminRequest.createCore(indexName+i, "C://solr/", solr); It c

Re: Configuration steps to create dynamic core

2012-05-09 Thread pprabhcisco123
Hi I tried to create cores dynamically using the below code, CoreAdminResponse statusResponse = CoreAdminRequest.getStatus(indexName, solr); coreExists = statusResponse.getCoreStatus(indexName).size() > 0; System.out.println("got the cor

Re: Configuration steps to create dynamic core

2012-05-09 Thread pprabhcisco123
Hi Dave, I tried to create core programmatically as below. But getting following error. CoreAdminResponse statusResponse = CoreAdminRequest.getStatus(indexName, solr); coreExists = statusResponse.getCoreStatus(indexName).size() > 0;

Configuration steps to create dynamic core

2012-05-09 Thread pprabhcisco123
Hi, I am trying to create core dynamically. what are the configuration steps that needs to be followed to do the same. Please let me know if you have any idea on that Thanks Prabhakarn.P -- View this message in context: http://lucene.472066.n3.nabble.com/Configuration-steps-to-create

Re: Dynamic creation of cores for this use case.

2012-05-08 Thread pprabhcisco123
Hi, I tried to create core by simply hitting the below url http://localhost:8983/solr/admin/cores?action=CREATE&name=core3&instanceDir=C://solr&config=solrconfig.xml&schema=schema.xml&dataDir=C://solr/data It made a entry in the solr.xml file . but the core directory is not created. Plea

Re: Dynamic creation of cores for this use case.

2012-04-30 Thread pprabhcisco123
Thanks kuli, for your response. We tried to implement as per the instruction. But the problem again is how to create index for every thirty customers sepertaley. is there any programmatic way out to do or do we need to create query in configuration file. Thanks Prabakarab.P -- View this messa

Re: Dynamic creation of cores for this use case.

2012-04-26 Thread pprabhcisco123
Hi, Thanks Erick for your response . Actually , the total no of customers is 4500 and every group of customers say 30 is a considered to be a partner or agent. The use case is to create a core for each customer as well as partner . Since its very difficult to create cores statically in solr.x

Dynamic creation of cores for this use case.

2012-04-25 Thread pprabhcisco123
Hi everyone , I am new to solr. I have a use case which describes as below, I have a use case to create cores based on customers and partners. There are about 2500 customers each customers having on an average of 1 devices. The partner is a group of customers say 30 . So , we have cust