manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shinichiro Abe <shinichiro.ab...@gmail.com>
Subject value of DATACOLUMN
Date Mon, 12 Nov 2012 11:03:48 GMT
Hi,

I'm using Solr 4.0 and JDBC connection via PostgreSQL.
The dataQuery is configured below:

SELECT idfield AS $(IDCOLUMN), 'http://server?id=' || idfield AS $(URLCOLUMN), '12345' AS
$(DATACOLUMN) FROM album WHERE idfield IN $(IDLIST)

On Solr side, '12345' was be able to indexed and stored.

But when not-ascii character was configured,

SELECT idfield AS $(IDCOLUMN), 'http://server?id=' || idfield AS $(URLCOLUMN), '€€€'
AS $(DATACOLUMN) FROM album WHERE idfield IN $(IDLIST)

On Solr side, '€€€' was not indexed and stored.

Actually, I configure the column which contains not-ascii characters into DATACOLUMN.
It seems content-type differ between them.
Can JDBC connection control content-type?

Regards,
Shinichiro Abe


Mime
View raw message