manifoldcf-dev mailing list archives

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


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!

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