incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ilya Novojilov <novojilov.i...@gmail.com>
Subject getting related documents
Date Sun, 21 Aug 2011 08:57:54 GMT
He||o all
I understand it's a very common request, but I couldn't find a solution.
Say documents are:

{
  title:"doc 1",
  body:"body",
  tags:["tag1","tag2","tag3"]
}

another thing is that Tags have importance value.
So I want to get documents that have tag1,tag2 adn tag3
If there is no such docs - return those with tag1 and tag2
etc.

Mime
View raw message