Skip to content

Commit

Permalink
Merge branch 'katakana_japan' into 'develop'
Browse files Browse the repository at this point in the history
katakana

See merge request itv-backend/reindexer!1724
  • Loading branch information
reindexer-bot committed Nov 27, 2024
1 parent a3e5a37 commit 2cf9b3f
Show file tree
Hide file tree
Showing 55 changed files with 2,760 additions and 1,086 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-13]
os: [ubuntu-22.04, macos-13]
include:
- os: ubuntu-24.04
cc: gcc-12
cxx: g++-12
- os: ubuntu-latest
sanitizer: ASAN
cc: gcc-10
Expand Down Expand Up @@ -111,7 +114,7 @@ jobs:
test:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04, macos-13]
os: [ubuntu-22.04, ubuntu-24.04, macos-13]
test: ['C++', 'GO']
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -188,7 +191,7 @@ jobs:
test-pyreindexer:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
os: [ubuntu-22.04, ubuntu-24.04]
fail-fast: false
runs-on: ${{matrix.os}}
needs: build
Expand Down
24 changes: 24 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,27 @@
# Version 3.30.0 (XX.11.2024)
## Core
- [fea] Optimized memory layout for `-tuple`-index
- [fea] Use [dragonbox](https://github.com/jk-jeon/dragonbox)/[fmt](https://github.com/fmtlib/fmt) instead of [double-conversion](https://github.com/google/double-conversion) for JSON floating point number serialization
- [fix] Fixed assertion in aggregations by `composite indexes`

## Fulltext
- [fea] Added basic support for Korean symbols
- [fea] Added alternative tokenizer based on [friso](https://github.com/lionsoul2014/friso) for Chinese language splitting. [Read more...](!!!!!!!!!)

## Reindexer server
- [fix] Fixed logical operations handling for `joined`-queries in `JSON DSL` (method `POST /api/v1/db/<db>/query`)
- [fix] Unified `int<->double` conversion logic for `JSON`/`MgsPack`/`Protobuf`

## Reindexer tool
- [fix] Fixed `\bench` command for `ucproto`-mode

## CPP client
- [fix] Fixed `precepts` in client's transaction

## Deploy
- [upd] Added deploy for `Fedora 41` packages
- [upd] Deprecated deploy for `Fedora 39` packages

# Version 3.29.0 (08.10.2024)
## Core
- [fea] Added Chinese and Japanese symbols into locale. Currently those symbols will be indexed by fulltext engine (using space-separators), but proper tokenization for the languages will be added in the separate release
Expand Down
6 changes: 3 additions & 3 deletions cjson/creflect.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ type payloadIface struct {
func (pl *payloadIface) ptr(field, idx, typ int) unsafe.Pointer {

if pl.p == 0 {
panic(fmt.Errorf("Null pointer derefernce"))
panic(fmt.Errorf("Null pointer dereference"))
}

f := &pl.t.Fields[field]
Expand All @@ -91,7 +91,7 @@ func (pl *payloadIface) ptr(field, idx, typ int) unsafe.Pointer {

if !f.IsArray {
if idx != 0 {
panic(fmt.Errorf("Trying to acces by index '%d' to non array field '%s'", idx, f.Name))
panic(fmt.Errorf("Trying to access by index '%d' to non array field '%s'", idx, f.Name))
}
return p
}
Expand Down Expand Up @@ -197,7 +197,7 @@ func (pl *payloadIface) getArrayLen(field int) int {
return int((*ArrayHeader)(p).len)
}

// get c reflect value and set to go reflect valie
// get c reflect value and set to go reflect value
func (pl *payloadIface) getValue(field int, idx int, v reflect.Value) {

k := v.Type().Kind()
Expand Down
31 changes: 0 additions & 31 deletions clang-tidy/.clang-tidy

This file was deleted.

10 changes: 0 additions & 10 deletions clang-tidy/.clang-tidy-ignore

This file was deleted.

Loading

0 comments on commit 2cf9b3f

Please sign in to comment.