From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 22 Jul 2019 17:45:54 +0300 From: Vladimir Davydov Subject: Re: [PATCH v3 4/4] box: introduce functional indexes in memtx Message-ID: <20190722144554.GA2313@esperanza> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: To: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, kostja@tarantool.org List-ID: On Wed, Jul 17, 2019 at 04:20:45AM +0300, Kirill Shcherbatov wrote: > idx = s:create_index('addr', {unique = false, functional_fid = > box.func.addr_extractor.id, is_multikey = true, > parts = {{1, 'string'}}}) Regarding the API: please use 'func = ' instead of 'functional_fid = ' and allow to specify a function by name.