Skip to content

Commit c37dc81

Browse files
committed
change dataset_type field to keyword field
1 parent fa9abcc commit c37dc81

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

search/documents/dataset_document.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ class DatasetDocument(Document):
126126

127127
is_individual_dataset = fields.BooleanField(attr="is_individual_dataset")
128128

129+
dataset_type = fields.KeywordField()
130+
129131
has_charts = fields.BooleanField(attr="has_charts")
130132
download_count = fields.IntegerField(attr="download_count")
131133
trending_score = fields.FloatField(attr="trending_score")
@@ -277,7 +279,6 @@ class Django:
277279
"id",
278280
"created",
279281
"modified",
280-
"dataset_type",
281282
]
282283

283284
related_models = [

0 commit comments

Comments
 (0)