154 lines
3.5 KiB
JSON
154 lines
3.5 KiB
JSON
{
|
|
"index": {
|
|
"name": "mn_spr_sanad",
|
|
"aliases": [],
|
|
"index_key": "mnvoice"
|
|
},
|
|
"properties": {
|
|
"ref_id": {
|
|
"type": "keyword"
|
|
},
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"author": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"branch": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"tags": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"begin_year": {
|
|
"type": "integer",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 20
|
|
}
|
|
}
|
|
},
|
|
"format": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"sound_title": {
|
|
"type": "keyword"
|
|
},
|
|
"sound_link": {
|
|
"type": "keyword"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text"
|
|
},
|
|
"ph": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"time_words": {
|
|
"properties": {
|
|
"start_offset": {
|
|
"type": "integer"
|
|
},
|
|
"end_offset": {
|
|
"type": "integer"
|
|
},
|
|
"word": {
|
|
"type": "text"
|
|
},
|
|
"start": {
|
|
"type": "float"
|
|
},
|
|
"end": {
|
|
"type": "float"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"validation": {
|
|
"required": []
|
|
},
|
|
"include_fields": [],
|
|
"is_array": [
|
|
"time_words"
|
|
],
|
|
"query": {
|
|
"default_sort": [
|
|
{
|
|
"_score": "desc"
|
|
},
|
|
{
|
|
"ref_id": "asc"
|
|
},
|
|
{
|
|
"sound_link": "asc"
|
|
}
|
|
],
|
|
"normal": {
|
|
"phrase": {
|
|
"content.ph": 4
|
|
},
|
|
"match": {
|
|
"content": 2
|
|
}
|
|
},
|
|
"filter_keys": {
|
|
"f_au": "author",
|
|
"f_tg": "tags",
|
|
"f_br": "branch",
|
|
"f_fo": "format",
|
|
"f_ye": "begin_year"
|
|
},
|
|
"highlight": {
|
|
"pre_tags": [
|
|
"<span class='text__orange'>"
|
|
],
|
|
"post_tags": [
|
|
"</span>"
|
|
],
|
|
"fields": {
|
|
"title.fa": {},
|
|
"title.ph": {},
|
|
"content.fa": {},
|
|
"content.ph": {}
|
|
}
|
|
}
|
|
}
|
|
} |