查询从0到10000条的记录。多字段匹配关键字。
GET k12oos/resource/_search?size=10000&from=0
{"query" : {"bool" : { "must": [{ "bool" : { "should": [ { "match": { "name" : "北"}}, { "match": { "gradeName" : "初二"}}, { "match": { "courseName" : "PPT"}}, { "match": { "mediaTypeName" : "北"}}, { "match": { "resourceTypeName" : "北"}}, { "match": { "chapterId" : "北"}},{ "match": { "mediaType" : "1"}}]
}
}]
}
}
}
新闻热点
疑难解答