Skip to content

Commit

Permalink
Add reference datatype es mapping, #10552
Browse files Browse the repository at this point in the history
  • Loading branch information
chiatt committed Jan 31, 2024
1 parent 5906282 commit 4336c17
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion arches/app/datatypes/datatypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2589,4 +2589,16 @@ def to_json(self, tile, node):
return json.dumps({"text":new_values})

def collects_multiple_values(self):
return True
return True

def default_es_mapping(self):
mapping = {
"properties": {
"uri": {"type": "keyword"},
"id": {"type": "keyword"},
"labels": {
"properties": {},
},
}
}
return mapping

0 comments on commit 4336c17

Please sign in to comment.