We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e22e0a commit 04a9e53Copy full SHA for 04a9e53
elasticsearch_dsl/field.py
@@ -313,6 +313,10 @@ class ConstantKeyword(Keyword):
313
name = "constant_keyword"
314
315
316
+class Wildcard(Keyword):
317
+ name = "wildcard"
318
+
319
320
class Boolean(Field):
321
name = "boolean"
322
_coerce = True
tests/test_field.py
@@ -177,6 +177,11 @@ def test_constant_keyword():
177
assert f.to_dict() == {"type": "constant_keyword"}
178
179
180
+def test_wildcard():
181
+ f = field.Wildcard()
182
+ assert f.to_dict() == {"type": "wildcard"}
183
184
185
def test_rank_features():
186
f = field.RankFeatures()
187
assert f.to_dict() == {"type": "rank_features"}
0 commit comments