Hello Dear All,
I am beginner to ElasticSearch and very much interested in ElasticSearch. I
am using ElasticSearch 0.90.5 binary on Windows. I have copied Apache Tika
1.4 jar file (tika-app-1.4.jar) and
elasticsearch-mapper-attachments-1.9.0.jar into lib folder of
elasticsearch. When I index pdf file, it gives me the following exception:
{
"error": "ClassCastException[java.util.ArrayList cannot be cast to
java.util.Map]",
"status": 500
}
I am using Dell Core i3 with Windows 7 64-bit.
If you plan to index a lot of documents then I would consider extracting
text from PDF on the client side - i.e. before you send the data to
Elasticsearch. PDF parsing can be quite expensive and the size of the data
in index request will be probably much smaller if it contains pure plain
text compared to Base64 encoded PDF file.
Hello Dear All,
I am beginner to Elasticsearch and very much interested in Elasticsearch.
I am using Elasticsearch 0.90.5 binary on Windows. I have copied Apache
Tika 1.4 jar file (tika-app-1.4.jar) and elasticsearch-mapper-**attachments-1.9.0.jar
into lib folder of elasticsearch. When I index pdf file, it gives me the
following exception:
{
"error": "ClassCastException[java.util.**ArrayList cannot be cast to
java.util.Map]",
"status": 500
}
I am using Dell Core i3 with Windows 7 64-bit.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.