Skip to content

Commit 76e68ee

Browse files
authored
simplify DLS role descriptor (#180)
1 parent 444e05a commit 76e68ee

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# osx
22
.idea
3+
*.iml
34
.DS_Store
45
.ipynb_checkpoints
56
*.egg-info

Diff for: example-apps/internal-knowledge-search/api/app.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ def api_key():
134134
"template": {
135135
"params": {"access_control": permissions},
136136
"source": """{
137-
"bool": {
138-
"filter": {
139137
"bool": {
140138
"should": [
141139
{
@@ -154,9 +152,7 @@ def api_key():
154152
}
155153
]
156154
}
157-
}
158-
}
159-
}""",
155+
}""",
160156
}
161157
},
162158
}

0 commit comments

Comments
 (0)