【发布时间】:2016-02-10 18:13:20
【问题描述】:
{
"rootElement": {
"names": {
"name": [
"Haseb",
"Anil",
"Ajinkya",
{
"city": "mumbai",
"state": "maharashtra",
"job": {
"second": "bosch",
"first": "infosys"
}
}
]
},
"places": {
"place": {
"origin": "INDIA",
"current": "GERMANY"
}
}
}
}
如果我有上述示例的文档,并且我想搜索“mumbai”或“infosys”之类的值,那么我将如何进行索引和搜索。
【问题讨论】: