Skip to content

Commit

Permalink
added createdAt and updatedAt to es mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
Junjiequan committed Sep 19, 2024
1 parent ef48549 commit 793b167
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/elastic-search/configuration/datasetFieldMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ export const datasetMappings: MappingObject = {
endTime: {
type: "date",
},
createdAt: {
type: "date",
},
updatedAt: {
type: "date",
},
scientificMetadata: {
type: "nested",
dynamic: true,
Expand Down

0 comments on commit 793b167

Please sign in to comment.