-
-
Save chrisberkhout/18284b28a2a7a4090942 to your computer and use it in GitHub Desktop.
ES document mappings - searchable despite "index":"no"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mappings": { | |
"document": { | |
"properties": { | |
"author_ids": { | |
"type": "string" | |
}, | |
"published_on": { | |
"index": "no", | |
"type": "date", | |
"format": "dateOptionalTime" | |
}, | |
"source_ids": { | |
"type": "string" | |
}, | |
"accessed_on": { | |
"index": "no", | |
"type": "date", | |
"format": "dateOptionalTime" | |
}, | |
"authority_rating": { | |
"index": "no", | |
"type": "long" | |
}, | |
"significance_and_impact_en": { | |
"index": "no", | |
"type": "string" | |
}, | |
"url": { | |
"index": "no", | |
"type": "string" | |
}, | |
"tag_ids": { | |
"type": "string" | |
}, | |
"created_at": { | |
"index": "no", | |
"type": "date", | |
"format": "dateOptionalTime" | |
}, | |
"title_en": { | |
"index": "no", | |
"type": "string" | |
}, | |
"updated_at": { | |
"index": "no", | |
"type": "date", | |
"format": "dateOptionalTime" | |
}, | |
"title_pin": { | |
"index": "no", | |
"type": "string" | |
}, | |
"originality_rating": { | |
"index": "no", | |
"type": "long" | |
}, | |
"significance_and_impact_cn": { | |
"index": "no", | |
"type": "string" | |
}, | |
"reference_value_rating": { | |
"index": "no", | |
"type": "long" | |
}, | |
"overall_value_rating": { | |
"index": "no", | |
"type": "long" | |
}, | |
"id": { | |
"type": "string" | |
}, | |
"title_cn": { | |
"index": "no", | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment