Slide 37
Slide 37 text
༻ྫ۟查
# curl --silent -XPOST http://localhost:9200/moedict/revised/_search'?pretty’\
-d '{query:{text:{example: "ߚᒭເ" }}}'
{
"took" : 8,
"timed_out" : false,
"_shards" : {
"total" : 5,
"successful" : 5,
"failed" : 0
},
"hits" : {
"total" : 485,
"max_score" : 5.116848,
"hits" : [ {
"_index" : "moedict",
"_type" : "revised",
"_id" : "ঞຊ",
"_score" : 5.116848, "_source" : {"heteronyms":[{"bopomofo":"ㄔㄠ ㄅㄣ
ˇ","pinyin":"chāo běn","bopomofo2":"chāu běn","definitions":[{"link":["ຠҝʮሜຊʯɺʮᭁ
ຊʯɻ"],"example":["ɿʮঞຊߚᒭເʯɻ"],"synonyms":"खຊ","def":"खঞతॻ
੶ɻ"}]}],"title":"ঞຊ"}
}, {
"_index" : "moedict",
"_type" : "revised",
"_id" : "Ұ໊",
"_score" : 4.27241, "_source" : {"heteronyms":[{"bopomofo":"ㄧ ㄇㄧㄥˊ","pinyin":"yī
míng","bopomofo2":"yī míng","definitions":[{"quote":["ߚᒭເɽୈ࢛ेീճɿʮԼᤴᦛ೭ೕ
13年4月20日星期六