On Wed, Mar 16, 2011 at 9:50 PM, Kaushik Chakraborty <kaych...@gmail.com> wrote:
> The query's there in the data-config.xml. And the query's fetching as
> expected from the database.
[...]

Doh! Sorry, had missed that somehow.

So, the relevant part is:
SELECT ... p.message as solr_post_message,

What is the field type for p.message in mysql?
Cannot remember off the top of my head for
mysql, but if it is a TextField, you might want
to look into a ClobTransformer:
http://wiki.apache.org/solr/DataImportHandler#ClobTransformer

Regards,
Gora

Reply via email to