Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
TED]> To: solr-user@lucene.apache.org Sent: Thursday, 28 August, 2008 6:30:16 PM Subject: Re: CoreDescriptor explanation and possible bug Hi Nikhil, Can you please describe your use-case? Are you aware of EmbeddedSolrServer? http://wiki.apache.org/solr/Solrj On Thu, Aug 28, 2008 at 6:12 PM,

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Thanks again, this should solve the current problem I am having. Nikhil - Original Message From: Henrib <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, 28 August, 2008 7:42:11 PM Subject: Re: CoreDescriptor explanation and possible bug Nikhil Chhaochharia

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Nikhil Chhaochharia wrote: > > > I am assuming that these are part of some patch which will get applied > before 1.3 releases, is that correct ? > > Nikhil > > Yes, this is part of a patch and no, they most likely will not make it in 1.3. However, I guess the following will bring you even c

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
er); I am assuming that these are part of some patch which will get applied before 1.3 releases, is that correct ? Nikhil - Original Message From: Henrib <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Thursday, 28 August, 2008 7:04:12 PM Subject: Re: CoreDescriptor

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Seems you want something like: public SolrCore nikhilInit(final IndexSchema indexSchema) { final String solrConfigFilename = "solrconfig.xml"; // or else CoreContainer.Initializer init = new CoreContainer.Initializer() { @Override public CoreContainer initialize() { Co

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Shalin Shekhar Mangar
problem in another way, I have a solrconfig.xml but no > schema.xml. I create a IndexSchema object at runtime. I want to now get a > SolrCore object. > > Thanks, > Nikhil > > > > > > - Original Message > From: Henrib <[EMAIL PROTECTED]> > To: solr-

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Nikhil Chhaochharia
Thursday, 28 August, 2008 5:23:48 PM Subject: Re: CoreDescriptor explanation and possible bug Hi, It is likely to be related to how you initialize Solr & create your SolrCore; there has been a few changes to ensure there is always a CoreContainer created which (as its name stands), holds a refer

Re: CoreDescriptor explanation and possible bug

2008-08-28 Thread Henrib
Hi, It is likely to be related to how you initialize Solr & create your SolrCore; there has been a few changes to ensure there is always a CoreContainer created which (as its name stands), holds a reference to all created SolrCore. There is a CoreContainer.Initializer class that allows to easily c