lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Slight issue with classloading and DataImportHandler
Date Sat, 21 Jun 2008 02:03:42 GMT
My guess, within the next 2 weeks. :)


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch


----- Original Message ----
> From: William Silva <william.wws@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Friday, June 20, 2008 7:04:14 PM
> Subject: Re: Slight issue with classloading and DataImportHandler
> 
> Hi,
> Who knows when it will be available in the nightly builds ?
> Thanks,
> William.
> 
> 
> On Fri, Jun 20, 2008 at 6:36 PM, Chris Hostetter 
> wrote:
> 
> >
> > : But we still prefer the usage of DIH package classes without any prefix.
> > : type="HttpDataSource"
> > : instead of
> > : type="solr.HttpDataSource"
> > :
> > : But users must be able to load their classes using the "solr."
> > format
> >
> > I'm not 100% certain what you mean by that last comment, but it seems like
> > the the most straight forward appraoch that will confuse the least amount
> > of people is for DIH to be consistent with the rest of Solr in how
> > "plugins" are loaded.  The helper methods already exist to make this
> > easy in SolrResourceLoader...
> >
> >  public Class findClass(String cname, String... subpackages)
> >  public Object newInstance(String cname, String ... subpackages)
> >
> > ...all DIH needs to do is pass the appropriate subpackage(s?) ...
> > "handler.dataimport." (and maybe in some cases lists like
> > {"handler.dataimport.", "handler.dataimport.transformer."} if that's the
> > way the code winds up being organized)
> >
> >
> >
> > -Hoss
> >
> >


Mime
View raw message