History log of /6.6.0/geocouch/vtree/include/vtree.hrl (Results 1 - 16 of 16)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 532a0043 16-Jan-2015 Volker Mische <vmx@couchbase.com>

MB-13125: Make multiple emits with same key possible

Spatial views now support multiple emits with the same key. An example
would be an application where you emit all things that are loc

MB-13125: Make multiple emits with same key possible

Spatial views now support multiple emits with the same key. An example
would be an application where you emit all things that are located at
a single address (point). This address would have a restaurant at the
ground floor and a marketing agency above.

var key = [doc.lon, doc.lan];
emit(key, "restaurant");
emit(key, "marketing agency");

Change-Id: I62843399e6e915c9efe06471270c292e0d6d6f85
Reviewed-on: http://review.couchbase.org/45977
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Nimish Gupta <nimish@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


# 59fa3590 12-Jan-2015 Volker Mische <vmx@couchbase.com>

CBIDXT-253: Encode geometries as WKB (Well-Known Binary)

The geometries were stored as Erlang terms on disk. This is bad for
interoperability. The geometries are now stored as WKB (Well-

CBIDXT-253: Encode geometries as WKB (Well-Known Binary)

The geometries were stored as Erlang terms on disk. This is bad for
interoperability. The geometries are now stored as WKB (Well-Known Binary).

Change-Id: I41b8cf811ee9e4382a0a0b4e49913496a5d329cb
Reviewed-on: http://review.couchbase.org/45342
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Harsha H S <hhs.couchbase@gmail.com>
Tested-by: buildbot <build@couchbase.com>

show more ...


# b7ef6068 28-Oct-2014 Volker Mische <vmx@couchbase.com>

MB-12476: Spatial views don't support real reduce

Spatial views don't support real reduce. The reduce value is used
to store the "original MBB" which is needed by the RR*-tree algorithm.

MB-12476: Spatial views don't support real reduce

Spatial views don't support real reduce. The reduce value is used
to store the "original MBB" which is needed by the RR*-tree algorithm.
It is the MBB the node had on creation time.

Change-Id: I42102f22af7207c883cdec5a8f10e923f318f49b
Reviewed-on: http://review.couchbase.org/42758
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


# 79503af1 16-Oct-2014 Volker Mische <vmx@couchbase.com>

Always use minor version 1 for binaries

When converting Erlang terms to binary, always use minor version 1.
Also use minor version 1 when determining the size of a term.

Change-

Always use minor version 1 for binaries

When converting Erlang terms to binary, always use minor version 1.
Also use minor version 1 when determining the size of a term.

Change-Id: I3de9e3960509a7e0939375e5140a35f0176674a9
Reviewed-on: http://review.couchbase.org/42226
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>

show more ...


# 618ea5a4 01-Oct-2014 Volker Mische <vmx@couchbase.com>

Add dialyzing to geocouch

With `make geocouch-dialyzer` within the build directory it's possible
to run dialyzer on the geocouch code. The `make geocouch-chech` target
will also run

Add dialyzing to geocouch

With `make geocouch-dialyzer` within the build directory it's possible
to run dialyzer on the geocouch code. The `make geocouch-chech` target
will also run the dialyzer first before running the tests.

This commit also fixes some problems found during dialyzing.

Change-Id: I4cb4bd0f9184f0cbc98b1a74a8fdd76a6be6bee9
Reviewed-on: http://review.couchbase.org/41990
Reviewed-by: Sarath Lakshman <sarath@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Volker Mische <volker.mische@gmail.com>

show more ...


# 6cd8cae1 05-Aug-2014 Volker Mische <vmx@couchbase.com>

Extract partition ID out of the body

In Couchstore the body of a KV-node value consists of the partition ID
and the actual value. Extract the partition ID and store it separately
fro

Extract partition ID out of the body

In Couchstore the body of a KV-node value consists of the partition ID
and the actual value. Extract the partition ID and store it separately
from the body in the #kv_node{} record.

Change-Id: Ic5e5cddf095feaa4e94a1f1d8528694d61c6658b

show more ...


# 03565c35 05-Jul-2013 Volker Mische <vmx@couchbase.com>

MB-100: Cleanup type descriptions

Change-Id: I549394393acab06d158142fb84c3013bfbb749f5
Reviewed-on: http://review.couchbase.org/27570
Tested-by: buildbot <build@couchbase.com>
Re

MB-100: Cleanup type descriptions

Change-Id: I549394393acab06d158142fb84c3013bfbb749f5
Reviewed-on: http://review.couchbase.org/27570
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>

show more ...


Revision tags: 2.1.1r, 2.1.0r
# 283da2dc 13-Mar-2013 Volker Mische <vmx@couchbase.com>

MB-7904: Use byte size instead of number of nodes

The R-tree now uses the byte size of the nodes to determine
how many children a node can hold. Previously it was determined
by a min

MB-7904: Use byte size instead of number of nodes

The R-tree now uses the byte size of the nodes to determine
how many children a node can hold. Previously it was determined
by a minimum and a maximum number of nodes.

This step was taken to make the R-tree work more like the
B-tree code.

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

show more ...


# f6402621 28-Feb-2013 Volker Mische <vmx@couchbase.com>

MB-7904: Write body and geometry early

Write the body and the geometry of a KV-node early. This is needed
to make the size calculations easier, that are needed to determine
how many

MB-7904: Write body and geometry early

Write the body and the geometry of a KV-node early. This is needed
to make the size calculations easier, that are needed to determine
how many children a node will contain.

This means that the body and the geometry of nodes that will be
inserted are written right at the beginning. All calculations
about splitting etc. will happen afterwards.

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

show more ...


Revision tags: 2.0.1-linux
# c29f02c5 15-Jan-2013 Volker Mische <vmx@couchbase.com>

MB-100: Default fill_min/fill_max to `nil`

fill_min/fill_max in the #vtree{} record are `nil` by default
and will set by the corresponding API (Couchbase or Apache CouchDB).

Cha

MB-100: Default fill_min/fill_max to `nil`

fill_min/fill_max in the #vtree{} record are `nil` by default
and will set by the corresponding API (Couchbase or Apache CouchDB).

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

show more ...


Revision tags: 2.0.2r
# f07d3295 06-Dec-2012 Volker Mische <vmx@couchbase.com>

MB-100: increase the number of default fill rates

The header file defines the default values for minimum and
maximum fill rate. Increase it from min 1 to 25 and from
max 5 to 40.

MB-100: increase the number of default fill rates

The header file defines the default values for minimum and
maximum fill rate. Increase it from min 1 to 25 and from
max 5 to 40.

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

show more ...


# 775d48c3 04-Dec-2012 Volker Mische <vmx@couchbase.com>

CBD-681: Support open/wildcard intersections

If a MBB contains the atom 'nil', it acts as a wild card.

If only one end of the range is 'nil' it will only cover that end.
If it i

CBD-681: Support open/wildcard intersections

If a MBB contains the atom 'nil', it acts as a wild card.

If only one end of the range is 'nil' it will only cover that end.
If it is 'nil' on both ends, it's like a wild card and it will
cover the other range completely.

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

show more ...


# 2a6c4d30 01-Dec-2012 Volker Mische <vmx@couchbase.com>

CBD-697: Restructure the code layout

This commit changes the layout of the files. The vtree is now its
own application. Soon additional applications for the Couchbase
and Apache Couc

CBD-697: Restructure the code layout

This commit changes the layout of the files. The vtree is now its
own application. Soon additional applications for the Couchbase
and Apache CouchDB APIs will be created.

Change-Id: Ifc8c19a9d0912e4378034bb2914e28c53e2b082d
Reviewed-on: http://review.couchbase.org/22988
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 ...


# 2b13ff38 21-Sep-2012 Volker Mische <vmx@couchbase.com>

CBD-125: Make real use of the "Original MBB"

According to the RR*-tree paper, you should store the "original MBB",
which is the MBB at the creation time of the node, with the node.

CBD-125: Make real use of the "Original MBB"

According to the RR*-tree paper, you should store the "original MBB",
which is the MBB at the creation time of the node, with the node.

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

show more ...


# 84438162 06-Sep-2012 Volker Mische <vmx@couchbase.com>

CBD-51: Encoding/decoding for termless format

GeoCouch doesn't store Erlang terms, but binary data. This needs
to be encoded/decoded for the use within the Erlang code. The
vtree_io

CBD-51: Encoding/decoding for termless format

GeoCouch doesn't store Erlang terms, but binary data. This needs
to be encoded/decoded for the use within the Erlang code. The
vtree_io module handles all that. You can easily write and read
a node.

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

show more ...


Revision tags: couchdb1.2.x_v0.3.0, couchbase_v0.3.0
# cedead69 24-May-2012 Volker Mische <vmx@couchbase.com>

CBD-124: Move type information into header file

No functional change, just moving code.

Change-Id: Iea5a5f15f83efdbe821530e5ec9cd5137ea95d76
Reviewed-on: http://review.couchbase

CBD-124: Move type information into header file

No functional change, just moving code.

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

show more ...