History log of /3.0.3-GA/couchdb/src/couch_set_view/src/couch_set_view_mapreduce.erl (Results 1 - 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v4.6.0, v4.5.0
# 282a9d8a 17-Sep-2013 Filipe David Borba Manana <fdmanana@apache.org>

Add emacs style line comment to several source files

Change-Id: Idc3e80655f6e122b1633a88b922336e5d3b42867
Reviewed-on: http://review.couchbase.org/29036
Reviewed-by: Filipe David Bor

Add emacs style line comment to several source files

Change-Id: Idc3e80655f6e122b1633a88b922336e5d3b42867
Reviewed-on: http://review.couchbase.org/29036
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


Revision tags: 2.1.1r, 2.1.0r, 2.0.2r
# 880e1272 08-May-2013 Volker Mische <vmx@couchbase.com>

MB-8241: Move MapReduce View specific stuff into its own record

Change-Id: I2848abbc0338790d0b3488d66eac173c9a477585
Reviewed-on: http://review.couchbase.org/26240
Reviewed-by: Filip

MB-8241: Move MapReduce View specific stuff into its own record

Change-Id: I2848abbc0338790d0b3488d66eac173c9a477585
Reviewed-on: http://review.couchbase.org/26240
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...


# 912b8667 27-Mar-2013 Filipe David Borba Manana <fdmanana@apache.org>

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working an

MB-7978 Fixes to view tree with multiple reducers

A view tree with multiple reducers where not all of them
are native (_count, _sum, _stats) or custom (JavaScript)
was not working anymore since the termless storage format,
and it became undetected for so long due to the fact that
old JavaScript testsuite (Futon) was removed (commit
304cbbd93400abfcb07ca70eecb4e1ccf3f3b485) and no equivalent
etap tests existed.

A view tree with multiple reducers only exists when 2 or
more views in the same design document have exactly the same
map function, on a byte by byte basis, and different reduce
functions (builtin or custom).

Change-Id: Id3218842da83e9e26339e6c59dd7c9b2e8d6a999
Reviewed-on: http://review.couchbase.org/25390
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


Revision tags: 2.0.1-linux, 2.0.0-couchbase
# b935f38e 25-Jun-2012 Chris Anderson <jchris@couchbase.com>

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this c

CBD-456 Separate document body and meta arguments to map function

Sends non-JSON values as byte arrays for the 'doc' argument.
Numbers and ascii text can be decoded trivially from this capability,
extending our support for legacy applications.

The document JSON format on the wire for bulk docs operations
now looks like this:

{
"json":{"user":"data","_anything":"goes"},
"meta":{"id":"mydocid"}
}

Or like this:

{
"base64":"bXliYXNlNjRiaW5hcnlkYXRh",
"meta":{"id":"mydocid"}
}

There can be additional data in the metadata object. Specification is on
the Jira ticket.

This change off support for _id lookups in include_docs queries, although
with server level include docs going away as well, this change should
be of little consequence. Include_docs is not removed as it is used
heavily by tests, in the future it will be renamed to x_include_docs
across both tests and query parser, in order to reflect the non-
supported nature.

Ticket with the specifications documentation:
http://www.couchbase.com/issues/browse/CBD-456

Admin UI and ns_server changes are in this change:
http://review.couchbase.org/#change,18028

Depends on this change in testrunner for view tests:
http://review.couchbase.org/#change,17768

Squashed in an old patch: http://review.couchbase.org/#change,18111

TODO: EP engine doesn't need to check for _fields when setting JSON
flag. This can be accomplished in a future patch.

Related issue (not addressed by this patch): views and _all_docs
output (as well as XDCR JSON format) needs to understand non-UTF8
keys: http://www.couchbase.com/issues/browse/CBD-453

Change-Id: I0fc2364b16251f74bb53c9e6a185046b0ae68791
Reviewed-on: http://review.couchbase.org/18992
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Tested-by: Chris Anderson <jchris@couchbase.com>

show more ...


# 9cb56946 05-Jul-2012 Damien Katz <damien@couchbase.com>

CBD-426 Change view index to non-erlang format

We are changing the code format of the view indexes to use a format
easily parsed by C code, instead of using serialized Erlang terms.

CBD-426 Change view index to non-erlang format

We are changing the code format of the view indexes to use a format
easily parsed by C code, instead of using serialized Erlang terms.
This allows us in the future to build, update and serve these indexes
from faster C code, while still being usable from Erlang.

A near term enhancement is to use a JSON nif collator that works on raw
json, instead of eJSON, to make collation and index building from Erlang
more efficient.

Change-Id: Idbdac6db2dd9cc597209a1fe604a074d020c1897
Reviewed-on: http://review.couchbase.org/17918
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Damien Katz <damien@couchbase.com>

show more ...


# b0aab19e 23-Jul-2012 Volker Mische <vmx@couchbase.com>

MB-5571: Adding validation for view name

An error will be thrown if the view name is either empty or has
leading/trailing whitespace (it is only checked for space, tab,
newline and c

MB-5571: Adding validation for view name

An error will be thrown if the view name is either empty or has
leading/trailing whitespace (it is only checked for space, tab,
newline and carriage return).

Change-Id: I2602f72b8e63d407b1b79d20e2d4dc9f4d0040de
Reviewed-on: http://review.couchbase.org/18691
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...


# db520cf1 19-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-425 Improve dynamic error reporting for reduce functions

1) Log errors from builtin reduce/rereduce calls as well

2) Log reduce/rereduce errors from old couch views as well

