Re: Reducing dependencies of couchdb-*.rpm

2013-08-02 Thread Dave Cottlehuber
On 1 August 2013 09:41, Stock, Ingemar ingemar.st...@philotech.de wrote: Hi Peter, there is no technical reason to do this but I'm working in the aviation industry and there is the philosophy: put only things in the aircraft you really need. This should improve reliability and reduce

couchdb lucene index function missing ) after argument list evaluatorException

2013-08-02 Thread bryan rasmussen
My indexing function was working, but then I decided I wanted to store the whole document (the documents are very simple, no nested objects or functions) so I did index: function(doc) { var ret=new Document(); for (var item in doc) { ret.add('field': doc[item], 'store': 'yes'); } return ret;}

Re: couchdb lucene index function missing ) after argument list evaluatorException

2013-08-02 Thread bryan rasmussen
ah never mind, sorry didn't get lots of sleep last night. On Fri, Aug 2, 2013 at 11:03 AM, bryan rasmussen rasmussen.br...@gmail.comwrote: My indexing function was working, but then I decided I wanted to store the whole document (the documents are very simple, no nested objects or functions)

AW: Reducing dependencies of couchdb-*.rpm

2013-08-02 Thread Stock, Ingemar
Alternatively, if you're in the Aviation industry consider rolling your own release with this erlang https://www.erlang-solutions.com/downloads/download-erlang-otp and the spidermonkey from http://bigcouch.cloudant.com/use. Yes, I think building my own erlang release is the way to go. I will

Re: Reducing dependencies of couchdb-*.rpm

2013-08-02 Thread Peter Lemenkov
2013/8/2 Dave Cottlehuber d...@jsonified.com: Is it possible to get rpm not to depend on a full GUI erlang install? Sure it's possible. You just need to rebuild Erlang rpms without GUI. -- With best regards, Peter Lemenkov.

Re: Reducing dependencies of couchdb-*.rpm

2013-08-02 Thread Jens Alfke
On Aug 2, 2013, at 2:33 AM, Peter Lemenkov lemen...@gmail.com wrote: Is it possible to get rpm not to depend on a full GUI erlang install? Sure it's possible. You just need to rebuild Erlang rpms without GUI. We did this a few years ago for the original Couchbase Mobile (which was

Am I understanding this correctly?

2013-08-02 Thread Yves S. Garret
This is the piece of Javascript code that I'm working with: function(doc) { if('name' in doc 'albums' in doc) { doc.albums.forEach(function(album) { var key = album.title || album.name; var value = {by: doc.name, album: album}; emit(key, value); //emit(key, key);