diff --git a/.gitignore b/.gitignore index 3ff442e7..80efea55 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ # osx .idea +*.iml .DS_Store .ipynb_checkpoints *.egg-info diff --git a/example-apps/internal-knowledge-search/api/app.py b/example-apps/internal-knowledge-search/api/app.py index cc9daaf3..ade85497 100644 --- a/example-apps/internal-knowledge-search/api/app.py +++ b/example-apps/internal-knowledge-search/api/app.py @@ -134,8 +134,6 @@ def api_key(): "template": { "params": {"access_control": permissions}, "source": """{ - "bool": { - "filter": { "bool": { "should": [ { @@ -154,9 +152,7 @@ def api_key(): } ] } - } - } - }""", + }""", } }, }