From: Manepalli, Kalyan [mailto:kalyan.manepa...@orbitz.com] 
Sent: 24 June 2009 19:47
To: solr-user@lucene.apache.org
Subject: RE: How do I set up an embedded server with version 1.3.0 ?

Hi Ian,
        I use the embeddedSolrServer from a Solr Component. 
The code for invoking the embeddedSolrServer looks like this

SolrServer locServer = new
EmbeddedSolrServer(SolrCore.getCoreDescriptor()
                .getCoreContainer(), "locationCore"); Where locationCore
is the core name in the multicore environment.
In single core env you can pass ""


Thanks,
Kalyan Manepalli

----------------------------------------------------

Hi Kalyan,

Thanks for the reply, but it does not work for me as getCoreDescriptor()
is NOT a static method of SolrCore.  So, I am still left trying to
instantiate a SolCore instance to pass to the EmbeddedSolrServer
constructor.

Can you or someone else possibly help me with a working SolrCore
constructor call?

TIA,

Ian.

Website Content Management

Tamar Science Park, 15 Research Way, Plymouth, PL6 8BT

Save a tree, think before printing this email.

This email contains proprietary information, some or all of which may be 
legally privileged. It is for the intended recipient only. If an addressing or 
transmission error has misdirected this email, please notify the author by 
replying to this email. If you are not the intended recipient you may not use, 
disclose, distribute, copy, print or rely on this email. 
 

Email transmission cannot be guaranteed to be secure or error free, as 
information may be intercepted, corrupted, lost, destroyed, arrive late or 
incomplete or contain viruses. This email and any files attached to it have 
been checked with virus detection software before transmission. You should 
nonetheless carry out your own virus check before opening any attachment. GOSS 
Interactive Ltd accepts no liability for any loss or damage that may be caused 
by software viruses.
 
Registered Office: c/o Bishop Fleming, Cobourg House, Mayflower Street, 
Plymouth, PL1 1LG.  Company Registration No: 3553908  
 
 


Reply via email to