我的 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 搜索和查找术语,无论它位于数组中的哪个位置。那可能吗?
我一直在浏览这里的示例,但还没有找到我想要的东西。我尝试过使用Elastica,PHP Wrapper,但在没有完全理解如何使用 REST 做到这一点的情况下,我迷路了。甚至可以在不知道字段的情况下搜索数据吗?