Skip to content

Commit db16bef

Browse files
author
Sannikov Ilya
committed
Update to version v5.14.0
1 parent 821d5d2 commit db16bef

403 files changed

Lines changed: 9546 additions & 8430 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/test.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ jobs:
230230
repository: restream/reindexer-py
231231
- name: Install PyReindexer
232232
run: |
233-
python -m pip install -r requirements.txt
234233
python -m build
235234
python -m pip install .
236235
- name: Test PyReindexer

bindings/builtin/builtin_posix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build !windows
22

3-
//go:generate sh -c "cd ../.. && mkdir -p build && cd build && cmake -DGO_BUILTIN_EXPORT_PKG_PATH=\"../bindings/builtin\" .. && make reindexer -j4"
3+
//go:generate sh -c "cd ../.. && mkdir -p build && cd build && cmake -DGO_BUILTIN_EXPORT_PKG_PATH=\"../bindings/builtin\" .. && make reindexer -j8"
44

55
package builtin
66

bindings/builtin/builtin_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build windows
22

3-
//go:generate cmd /c cd ..\.. && mkdir build & cd build && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --target reindexer -- -j4
3+
//go:generate cmd /c cd ..\.. && mkdir build & cd build && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --target reindexer -- -j8
44

55
package builtin
66

bindings/builtinserver/builtinserver_posix.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build !windows
22

3-
//go:generate sh -c "cd ../.. && mkdir -p build && cd build && cmake -DLINK_RESOURCES=On -DGO_BUILTIN_SERVER_EXPORT_PKG_PATH=\"../../bindings/builtinserver\" .. && make reindexer_server_library reindexer -j4"
3+
//go:generate sh -c "cd ../.. && mkdir -p build && cd build && cmake -DLINK_RESOURCES=On -DGO_BUILTIN_SERVER_EXPORT_PKG_PATH=\"../../bindings/builtinserver\" .. && make reindexer_server_library reindexer -j8"
44

55
package builtinserver
66

bindings/builtinserver/builtinserver_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
//go:build windows
22

3-
//go:generate cmd /c cd ..\.. && mkdir build && cd build && cmake -G "MinGW Makefiles" -DLINK_RESOURCES=On -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --target reindexer reindexer_server_library -- -j4 ${CMAKE_BUILD_ARGS}
3+
//go:generate cmd /c cd ..\.. && mkdir build && cd build && cmake -G "MinGW Makefiles" -DLINK_RESOURCES=On -DCMAKE_BUILD_TYPE=Release .. && cmake --build . --target reindexer reindexer_server_library -- -j8 ${CMAKE_BUILD_ARGS}
44

55
package builtinserver
66

bindings/consts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bindings
22

33
const CInt32Max = int(^uint32(0) >> 1)
44

5-
const ReindexerVersion = "v5.13.0"
5+
const ReindexerVersion = "v5.14.0"
66

