208 lines
4.7 KiB
JSON
208 lines
4.7 KiB
JSON
{
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"html": {
|
|
"type": "text"
|
|
},
|
|
"content": {
|
|
"type": "text",
|
|
"fields": {
|
|
"fa": {
|
|
"type": "text",
|
|
"analyzer": "normal_analyzer_fa",
|
|
"search_analyzer": "normal_analyzer_fa",
|
|
"search_quote_analyzer": "phrase_analyzer_fa"
|
|
},
|
|
"ph": {
|
|
"type": "text",
|
|
"analyzer": "phrase_analyzer_fa",
|
|
"search_analyzer": "phrase_analyzer_fa",
|
|
"search_quote_analyzer": "phrase_analyzer_fa"
|
|
}
|
|
}
|
|
},
|
|
"meet_info": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"format": {
|
|
"type": "keyword"
|
|
},
|
|
"author": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"term_info": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"format": {
|
|
"type": "keyword"
|
|
},
|
|
"author": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"title": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"tree_info": {
|
|
"properties": {
|
|
"parent_id": {
|
|
"type": "keyword"
|
|
},
|
|
"child_order": {
|
|
"type": "double"
|
|
},
|
|
"level": {
|
|
"type": "integer"
|
|
},
|
|
"full_path": {
|
|
"type": "text"
|
|
},
|
|
"title": {
|
|
"type": "text"
|
|
},
|
|
"path_headings": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"content_len": {
|
|
"type": "integer"
|
|
},
|
|
"word_len": {
|
|
"type": "integer"
|
|
},
|
|
"tags": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"keywords": {
|
|
"type": "text",
|
|
"fields": {
|
|
"keyword": {
|
|
"type": "keyword",
|
|
"ignore_above": 256
|
|
}
|
|
}
|
|
},
|
|
"sort_date_timestamp": {
|
|
"type": "long"
|
|
},
|
|
"nlp_parses": {
|
|
"properties": {
|
|
"main_type": {
|
|
"type": "keyword"
|
|
},
|
|
"nlp_type": {
|
|
"type": "keyword"
|
|
},
|
|
"begin": {
|
|
"type": "integer"
|
|
},
|
|
"end": {
|
|
"type": "integer"
|
|
},
|
|
"text": {
|
|
"type": "text"
|
|
},
|
|
"referes": {
|
|
"type": "keyword"
|
|
},
|
|
"dependency_infos": {
|
|
"type": "nested"
|
|
}
|
|
}
|
|
},
|
|
"embeddings": {
|
|
"type": "dense_vector",
|
|
"dims": 768,
|
|
"index": true,
|
|
"similarity": "cosine"
|
|
},
|
|
"file_links": {
|
|
"properties": {
|
|
"title": {
|
|
"type": "keyword"
|
|
},
|
|
"link": {
|
|
"type": "text"
|
|
},
|
|
"type": {
|
|
"type": "text"
|
|
}
|
|
}
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"user_edit": {
|
|
"type": "integer"
|
|
},
|
|
"user_logs": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "keyword"
|
|
},
|
|
"user_id": {
|
|
"type": "integer"
|
|
},
|
|
"username": {
|
|
"type": "keyword"
|
|
},
|
|
"time_edit": {
|
|
"type": "date"
|
|
},
|
|
"property": {
|
|
"type": "keyword"
|
|
}
|
|
}
|
|
}
|
|
} |