Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P953
origin index mapping with metadata
Active
Public
Actions
Authored by
vsellier
on Feb 18 2021, 11:14 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
{
"origin"
:
{
"mappings"
:
{
"properties"
:
{
"has_visits"
:
{
"type"
:
"boolean"
},
"intrinsic_metadata"
:
{
"type"
:
"nested"
,
"properties"
:
{
"@context"
:
{
"type"
:
"keyword"
},
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/applicationCategory"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/author"
:
{
"properties"
:
{
"@list"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/affiliation"
:
{
"properties"
:
{
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/name"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
},
"org/email"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/familyName"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/givenName"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/name"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/url"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
}
}
},
"org/codeRepository"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/contributor"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/affiliation"
:
{
"properties"
:
{
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/name"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
},
"org/email"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/familyName"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/givenName"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
},
"org/dateCreated"
:
{
"properties"
:
{
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@value"
:
{
"type"
:
"date"
}
}
},
"org/dateModified"
:
{
"properties"
:
{
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@value"
:
{
"type"
:
"date"
}
}
},
"org/datePublished"
:
{
"properties"
:
{
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@value"
:
{
"type"
:
"date"
}
}
},
"org/description"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/downloadUrl"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/email"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/funder"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"@type"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
},
"http://schema"
:
{
"properties"
:
{
"org/name"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
},
"org/identifier"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/keywords"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/license"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/name"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/operatingSystem"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/programmingLanguage"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/relatedLink"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/softwareRequirements"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/url"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"org/version"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
},
"https://codemeta"
:
{
"properties"
:
{
"github"
:
{
"properties"
:
{
"io/terms/contIntegration"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"io/terms/developmentStatus"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"io/terms/funding"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"io/terms/issueTracker"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"io/terms/maintainer"
:
{
"properties"
:
{
"@value"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
},
"io/terms/referencePublication"
:
{
"properties"
:
{
"@id"
:
{
"type"
:
"text"
,
"fields"
:
{
"keyword"
:
{
"type"
:
"keyword"
,
"ignore_above"
:
256
}
}
}
}
}
}
}
}
}
}
},
"sha1"
:
{
"type"
:
"keyword"
},
"url"
:
{
"type"
:
"text"
,
"fields"
:
{
"as_you_type"
:
{
"type"
:
"search_as_you_type"
,
"doc_values"
:
false
,
"analyzer"
:
"simple"
,
"max_shingle_size"
:
3
}
},
"analyzer"
:
"simple"
}
}
}
}
}
Event Timeline
vsellier
created this paste.
Feb 18 2021, 11:14 AM
2021-02-18 11:14:03 (UTC+1)
vsellier
mentioned this in
T3058: Metadata search is failing with "failed to parse date field"
.
Log In to Comment