experimental interface to fulltext search
This commit is contained in:
parent
170e61f0f1
commit
9a39d0b1cb
|
@ -24,6 +24,12 @@ class CouchRest
|
|||
url = CouchRest.paramify_url "#{@root}/_view/#{name}", params
|
||||
CouchRest.get url
|
||||
end
|
||||
|
||||
# experimental
|
||||
def search params = nil
|
||||
url = CouchRest.paramify_url "#{@root}/_search", params
|
||||
CouchRest.get url
|
||||
end
|
||||
|
||||
def get id
|
||||
slug = CGI.escape(id)
|
||||
|
|
Loading…
Reference in a new issue