【发布时间】:2015-11-25 11:48:10
【问题描述】:
如何使用 CB 视图在 Couchbase 中实现搜索。我不想使用弹性搜索进行搜索。根据价值搜索文件的最佳方法是什么。例如下面是我的文件。我想实现基于名称、城市、州和国家的搜索。
{
"_id": "location::370794",
"name": "Kenai Riverside Fishing",
"description": "Welcome to the Kenai Riverside Fishing program at Kenai Riverside Lodge, your destination for incredible Alaska fishing experiences. Kenai Riverside Fishing is part of Alaska Wildland Adventures, a long-time operator of guided fishing trips since 1977. Our trips explore the world-famous Kenai River for freshwater species, like king and sockeye salmon, rainbow trout and Dolly Varden. We also fish Resurrection Bay for halibut and silver salmon. Whether you are a seasoned angler or a first time fisherman, we’ll put you on the fish!",
"city": "Cooper Landing",
"state": "Alaska",
"country": "USA",
}
如何使用 couchbase 视图实现这一点?
【问题讨论】:
标签: couchbase