miku / esbulk

Bulk indexing command line tool for elasticsearch.
GNU General Public License v3.0
278 stars 41 forks source link

Support for parent id #27

Open ivdelchev opened 5 years ago

ivdelchev commented 5 years ago

Hi,

Is it possible to bulk index child documents? E.g. the parent_id can be a part of the events to be submitted and "chosen" via command-line parameter, similar to id.

-parent-id string
          name of field to use as parent id field

Thanks, Ivan

miku commented 5 years ago

Sorry for catching up with this so late. Currently it is not possible, but is sound like an interesting addition.