lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Is it possible to use different types of datasource in DIH?
Date Sat, 17 Sep 2011 17:38:56 GMT
> I want to combine data in XML on disk
> and XML online. 
> 
> <dataSource type="FileDataSource" encoding="UTF-8"
> />
> 
> is needed to read all the XML-files on disk and
> 
> <dataSource type="URLDataSource" name="url"
> encoding="UTF-8"
> connectionTimeout="30000" readTimeout="30000"/>
> 
> is needed to get the content from XML online.
> 
> Using them both causes problems as the FileDataSource is
> being used
> eventhough the entity specifically calls for
> datasource="url".
> 
> Is there way to fix this?

Multiple_DataSources?
http://wiki.apache.org/solr/DataImportHandler#Multiple_DataSources

Mime
View raw message