Exception while indexing DOC files


(Slava G ) #1

Hi,
Trying to index doc files, installed attachment plugin and using JAVA
API.
I got this exception :

org.elasticsearch.common.util.concurrent.UncategorizedExecutionException:
Failed execution
at
org.elasticsearch.action.support.AdapterActionFuture.actionGet(AdapterActionFuture.java:
49)

when doing :

IndexRequestBuilder indexRequest =
client.prepareIndex(this.tenant,this.type,id).setSource(indexData);
IndexResponse response = indexRequest.execute().actionGet();

Where index data is a map<String, Object> and Object is byte[] of
document.

Is I doing something wrong ?

Thank You and Best Regards.


(fashionalwallet) #2
  • deleted -

(system) #3