Skip to content

Instantly share code, notes, and snippets.

@kharazi
Last active March 5, 2016 12:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kharazi/2a97b39a8cb05b211fba to your computer and use it in GitHub Desktop.
Save kharazi/2a97b39a8cb05b211fba to your computer and use it in GitHub Desktop.
{
"mappings": {
"articles": {
"properties": {
"category_en": {
"type": "string",
"index": "not_analyzed"
},
"category_fa": {
"type": "string",
"index": "not_analyzed"
},
"category_fetched": {
"type": "string"
},
"category_id": {
"type": "string",
"index": "not_analyzed"
},
"content": {
"type": "string",
"analyzer": "persian"
},
"dup_count": {
"type": "integer"
},
"dups": {
"properties": {
"link": {
"type": "string",
"index": "not_analyzed"
},
"picture": {
"type": "string"
},
"publication_date": {
"type": "date",
"format": "dateOptionalTime"
},
"source_fa": {
"type": "string",
"index": "not_analyzed"
},
"source_en": {
"type": "string",
"index": "not_analyzed"
},
"source_id": {
"type": "string",
"index": "not_analyzed"
},
"source_part": {
"type": "string",
"index": "not_analyzed"
},
"title": {
"type": "string"
},
"content": {
"type": "string",
"analyzer": "persian"
}
}
},
"fetched_date": {
"type": "date",
"format": "dateOptionalTime"
},
"link": {
"type": "string",
"index": "not_analyzed"
},
"ner_LOC": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_MISC": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_ORG": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_PERS": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_FAC": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_EVENT": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ner_PRO": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"ners": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"keywords": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"acas_keywords": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"videos": {
"type": "string",
"fields": {
"raw": {
"type": "string",
"index": "not_analyzed"
}
}
},
"picture": {
"type": "string"
},
"video": {
"type": "boolean"
},
"publication_date": {
"type": "date",
"format": "dateOptionalTime"
},
"source_en": {
"type": "string",
"index": "not_analyzed"
},
"source_fa": {
"type": "string",
"index": "not_analyzed"
},
"source_part": {
"type": "string",
"index": "not_analyzed"
},
"source_id": {
"type": "string",
"index": "not_analyzed"
},
"subtitle": {
"type": "string"
},
"title": {
"type": "string"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment