Skip to content

Commit

Permalink
In elasticsearch datasetMapping
Browse files Browse the repository at this point in the history
,ignore_above 256 option for keywords type is added
  • Loading branch information
Junjiequan committed Apr 24, 2024
1 parent 47fa447 commit c360dac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/elastic-search/configuration/datasetFieldMapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ export const datasetMappings: MappingObject = {
},
pid: {
type: "keyword",
ignore_above: 256,
},
creationTime: {
type: "date",
ignore_above: 256,
},
scientificMetadata: {
type: "nested",
Expand All @@ -45,38 +47,49 @@ export const datasetMappings: MappingObject = {
history: {
type: "nested",
dynamic: false,
ignore_above: 256,
},
proposalId: {
type: "keyword",
ignore_above: 256,
},
sampleId: {
type: "keyword",
ignore_above: 256,
},
sourceFolder: {
type: "keyword",
ignore_above: 256,
},
isPublished: {
type: "boolean",
},
type: {
type: "keyword",
ignore_above: 256,
},
keywords: {
type: "keyword",
ignore_above: 256,
},
creationLocation: {
type: "keyword",
ignore_above: 256,
},
ownerGroup: {
type: "keyword",
ignore_above: 256,
},
accessGroups: {
type: "keyword",
ignore_above: 256,
},
sharedWith: {
type: "keyword",
ignore_above: 256,
},
ownerEmail: {
type: "keyword",
ignore_above: 256,
},
};

0 comments on commit c360dac

Please sign in to comment.