Fixed Xapian search: issue #19 #34

Open
rskthomas wants to merge 3 commits from issue_19 into main
1 changed files with 3 additions and 1 deletions
Showing only changes of commit b7d7b9041d - Show all commits

View File

@ -101,6 +101,8 @@ def create_index(doc, user):
if not doc or not doc.get('uuid'):
return []
_timestamp = doc['endTime']
_uuid = doc['uuid']
_device_id = doc['CUSTOMER_ID']
ev = json.dumps(doc)
index(user.institution, _uuid, ev)
index(user.institution, _device_id, _uuid, _timestamp, ev)