I have the problem when solr put some unexpected value in field.
in schema.xml
<field name="country_ids" type="string" multiValued="true" stored="true" indexed="true" />
in media-jdbc.xml
<field column="country_ids" splitBy="\|" />
and query returns NULL or 2|3|8|9|3 for this field. (all query is to big and works perfectly)
When i do query in browser.
the field holds strange value:
<arr name="country_ids">
<str>[B@6ad21538</str>
</arr>
What I’m missing?
Solr version 3.5
Ok! So i was using this query for importing:
After edited it slightly I’ve got right results.
Changed it to:
If you noutice i added
conver(**MY_STATEMENT** USING latin1)But steel cant explain why. I would appreciate if someone give me an explanation.