couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Søren Hilmer ...@widetrail.dk>
Subject indexing design document
Date Sat, 29 Mar 2008 22:40:46 GMT
Have I missed something?
I am trying to put the below design document into couch, but it complaints 
with an error saying: Bad special document member: _fulltext_options

Is _fulltext_options something that needs to be added into couch itself? If so 
I have missed that requirement in our discussion.

{
  "_id":"_design/fulltextsearch",
  "_rev":"123",
  "_fulltext_options": {
    "views": {
      "names" : {"index":"view-value", "return":"document"},
      "cities": {"index":"view-key", "return":"view-value"}
    }
  }
}

Have fun
  Søren

-- 
Søren Hilmer, M.Sc., M.Crypt.
wideTrail			Phone:	+45 25481225
Pilevænget 41		Email:	sh@widetrail.dk
DK-8961  Allingåbro	Web:	www.widetrail.dk

Mime
View raw message