Public bug reported:
Now taratnool builds index by field value.
It would be nice to have indexes by lua function.
example:
function tlen(tuple)
return #tuple
end
space[1].enabled = 1
space[1].index[0].type = "TREE"
space[1].index[0].unique = 0
space[1].index[0].index_function.name = tlen
space[1].index[0].index_function.type = NUM # return value
so tarantool should call 'tlen(tuple)' for each tuple while it is
building index and while it is doing insert/update operation.
so using the index (in example) we can find largest tuples
** Affects: tarantool
Importance: Wishlist
Status: New
--
You received this bug notification because you are a member of Tarantool
Development Team, which is subscribed to tarantool.
https://bugs.launchpad.net/bugs/1029816
Title:
please add index by lua function
Status in Tarantool - an efficient in-memory data store:
New
Bug description:
Now taratnool builds index by field value.
It would be nice to have indexes by lua function.
example:
function tlen(tuple)
return #tuple
end
space[1].enabled = 1
space[1].index[0].type = "TREE"
space[1].index[0].unique = 0
space[1].index[0].index_function.name = tlen
space[1].index[0].index_function.type = NUM # return value
so tarantool should call 'tlen(tuple)' for each tuple while it is
building index and while it is doing insert/update operation.
so using the index (in example) we can find largest tuples
To manage notifications about this bug go to:
https://bugs.launchpad.net/tarantool/+bug/1029816/+subscriptions
_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help : https://help.launchpad.net/ListHelp