Hello,

I encountered blob indexing problem and found convertType solution in
FAQ<http://wiki.apache.org/solr/DataImportHandlerFaq#Blob_values_in_my_table_are_added_to_the_Solr_document_as_object_strings_like_B.401f23c5>

I was wondering why it is not enabled by default and found the
following comment
<http://www.lucidimagination.com/search/document/169e6cc87dad5e67/dataimporthandler_and_blobs#169e6cc87dad5e67>in
mailing list:

"We used to attempt type conversion from the SQL type to the field's given
type. We
found that it was error prone and switched to using the ResultSet#getObject
for all columns (making the old behavior a configurable option –
"convertType" in JdbcDataSource)."

Why it is error prone? Is it safe enough to enable convertType for all jdbc
data sources by default? What are the side effects?

Thanks in advance,
Alex

Reply via email to