On Wed, Jan 6, 2010 at 2:24 PM, Martin Higham wrote:
> Put the .json files in a directory called _docs, where is the id
> for the document.
>
Perfect ! Thanks.
--
Luciano Resende
http://people.apache.org/~lresende
http://lresende.blogspot.com/
On Wed, Jan 6, 2010 at 1:01 PM, Chris Anderson wrote:
> there is actually a separate index directory called
>
> .my_db_name_design/
>
> inside that directory. within it is 1 index file per design document.
> that file size is the actual index size.
Ah, sorry, missed the dot file!
> we're definit
It worked. yay. this paves to way to dismiss natural ids, which as per
your prediction proved to be a pain and to require very careful
escaping to avoid breaking links.
I don't understand the clock drift problem. When a new question is
created I copy the timestamp as a string from an object to ano
Put the .json files in a directory called _docs, where is the id
for the document.
2010/1/6 Chris Anderson
> On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende
> wrote:
> > On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger
> > wrote:
> >> Just curious, but why don't you just import the
I'll be going to FOSDEM too. If we can have some CouchDB meeting at FOSDEM
that would be great. Count me in!
Berry Groenendijk
[w] http://www.caerleon.nl
On Wed, Jan 6, 2010 at 10:32 PM, Benoit Chesneau wrote:
> On Wed, Jan 6, 2010 at 4:27 PM, Dirk-Willem van Gulik
> wrote:
> > Speaking of this
On Wed, Jan 6, 2010 at 1:04 PM, Matteo Caprari wrote:
> Hi.
>
> About the second view, what about denormalizing and copying question
> creation time in each
> answer? I could then map like this to have each question followed by
> it answers, all in question creation order.
>
> emit([
> doc.quest
On Wed, Jan 6, 2010 at 4:27 PM, Dirk-Willem van Gulik
wrote:
> Speaking of this - who is planning to go to fosdem (www.fosdem.org; brussels,
> in a months time) ?
>
> Thanks,
>
> Dw.
>
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views
And please note that you can compact that view index as well. For
documents that are frequently updated, you will see a huge gain in
both space, build, and query performance by compacting the view
indices (at least based on our experiences at cloudant).
Also, there was some work on impleme
Hi.
About the second view, what about denormalizing and copying question
creation time in each
answer? I could then map like this to have each question followed by
it answers, all in question creation order.
emit([
doc.question_created_at,
doc.question_id,
(doc.question) ? 0 : 1], doc)
I
On Wed, Jan 6, 2010 at 12:57 PM, Nic Pottier wrote:
> On Wed, Jan 6, 2010 at 12:39 PM, Chris Anderson wrote:
>>> Any way to get an insight as to how big the index is? I can see how
>>> big my database is (78M with ~11k docs) but I'd be curious to know how
>>> big that view is stored in memory.
>
On Wed, Jan 6, 2010 at 12:39 PM, Chris Anderson wrote:
>> Any way to get an insight as to how big the index is? I can see how
>> big my database is (78M with ~11k docs) but I'd be curious to know how
>> big that view is stored in memory.
>
> The view is stored on disk. Look in the CouchDB data di
On Wed, Jan 6, 2010 at 11:10 AM, Nic Pottier wrote:
> On Wed, Jan 6, 2010 at 10:48 AM, Chris Anderson wrote:
>> The only catch is that you'll end up with a large index file in the
>> long run. Lucene's indexes should be more compact on disk. Lucene also
>> has more stemming options and will gener
I will be going but I´ve been more interested in using couchdb with
desktopcouch, nevertheless if some one wants to meet I´ll be more than happy
:)
2010/1/6 Dirk-Willem van Gulik
> Speaking of this - who is planning to go to fosdem (www.fosdem.org;
> brussels, in a months time) ?
>
> Thanks,
>
>
On Wed, Jan 6, 2010 at 10:48 AM, Chris Anderson wrote:
> The only catch is that you'll end up with a large index file in the
> long run. Lucene's indexes should be more compact on disk. Lucene also
> has more stemming options and will generally be smarter than your
> tokenizer.
>
> That said, if i
On Wed, Jan 6, 2010 at 10:18 AM, Luciano Resende wrote:
> On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger
> wrote:
>> Just curious, but why don't you just import the samples using curl and POST
>> _bluk_docs instead?
>>
>>
>
> I was just following the "sofa" sample available in the couchDB book,
On Wed, Jan 6, 2010 at 10:10 AM, Nic Pottier wrote:
> Howdy All,
>
> New user playing with CouchDB to evaluate whether it will work for our
> needs. I have a good bit of experience with standard SQL and recently
> with Amazon's SimpleDB, but I'll admit my brain is stretching a bit to
> get the 'c
Hi, Michal!
If you want to get set of keys from view[1] or database[2] you can make POST
request with body consits of needed keys -- for your example:
{'keys': ['a', 'g', 't']}
[1]: http://wiki.apache.org/couchdb/HTTP_view_API
[2]: http://wiki.apache.org/couchdb/HTTP_Bulk_Document_API
---
Alex
Speaking of this - who is planning to go to fosdem (www.fosdem.org; brussels,
in a months time) ?
Thanks,
Dw.
http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal
views which are not the views of the BBC unless specifically stated.
If you have recei
Hello,
I digging in manuals but cannot find the answer. Is it possible to
retrieve in one view query a list of particular documents.
I'd like to pass a list of keys and retrieve contents of these
documents. I cannot use range of keys using startkey and endkey.
I need to indicate specific documents
On Wed, Jan 6, 2010 at 9:59 AM, Klaus Pieslinger
wrote:
> Just curious, but why don't you just import the samples using curl and POST
> _bluk_docs instead?
>
>
I was just following the "sofa" sample available in the couchDB book,
and that was using couchApp and I thought that all could be importe
Howdy All,
New user playing with CouchDB to evaluate whether it will work for our
needs. I have a good bit of experience with standard SQL and recently
with Amazon's SimpleDB, but I'll admit my brain is stretching a bit to
get the 'couch db' way of doing things.
Anyways, in my particular case, I
Just curious, but why don't you just import the samples using curl and POST
_bluk_docs instead?
On Wed, Jan 6, 2010 at 2:54 PM, Luciano Resende wrote:
> I'm starting to play with couchDB and I have a small application that
> is being loaded to couchDB using couchApp and so far so good. Now I
> w
I'm starting to play with couchDB and I have a small application that
is being loaded to couchDB using couchApp and so far so good. Now I
want to also provide some sample data that would be available as
documents to the application and I couldn't find exactly how to do
that, I have tried to add som
http://news.ycombinator.com/item?id=1034846
On 30 Dec 2009, at 18:25, Chris Anderson wrote:
> CouchDB devs and users,
>
> It's almost conference season again, and there will be unprecedented
> demand for CouchDB speakers. I think it'd really help the project to
> have people talking about CouchDB at all the local conferences and
> user gr
I have set up a new EC2 with Ubuntu 9.04 and tested `ctrl + c`. Seems not to
work (was waiting 20min).
On a second instance `/usr/local/etc/init.d/couchdb start` works!
Thank you very much.
Am 06.01.2010 um 14:30 schrieb Matteo Caprari:
> Hi.
>
> `ctrl + z` stops but unlike `ctrl + c` won't k
Hi.
`ctrl + z` stops but unlike `ctrl + c` won't kill it.
If the program is using any resource, it won't be freed. That's why at
the second round you get
Failure to start Mochiweb: eaddrinuse.
After `ctrl +z` you can invoke `bg` to un-stop the process and leave
it running in background.
You can
Hello,
there is a nice and easy to follow CouchDB Wiki article on how to install the
latest CouchDB version manually:
http://wiki.apache.org/couchdb/Getting_started_with_Amazon_EC2
I've followed these steps and it seems like no error occurred during the
installation.
When first running CouchD
28 matches
Mail list logo