Index using CSV file

2020-04-18 Thread Shravan Kumar Bolla
Hi,

I'm trying to import data from CSV file from Solr UI and I am completely new to 
Solr. Please provide the necessary configurations to achieve this.




Indexing data from multiple data sources(CSV, RDBMS)

2020-04-18 Thread Shravan Kumar Bolla
Hi,

I am working on indexing data from multiple data sources using a single 
collection. I specified data sources information in the data-config file and 
also updated managed schema.xml by adding the fields from all the data sources 
by specifying the common unique key across all the sources.

Here is a sample config file.

 
>   url="jdbc:mysql://localhost/aaa" user="***" password="***" batchSize="1" />
>   driver="com.microsoft.sqlserver.jdbc.SQLServerDriver" 
> url="jdbc:sqlserver://localhost;databasename=aaa" user="***" password="**"/>
>   
>   
>
>
>   
>
>
>   
> 
>  
> 

Error Details:
Full Import failed:java.lang.RuntimeException:java.lang.RuntimeException:
org.apache.solr.handler.dataimport.DataImportHandlerException: Invalid type for 
data source: Jdbc-2
Processing Document #1

Thanks,
Shravan