manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lagos, Maggie [USA]" <Lagos_Mag...@bah.com>
Subject Custom Elasticsearch output connector
Date Tue, 17 Mar 2015 18:58:24 GMT

Hello,

I have a use-case for which the current Elasticsearch output connector would not work.

The idea is to use MCF to import CSV files to Elasticsearch. However, each row should be indexed
as a separate document into Elasticsearch.

It seems this mostly means overriding ElasticSearchIndex.execute() to execute an HttpPut per
each row and changing IndexRequestEntity.writeTo() to write field names and values  based
on the CSV headers.

I look forward to your response!
Maggie






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message