77
// public go consts from type_consts.h and reindexer_ctypes.h
88
const (

changelog.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1+
# Version 5.14.0 (03.06.2026)
2+
## Core
3+
- [fea] Improved heuristic for scan order selection when a multi-condition query requires sorting but background index optimization has not run (typical for mixed read/write workloads)
4+
- [fea] Improved planner logic for scan order selection when explicit sorting is not required
5+
- [fea] Replaced hash value mixing logic for `composite` indexes. The new implementation significantly reduces collision probability on insert into `hash-composite` indexes (mean insert time reduced by 5-20% depending on composite value composition)
6+
- [fix] Fixed `checksum mismatch` error when loading data from disk after removing a UUID index
7+
8+
## Fulltext
9+
- [fea] Added term splitting (handles missing whitespace). For example, query `leonardodicaprio` can now match a document with `Leonardo Di'Caprio`. See `EnableTermsSplit` and `SplitProc` in the [fulltext index config](fulltext.md#base-config-parameters)
10+
- [fix] Fixed search for terms ending with a dot-character (`.`) — previously this conflicted with incorrect keyboard layout search
11+
- [fix] Fixed `EnableTranslit` and `EnableKbLayout` flag behavior — since v5.12.0, transliteration and wrong keyboard layout search could not be disabled by setting these flags to `False`
12+
13+
## Vector indexes
14+
- [fea] Added support for vector arrays in [auto-embedding on insert](float_vector.md#embedding-configuration). Auto-embedding can now be used for data chunking on the embedding service side
15+
16+
## Reindexer server
17+
- [fea] Added HTTP endpoints `POST /api/v1/query/convert/dsl` and `POST /api/v1/query/convert/sql` to convert and prettify SQL/DSL queries
18+
- [fea] HTTP endpoint `GET /db/{database}/suggest` now returns parsing error details
19+
- [fix] Fixed `--max-http-req=0` flag behavior. A zero value now sets the maximum request size to `unlimited`
20+
21+
## Reindexer tool
22+
- [fea] Added `dry-run` mode to validate a dump file without applying it. [More on validation](cpp_src/cmd/reindexer_tool/readme.md#what-dry-run-validates)
23+
- [fea] Added progress bar display while applying a dump
24+
25+
## Go connector
26+
- [fea] Optimized CJSON encoding/decoding
27+
- [fea] Optimized Query building process
28+
29+
## Build/Deploy
30+
- [fea] Added pre-built packages for Fedora 43/44
31+
- [upd] Deprecated Fedora 41/42 pre-built packages
32+
33+
## Face
34+
- [fea] Added `queued_namespace_syncs` column to `Statistics` table
35+
- [fea] Implemented Backend-side `Prettify` for Frontend: the new prettify version not only formats the query but also places parentheses according to actual operator precedence
36+
- [fea] Improved error interpretation for SQL editor
37+
- [fea] Added `EnableTermsSplit` and `SplitProc` to `Fulltext` config
38+
- [fix] Fixed default value for UUID field
39+
40+
141
# Version 5.13.0 (29.04.2026)
242
## Core
343
- [fea] Optimized [grouping equal positions](readme.md#search-in-array-fields-with-matching-indexes-using-grouping) comparator

cpp_src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ else()
6666
option(LINK_RESOURCES "Link web resources as binary data" ON)
6767
endif()
6868

69-
set (REINDEXER_VERSION_DEFAULT "5.13.0")
69+
set (REINDEXER_VERSION_DEFAULT "5.14.0")
7070

7171
if(NOT CMAKE_BUILD_TYPE)
7272
set(CMAKE_BUILD_TYPE "RelWithDebInfo")

cpp_src/client/cororeindexer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Error CoroReindexer::EnumNamespaces(std::vector<NamespaceDef>& defs, EnumNamespa
127127
Error CoroReindexer::EnumDatabases(std::vector<std::string>& dbList) noexcept {
128128
RETURN_RESULT_NOEXCEPT(impl_->EnumDatabases(dbList, ctx_));
129129
}
130-
Error CoroReindexer::GetSqlSuggestions(std::string_view sqlQuery, int pos, std::vector<std::string>& suggests) noexcept {
130+
Error CoroReindexer::GetSqlSuggestions(std::string_view sqlQuery, int pos, SQLSuggestions& suggests) noexcept {
131131
RETURN_RESULT_NOEXCEPT(impl_->GetSqlSuggestions(sqlQuery, pos, suggests));
132132
}
133133
Error CoroReindexer::Status(bool forceCheck) noexcept { RETURN_RESULT_NOEXCEPT(impl_->Status(forceCheck, ctx_)); }

cpp_src/client/cororeindexer.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "client/internalrdxcontext.h"
77
#include "client/item.h"
88
#include "client/reindexerconfig.h"
9-
#include "core/namespacedef.h"
9+
#include "core/definitions/namespacedef.h"
1010
#include "core/query/query.h"
1111
#include "core/shardedmeta.h"
1212
#include "net/ev/ev.h"
@@ -17,6 +17,7 @@ struct SnapshotOpts;
1717
struct ReplicationStateV2;
1818
struct ClusterOperationStatus;
1919
class DSN;
20+
struct SQLSuggestions;
2021

2122
namespace sharding {
2223
struct ShardingControlRequestData;
@@ -197,7 +198,7 @@ class [[nodiscard]] CoroReindexer {
197198
/// @param sqlQuery - sql query.
198199
/// @param pos - position in sql query for suggestions.
199200
/// @param suggestions - all the suggestions for 'pos' position in query.
200-
Error GetSqlSuggestions(std::string_view sqlQuery, int pos, std::vector<std::string>& suggestions) noexcept;
201+
Error GetSqlSuggestions(std::string_view sqlQuery, int pos, SQLSuggestions& suggestions) noexcept;
201202
/// Get current connection status
202203
/// @param forceCheck - forces to check status immediately (otherwise result of periodic check will be returned)
203204
Error Status(bool forceCheck = false) noexcept;

0 commit comments

Comments
 (0)