Deletion on some filesystems (those without extents, such as ext3) can take
time. Recent versions of Couch (1.0.0+) rename files into a trash directory
(.delete I believe) before deleting them. If they do not delete immediately,
there may be a reference counting bug where the file descriptor is not
Hi,
I have run CouchDb on linux.
When I do compaction and clean up on View & Database, I saw
size of dababase was decrease through Futon but on the command
line (df -h) I still see it is not decease and still continue a little bit
increase up about (1%).
Another question i
As the OP stated, there's no way to get the rewriter to automatically
string those values without using an array for the key.
Note that the example from the unit tests only does numbers:
xhr = CouchDB.request("GET",
"/test_suite_db/_design/test/_rewrite/simpleForm/basicViewPath/3/8");
But if you
On Tue, Sep 7, 2010 at 11:13 AM, Taras Puchko wrote:
> The docs [1] state that the key must be a proper URL encoded JSON value,
> so _view/by-tag?key=java won't work, but _view/by-tag?key="java" will.
>
> [1] http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options
>
> Cheers,
> Taras
>
>
> O
Hi,
It looks like CouchDB has the same requirement for document ids. This
might pose a problem with clients that build URLs dynamically.
I've tried RESTEasy:
System.out.println(UriBuilder.fromPath("http://localhost/mydb";).segment("a/b+c").build().toString());
It prints:
http://localhost/mydb/a%
Just to wrap this up, I've worked out what to do - passing back the original
request if I want to passthrough a handler.
Cheers,
James.
On 7 Sep 2010, at 13:51, James Jackson wrote:
> Hi all,
>
> I'm just writing some custom auth handlers for a CouchDB cluster we are
> setting up. To do what
The docs [1] state that the key must be a proper URL encoded JSON value,
so _view/by-tag?key=java won't work, but _view/by-tag?key="java" will.
[1] http://wiki.apache.org/couchdb/HTTP_view_API#Querying_Options
Cheers,
Taras
On Tue, Sep 7, 2010 at 8:18 PM, Benoit Chesneau wrote:
>
> On Tue, Sep
I always get lost when trying to re-interpret the URI RFC, but I
understood that it is reserved for queries, and in my case it is in a
path:
Within a path segment, the characters
"/", ";", "=", and "?" are reserved.
According to this, the only reserved character allowed for DB names is
/ t
On Tue, Sep 7, 2010 at 5:56 AM, Taras Puchko wrote:
> Hello,
>
> I'm trying to use a URL segment as a key for a view, like the following:
> {
> "from": "/tags/:tagname",
> "to": "_view/by-tag",
> "query": {"key": ":tagname"}
> }
>
> The problem is that the key have to be JSON-encoded, which com
On 7 Sep 2010, at 17:27, Samuel wrote:
> Is the + symbol special for some reason? Any other character seem to
> work without encoding?
It is a reserved URI character, so it needs to be encoded as a literal value.
Thank you,
I just wanted to use matrix parameters [1] but query should work for me too.
[1] http://www.w3.org/DesignIssues/MatrixURIs.html
Cheers,
Taras
On Tue, Sep 7, 2010 at 7:11 PM, Benoit Chesneau wrote:
> On Tue, Sep 7, 2010 at 9:05 AM, Taras Puchko
> wrote:
> > Hello,
> >
> > Does anyo
Hi,
couchdb is reporting an error if I try to create or delete a database
with a "+" in its name:
PUT /a+ HTTP/1.1
Content-Type:application/json
Content-Length:0
Host:localhost:5984
HTTP/1.1 400 Bad Request
Server: CouchDB/1.1.0a4875101-git (Erlang OTP/R14B)
Date: Tue, 07 Sep 2010 16:04:37 GMT
C
On Tue, Sep 7, 2010 at 9:05 AM, Taras Puchko wrote:
> Hello,
>
> Does anyone know if it's possible to pass matrix parameters to show and list
> functions?
>
> I tried the following rewrite rule: {"from" : "myshow/:id/:extra", "to":
> "_show/myshow/:id"}
>
> _rewrite/myshow/myid/path;m1=v1;m2=v2
>
Hello,
Does anyone know if it's possible to pass matrix parameters to show and list
functions?
I tried the following rewrite rule: {"from" : "myshow/:id/:extra", "to":
"_show/myshow/:id"}
_rewrite/myshow/myid/path;m1=v1;m2=v2
is translated to
_show/myshow/myid?id=myid&extra=path%3Bm1%3Dv1%3Bm2%
Hello,
CouchDB is basically a document store: you store documents in it, that are JSON
objects ( see http://json.org/ ).
A document in CouchDB got 1 fundamental property : the key "_id" that is
unique: two documents can't have the same value for the "_id" property inside a
couchdb database.
So
Hello,
I'm trying to use a URL segment as a key for a view, like the following:
{
"from": "/tags/:tagname",
"to": "_view/by-tag",
"query": {"key": ":tagname"}
}
The problem is that the key have to be JSON-encoded, which complicates my
API. Every client has to know how to JSON-encode strings
Hi all,
I'm just writing some custom auth handlers for a CouchDB cluster we are setting
up. To do what we need to do, in the security context we require, I need to run
two such custom handlers. I believe that I should be able to do this with the
following syntax:
[httpd]
authentication_handler
Joe Hillenbrand wrote:
> That works. Thanks
Futon does paging, but if you want the full list I'd leave out the limit
parameter.
Nils.
> On Thu, Sep 2, 2010 at 5:45 PM, Sean Coates wrote:
>
>>> I am learning couchdb, and I can't find a way to get a list of the
>> _design
>>> documents on a da
Hi,
Thank you very much for sharing that.
I actually got to CouchDB through reading about MongoDB.
I mostly do desktop application using C# in the client side and J2EE on the
server side.
I did some ASP and ASP.NET applications in the past, never ruby though.
I see eye to eye with you about Couch
Hi Ido,
I thought I'd share how I got to know CouchDB.
I heard about it via ruby channels and then read about couchapp however that
had something to do with python and so went back to ruby.
At the time (and now) couchrest was how I interacted with couch using futon
to figure out views.
Then I loo
Hi,
I have successfully download Pages from git and push it to my
couchone.comserver.
The application is working, but...
It is still hard for me to understand how to change it and write my own
application.
1. I don't understand what the ddoc is, but it looks important.
2. I understand fro
21 matches
Mail list logo