couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From itthuyloi <itthuy...@gmail.com>
Subject Search data in CouchDb!
Date Mon, 20 Feb 2012 03:56:19 GMT
I'm using ElasticSearch (PHP Elastica) to integarate CouchDb.
Ex:
Doc 1: {"_id": "ART_dssdfsdf", "module": "articles", "title": "Tieng Lang
Viet Nam ....."}
Doc 2: {"_id": "USE_dss4dfsdf", "module": "user", "fullname": "Nguyen Van
A"}
Doc 3: {"_id": "ART_dssdf3sdf", "module": "articles", "title": "Tieng Lang
Viet Nam  3....."}
.......
There are so many documents which is distinguished by "module".
Now, I want to map its together by term, ex: type: articles will be listing
all doc with module=articles.....
But I don't know how to do it! Please help me! Thanks!
I try to search hard, and found: http://ruflin.github.com/Elastica/
Therefore, I search in all document. :(

--
View this message in context: http://couchdb-development.1959287.n2.nabble.com/Search-data-in-CouchDb-tp7300195p7300195.html
Sent from the CouchDB Development mailing list archive at Nabble.com.

Mime
View raw message