Hi,
I just noticed that there are some exceptions while indexing couchdb
design docs (created with couchapp).
The couchapp generated design docs are pretty complex. So, maybe there
is a parse failure or in trying to determine the mapping.
I don't have access to my setup now, but IIRC the steps are:
create an app using couchapp and push it to couchdb
$ couchapp generate my_app
$ cd my_app
$ couchapp push . default
Configure the couch river plugin (without any filter).
The _design/my_app document generates an error.
I will check this again in detail tomorrow and update the list.
Regards,
Mahendra
http://twitter.com/mahendra
kimchy
(Shay Banon)
October 4, 2010, 2:11pm
2
If you can, it would be great. I am not couchdb expert (actually, the first
time I started it was to implement the river ). So, I need help from
people who use couchdb to iron things out. If you can provide more
information on the failure, then I can track it down. You mentioned in the
wiki the design doc problem, is there a way that it can be detected that its
a design document, so it won't be indexed?
On Mon, Oct 4, 2010 at 3:46 PM, Mahendra M mahendra.m@gmail.com wrote:
Hi,
I just noticed that there are some exceptions while indexing couchdb
design docs (created with couchapp).
The couchapp generated design docs are pretty complex. So, maybe there
is a parse failure or in trying to determine the mapping.
I don't have access to my setup now, but IIRC the steps are:
create an app using couchapp and push it to couchdb
$ couchapp generate my_app
$ cd my_app
$ couchapp push . default
Configure the couch river plugin (without any filter).
The _design/my_app document generates an error.
I will check this again in detail tomorrow and update the list.
Regards,
Mahendra
http://twitter.com/mahendra
Hi Shay,
On Mon, Oct 4, 2010 at 7:41 PM, Shay Banon wrote:
If you can, it would be great. I am not couchdb expert
Neither am I
If you can provide more information on the failure, then I can
track it down.
I noticed that this was happening for design docs with a lot map
reduce functions and filters. The exception I was getting was:
[0]: index [abcd], type [pqrs], id [_design/abcd], message
[ArrayIndexOutOfBoundsException[10]]
You mentioned in the wiki the design doc problem, is there
a way that it can be detected that its
a design document, so it won't be indexed?
As discussed in the other thread, '_design/*' can be used for
filtering out design docs.
Also, with the patch in Issue #406 , this problem will not happen anymore.
Regards,
Mahendra
On Mon, Oct 4, 2010 at 3:46 PM, Mahendra M mahendra.m@gmail.com wrote:
Hi,
I just noticed that there are some exceptions while indexing couchdb
design docs (created with couchapp).
The couchapp generated design docs are pretty complex. So, maybe there
is a parse failure or in trying to determine the mapping.
I don't have access to my setup now, but IIRC the steps are:
create an app using couchapp and push it to couchdb
$ couchapp generate my_app
$ cd my_app
$ couchapp push . default
Configure the couch river plugin (without any filter).
The _design/my_app document generates an error.
I will check this again in detail tomorrow and update the list.
Regards,
Mahendra
http://twitter.com/mahendra
--
Mahendra
http://twitter.com/mahendra