liber merge requestshttps://git.autistici.org/ale/liber/-/merge_requests2024-03-22T07:31:41Zhttps://git.autistici.org/ale/liber/-/merge_requests/13Update module github.com/blevesearch/bleve/v2 to v2.4.02024-03-22T07:31:41ZrenovateUpdate module github.com/blevesearch/bleve/v2 to v2.4.0This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) | require | minor | `v2.3.6` -> `v2.4.0` |
---
### Release Notes
...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/blevesearch/bleve/v2](https://github.com/blevesearch/bleve) | require | minor | `v2.3.6` -> `v2.4.0` |
---
### Release Notes
<details>
<summary>blevesearch/bleve (github.com/blevesearch/bleve/v2)</summary>
### [`v2.4.0`](https://github.com/blevesearch/bleve/releases/tag/v2.4.0)
[Compare Source](https://github.com/blevesearch/bleve/compare/v2.3.10...v2.4.0)
##### Bug Fixes
- Fixes to spanish accents normalization (https://github.com/blevesearch/bleve/pull/1957)
- Critical fix around facets merging which could've caused inconsistent results (https://github.com/blevesearch/bleve/pull/1946)
##### Improvements
- Support for vectors index and search
- Please read: [vectors.md](https://github.com/blevesearch/bleve/blob/e76f5940fb057f6cefc6febf9cb1b7210622effb/docs/vectors.md) for more details
- With this we will now default to a with new zap format: [v16](https://github.com/blevesearch/zapx/blob/v16.0.12/zap.md), which colocates text and vector indexes within segments (scorch)
- An empty `query` attribute within a `SearchRequest` will now be interpreted as a `match_none` (https://github.com/blevesearch/bleve/pull/2000)
##### Milestone
- [v2.4.0](https://github.com/blevesearch/bleve/milestone/17)
### [`v2.3.10`](https://github.com/blevesearch/bleve/releases/tag/v2.3.10)
[Compare Source](https://github.com/blevesearch/bleve/compare/v2.3.9...v2.3.10)
##### Bug Fixes
- Fix format of date times displayed in search result, to not drop precision (https://github.com/blevesearch/bleve/pull/1868)
##### Improvements
- Upgraded to `golang.org/x/text@v0.8.0` to overcome a vulnerability (https://github.com/blevesearch/bleve/pull/1845)
- Support for polish language analyzer - `pl` (https://github.com/blevesearch/bleve/pull/1825)
- Additional attribute in search response to determine partial/complete hits for match queries (https://github.com/blevesearch/bleve/pull/1848)
- Performance optimization to speed up documents processing per mapping definition (https://github.com/blevesearch/bleve/pull/1865)
- Support fuzziness factor for matchphrase, multiphrase & phrase queries (https://github.com/blevesearch/bleve/pull/1847)
- Geo shape polygon decode optimization w/ buffer re-use (https://github.com/blevesearch/bleve/pull/1864)
- Override-able Marshal/Unmarshal methods (https://github.com/blevesearch/bleve/pull/1880)
- Enhanced data time format support:
- `sanitizedgo` that validates layout against supported [golang constants](https://pkg.go.dev/time#pkg-constants) (https://github.com/blevesearch/bleve/pull/1877)
- Ability to apply custom datetime parsers to query criteria and facets (https://github.com/blevesearch/bleve/pull/1860, https://github.com/blevesearch/bleve/pull/1878)
- Ability to parse date times in these formats - `unix_micro`, `unix_sec`, `unix_milli`, `unix_nano` (https://github.com/blevesearch/bleve/pull/1870)
- Additional layouts support with `percentstyle` and `isostyle` (https://github.com/blevesearch/bleve/pull/1866)
##### Milestone
- [v2.3.10](https://github.com/blevesearch/bleve/milestone/20)
### [`v2.3.9`](https://github.com/blevesearch/bleve/releases/tag/v2.3.9)
[Compare Source](https://github.com/blevesearch/bleve/compare/v2.3.8...v2.3.9)
##### Bug Fixes
- Fixes along recording IO bytes read for different query types (https://github.com/blevesearch/bleve/pull/1829)
- Also changes the attribute name in the `SearchResult` construct from `bytesRead` to `cost`
- Fix incorrect facet counts when facetted queries are coupled with sorting over the same field (https://github.com/blevesearch/bleve/pull/1836)
##### Improvements
- Upgrade to *RoaringBitmap/roaring*[@​v1](https://github.com/v1).2.3 (https://github.com/blevesearch/bleve/pull/1822)
- Upgrade to *etcd-io/bblot*[@​v1](https://github.com/v1).3.7 (https://github.com/blevesearch/bleve/pull/1824)
- Consolidated some redundant work in a hot index path with https://github.com/blevesearch/bleve/pull/1832 which showed index time speed up by about **30%** in certain situations especially while working with large documents.
- Upgrade to *vellum*[@​v1](https://github.com/v1).0.10 which contains a minor optimization (https://github.com/blevesearch/bleve/pull/1838)
##### Milestone
- [v2.3.9](https://github.com/blevesearch/bleve/milestone/19)
### [`v2.3.8`](https://github.com/blevesearch/bleve/releases/tag/v2.3.8)
[Compare Source](https://github.com/blevesearch/bleve/compare/v2.3.7...v2.3.8)
<img width="122" alt="image" src="https://user-images.githubusercontent.com/1863456/236514000-e10bbde9-41a6-4933-91a4-a726fb071ae7.png">
##### Bug Fixes
- Addresses panics that could occur within zap (with [zap@v15.3.10](https://github.com/blevesearch/zapx/tree/v15.3.10))
- https://github.com/blevesearch/zapx/pull/105
- https://github.com/blevesearch/zapx/pull/150
- https://github.com/blevesearch/zapx/pull/151
- Fixes analyzer inheritance for default mapping with https://github.com/blevesearch/bleve/pull/1807
- Addresses https://github.com/blevesearch/bleve/issues/1816 by fixing CLI's completion generation with https://github.com/blevesearch/bleve/pull/1817
##### Enhancements
- Introduces a new not-so-aggressive plural stemmer (`stemmer_en_plural`) for english with https://github.com/blevesearch/bleve/pull/1808
##### Milestone
- [v2.3.8](https://github.com/blevesearch/bleve/milestone/18)
### [`v2.3.7`](https://github.com/blevesearch/bleve/releases/tag/v2.3.7)
[Compare Source](https://github.com/blevesearch/bleve/compare/v2.3.6...v2.3.7)
##### Bug Fixes
- Replaced deprecated io/ioutil functions with https://github.com/blevesearch/bleve/pull/1781
- Fixed situation where bytesRead will not appear in search response if query gets everything it needs from mmaped content with https://github.com/blevesearch/bleve/pull/1788
- Fixed a panic due to misalignment within chunkedContentCoder on 32-bit platforms with https://github.com/blevesearch/zapx/pull/148 and https://github.com/blevesearch/bleve/pull/1791 (only applicable to zap@v15)
- A bot upgraded the golang.org/x/text version we use from 0.3.7 to 0.3.8 with https://github.com/blevesearch/bleve/pull/1792 🥇
- Include bytesWritten into bbolt (metadata for scorch) with https://github.com/blevesearch/bleve/pull/1774
##### Enhancements
- Support for improved rollback behavior by allowing sampling of snapshots based on a time interval with https://github.com/blevesearch/bleve/pull/1776 . Default behavior remains the same
- Changed the signature of scorch's AsyncErrorCallback with https://github.com/blevesearch/bleve/pull/1800 to provide more context. This is a breaking change.
##### Milestone
- [v2.3.7](https://github.com/blevesearch/bleve/milestone/16)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOC4wIiwidXBkYXRlZEluVmVyIjoiMzcuMTk0LjAiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIifQ==-->https://git.autistici.org/ale/liber/-/merge_requests/12Update golang Docker tag to v1.222024-02-07T03:29:20ZrenovateUpdate golang Docker tag to v1.22This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| golang | image | minor | `1.20` -> `1.22` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), A...This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| golang | image | minor | `1.20` -> `1.22` |
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
â™» **Rebasing**: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this MR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box
---
This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4yOC4wIiwidXBkYXRlZEluVmVyIjoiMzYuNDkuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->https://git.autistici.org/ale/liber/-/merge_requests/1Search api2015-02-16T22:50:28ZgiskardSearch apialeale