Skip to content

Commit 9485527

Browse files
committed
small bugfix
1 parent 8f86dcd commit 9485527

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

doc/book/box/data_model.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ Full information is in section
386386
| ``'string'`` | :ref:`string <index-box_string>` | TREE, BITSET or HASH |
387387
| (may also be called ``‘str’``) | | |
388388
+--------------------------------+-------------------------------------------+--------------------------------------+
389-
| ``'varbinary'`` | :ref:`varbinary <index-box_bin>` | TREE, BITSET or HASH |
389+
| ``'varbinary'`` | :ref:`varbinary <index-box_bin>` | TREE, HASH or BITSET |
390+
| | | (since version 2.7) |
390391
+--------------------------------+-------------------------------------------+--------------------------------------+
391392
| ``'uuid'`` | :ref:`uuid <index-box_uuid>` | TREE or HASH |
392393
+--------------------------------+-------------------------------------------+--------------------------------------+

doc/book/box/indexes.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ Use HASH index:
181181

182182
* if it is a secondary key
183183
* if you 100% won't need to make it non-unique
184-
* if you really need that 2-5% performance improvement
185-
* if you have taken measurements on your data and you see an increase in performance
184+
* if you have taken measurements on your data and you see an accountable
185+
increase in performance
186186
* if you save every byte on tuples (HASH is a little more compact)
187187

188188
.. _indexes-rtree:
@@ -644,5 +644,5 @@ And :doc:`insert </reference/reference_lua/box_space/insert>` another tuple:
644644
:class: fact
645645

646646
You can add, drop, or alter the definitions at runtime, with some restrictions.
647-
Read more in section :ref:`index operations <index-box_index-operations>`
648-
and in reference for :doc:`box.index submodule </reference/reference_lua/box_index>`.
647+
Read more about index operations in reference for
648+
:doc:`box.index submodule </reference/reference_lua/box_index>`.

doc/reference/reference_lua/box_space/create_index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ and what index types are allowed.
172172
:header-rows: 1
173173

174174
* - Index field type
175-
- What can be it it
175+
- What can be in it
176176
- Where it is legal
177177
- Examples
178178

@@ -201,7 +201,7 @@ and what index types are allowed.
201201
<limitations_bytes_in_index_key>`. A varbinary byte sequence
202202
does not have a :ref:`collation <index-collation>`
203203
because its contents are not UTF-8 characters
204-
- memtx TREE or HASH indexes;
204+
- memtx TREE, HASH or BITSET (since version 2.7) indexes;
205205

206206
vinyl TREE indexes
207207
- '\\65 \\66 \\67'

0 commit comments

Comments
 (0)