【发布时间】:2011-08-29 05:21:46
【问题描述】:
我的 CouchDB 数据库结构如下:
"custom_details": {
"user_education": [
{
"device_id": "358328030246627",
"college_name": "College",
"college_year": "2014"
},
]
}
"custom_details_1": {
"user_education": [
{
"device_id": "358328030246627",
"college_name": "College",
"college_year": "2014"
},
]
}
我在数组中有很多数组。我正在尝试使用 Elasticsearch 搜索和查找术语,无论它位于数组中的哪个位置。这可能吗?
我一直在浏览here 上的示例,但还没有找到我想要的东西。我尝试过使用 Elastica,PHP 包装器,但没有完全理解如何使用 REST 来做到这一点,我迷路了。不知道字段也可以搜索数据吗?
【问题讨论】:
标签: php rest lucene couchdb elasticsearch