From 199dee9bd62b510d7f4308187f5e428a4af0bd65 Mon Sep 17 00:00:00 2001 From: Jonathan Moody <103143855+moodyjon@users.noreply.github.com> Date: Thu, 17 Nov 2022 10:48:40 -0600 Subject: [PATCH] Remove alternate code commented out. --- hub/common.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hub/common.py b/hub/common.py index a3a6d80..00cdcb5 100644 --- a/hub/common.py +++ b/hub/common.py @@ -943,7 +943,6 @@ def flatten(field, d): else: # require match value yield {"match": {field: {"query": d}}} - #yield {"term": {field: {"value": d}}} # query field for list of top-level dictionary keys query['must'].append({"terms": {key: list(value.keys())}}) # query field _obj for nested properties