Skip to content

Commit

Permalink
refactor: beginnings of search doc
Browse files Browse the repository at this point in the history
  • Loading branch information
meenahoda committed Mar 12, 2019
1 parent 35050e4 commit 20a1713
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions lib/blueprints/diary-blueprint/search-docs/diary-entry.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"modelId": "diaryEntry",
"attributeMapping": {
"id": "'diaryEntry#'::text ||id::text",
"docId": "id::text",
"domain": "'diary'::text",
"docType": "'tymly_DiaryEntry'::text",
"title": "'title'::text",
"description": "'description'::text",
"additionalTerms": "('{' || start_date_time || ',' || end_date_time || '}')::text[]",
"category": "diary_id::text",
"eventTimestamp": "NULL::timestamp with time zone",
"point": "NULL::text",
"activeEvent": "false::boolean",
"author": "'tymly_diaryEntry'::text",
"teams": "NULL::text[]",
"rating": "NULL::text",
"data": "info::text",
"roles": "'{\"$everyone\"}'::text[]",
"tags": "NULL::text[]",
"language": "'ENG'::text",
"rootAncestorId": "NULL::text",
"sortString": "id::text",
"launches": "''::text",
"created": "_created::timestamp with time zone",
"modified": "_modified::timestamp with time zone"
}
}

0 comments on commit 20a1713

Please sign in to comment.