]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: es: introduce ES types
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 4 May 2018 13:43:34 +0000 (15:43 +0200)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 25 Jan 2019 23:45:56 +0000 (15:45 -0800)
commit2d4e442b096e50e069ef7e696f9c8f336f708d2b
tree209526cb0d02c53bac72021807cc96be239d81e8
parenta9dfd7067f8bee78bf225bcbe484470aaa1a044f
rgw: es: introduce ES types

This commit introduces an enum mapping various ES types. Also encode_json now
has a new member for string type so that this can be changed easily when
upgrading ES versions for eg. wherein new ES engines do not support the string
type anymore.

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_sync_module_es.cc
src/rgw/rgw_sync_module_es.h