Elastic Search: Split reusable code to utility classes

As a preparatory step before adding the implementation of the account
index in Elastic Search, split out code that can be reused into utility
classes.

Change-Id: I46e0fe4e4e2ef969565cd2f481ab45c46397016e
Signed-off-by: Dariusz Luksza <dluksza@collab.net>
Signed-off-by: David Pursehouse <dpursehouse@collab.net>
5 files changed
tree: 0cebd3e9fd81ca733ac89dbc1dbabf2935ba1702
  1. gerrit-elasticsearch/
  2. lib/