lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scorpking <>
Subject Re: How to skip current document to index data from DIP
Date Mon, 03 Oct 2011 03:00:15 GMT
Hi, thanks for your reply.
But, when i set attribute onError="skip", There is no data which import.
This is my config. 
    <dataSource type="JdbcDataSource"
url="jdbc:sqlserver://myip;databaseName=VTC_Edu" user="ac" password="ps" 
	<dataSource type="BinURLDataSource" name="dsurl"/>
		<entity name="VTCEduDocument" dataSource="dsdb" pk="pk_document_id"
query="select pk_document_id, s_path_origin from
[VTC_Edu].[dbo].[tbl_Document]" onError="skip"
                <field column="pk_document_id" name="pk_document_id" />				
				<field column="s_path_origin" name="s_path_origin" />						
		<entity processor="TikaEntityProcessor" dataSource="dsurl" format="text"
		transformer="" onError="skip"
				<field column="Author" name="author" meta="true"/>
                <field column="title" name="title" meta="true"/>
                <field column="text" name="text" encodingvn="true"/> 


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message