It is seems to be working fine .
But i have few question abt indexing
1)i want do index to each customer as well as partner.
2 )how do i create index to each partner (30 customers) ?
As of now i am index all customer using data-config.xml
you should replace the CoreAdminRequest by CoreAdminResponse
--> CoreAdminResponse e = new CoreAdminRequest().createCore("name",
"instanceDir", newSolrServer);
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944180.html
Sent f
You can also use
CoreAdminRequest.Create e = new CoreAdminRequest().createCore(name,
instanceDir, server, configFile, schemaFile);
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944166.html
Sent from the Solr - User mailing
try with:
CoreAdminRequest.Create e = new CoreAdminRequest().createCore(name,
instanceDir, server);
Regards
--Jamel
--
View this message in context:
http://lucene.472066.n3.nabble.com/How-do-create-dynamic-core-using-SOLRJ-tp3943530p3944163.html
Sent from the Solr - User mailing list archive at
Thanks for response .i tried above ur l but i was getting error
SEVERE: org.apache.solr.common.SolrException: Error executing default
implementa
tion of CREATE
at
org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(Cor
eAdminHandler.java:250)
at
org.apache.solr.handl
Hi,
You can use a simple httpurlrequest to create a new core for each customer
as following :
http://localhost:8983/solr/admin/cores?action=CREATE&name=coreX&instanceDir=path_to_instance_directory&config=config_file_name.xml&schema=schem_file_name.xml&dataDir=data
Regards
Jamel ESSOUSSI
--
Vie