CBD-425 Improve dynamic error reporting for reduce functions

1) Log errors from builtin reduce/rereduce calls as well

2) Log reduce/rereduce errors from old couch views as well

3) A bit less erlang term stringified errors in view merge errors
(more human readable)

Change-Id: Iee85ad8a3f8cbd9e398e177d3c6f7ce4795898f8
Reviewed-on: http://review.couchbase.org/18592
Reviewed-by: Filipe David Borba Manana <fdmanana@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# 213ca104 18-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

MB-5930 Fix builtin _stats reduce

Code matches against atom ejson keys but ejson decode operations
always return binary ejson keys.

Change-Id: Ied114f073b035348d49942827a1e6e10f

MB-5930 Fix builtin _stats reduce

Code matches against atom ejson keys but ejson decode operations
always return binary ejson keys.

Change-Id: Ied114f073b035348d49942827a1e6e10fc3b5e03
Reviewed-on: http://review.couchbase.org/18440
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# 788bab32 02-Jul-2012 Filipe David Borba Manana <fdmanana@apache.org>

CBD-403 Validate design documents on creation/update

Change-Id: Idbb1680620b8e741e3111805ccc4251a345bc7fe
Reviewed-on: http://review.couchbase.org/17811
Reviewed-by: Volker Mische <v

CBD-403 Validate design documents on creation/update

Change-Id: Idbb1680620b8e741e3111805ccc4251a345bc7fe
Reviewed-on: http://review.couchbase.org/17811
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>

show more ...


# eaa3f3be 20-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doin

Use new MapReduce component everywhere

This removes the need for CouchJS, and therefore to link against
Spidermonkey, to use plain old couch views and for rereducing
values when doing view merging.

Change-Id: I9d1f4d749d490ac3fd33db4d74b9e5e69b6908c1
Reviewed-on: http://review.couchbase.org/14112
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...


# c065fadf 10-Mar-2012 Filipe David Borba Manana <fdmanana@apache.org>

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien K

Make set view component use the V8 based MapReduce subsystem

Change-Id: I90b26eeb78f50a6bac4f71e7ff90cbe0e92b8f42
Reviewed-on: http://review.couchbase.org/13857
Reviewed-by: Damien Katz <damien@couchbase.com>
Tested-by: Damien Katz <damien@couchbase.com>

show more ...