]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: es: fix content_type queries
authorYehuda Sadeh <yehuda@redhat.com>
Thu, 24 Jan 2019 01:55:41 +0000 (17:55 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Fri, 25 Jan 2019 23:45:57 +0000 (15:45 -0800)
commitef91c36fbaf062c538d09af87443568e4b064a02
tree67a6c12e4d5a5bacd74726ec7e93e718902d9637
parent9f8bb33fa7dd00a5c220710543618b6ad9e77dcc
rgw: es: fix content_type queries

Fixes: http://tracker.ceph.com/issues/38030
ES attribute is stored as content_type, while we were searching
for contenttype.

Allow searching by contenttype, content_type, and also lastmodified,
and last_modified.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_sync_module_es_rest.cc