Skip to content

Missing IterNeighbor #285

@kokizzu

Description

@kokizzu

in this documentation there's 'neighbor' iterator:

rtree_index:select({1, 1}, {iterator = `neighbor`, limit = 5})

but when i look at the code there's no such thing:

	IterEq            = uint32(0) // key == x ASC order
	IterReq           = uint32(1) // key == x DESC order
	IterAll           = uint32(2) // all tuples
	IterLt            = uint32(3) // key < x
	IterLe            = uint32(4) // key <= x
	IterGe            = uint32(5) // key >= x
	IterGt            = uint32(6) // key > x
	IterBitsAllSet    = uint32(7) // all bits from x are set in key
	IterBitsAnySet    = uint32(8) // at least one x's bit is set
	IterBitsAllNotSet = uint32(9) // all bits are not set

so missing at least 2 https://github.com/tarantool/tarantool/blob/680990a082374e4790539215f69d9e9ee39c3307/src/box/iterator_type.h

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions