Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions elasticsearch_dsl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
Nested,
Object,
Percolator,
Point,
RangeField,
RankFeature,
RankFeatures,
Expand Down Expand Up @@ -169,6 +170,7 @@
"NestedFacet",
"Object",
"Percolator",
"Point",
"Q",
"Query",
"Range",
Expand Down
8 changes: 8 additions & 0 deletions elasticsearch_dsl/field.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,14 @@ def _serialize(self, data: Any) -> Optional[str]:
return base64.b64encode(data).decode()


class Point(Field):
name = "point"


class Shape(Field):
name = "shape"


class GeoPoint(Field):
name = "geo_point"

Expand Down
Loading