29 Commits

Author SHA1 Message Date
dependabot[bot]
b4504f8cef build(deps): bump serial_test from 3.4.0 to 3.5.0 (#9276)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.4.0...v3.5.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-03 01:10:26 -04:00
dependabot[bot]
9e5a5f8f8a build(deps): bump serial_test from 3.3.1 to 3.4.0 (#8204)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.3.1 to 3.4.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.3.1...v3.4.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-24 09:31:36 +01:00
dependabot[bot]
df23e8ad62 build(deps): bump serial_test from 3.2.0 to 3.3.1 (#7863)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.2.0 to 3.3.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.2.0...v3.3.1)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-05 20:39:15 +01:00
Arnaud Gourlay
46f00d5fdb Fix Clippy 1.87 bis (#6518) 2025-05-12 19:54:13 +02:00
Tim Visée
3e536347e1 Bump Rust edition to 2024 (#6042)
* Bump Rust edition to 2024

* gen is a reserved keyword now

* Remove ref mut on references

* Mark extern C as unsafe

* Wrap unsafe function bodies in unsafe block

* Geo hash implements Copy, don't reference but pass by value instead

* Replace secluded self import with parent

* Update execute_cluster_read_operation with new match semantics

* Fix lifetime issue

* Replace map_or with is_none_or

* set_var is unsafe now

* Reformat
2025-02-25 11:21:25 +01:00
Arnaud Gourlay
d6ef5898bf Fix clippy 1.84 (#5735) 2025-01-06 12:35:34 +01:00
Arnaud Gourlay
07d8ad81c0 Standardize http crate version (#5727) 2025-01-05 19:45:51 +00:00
Arnaud Gourlay
1b26cc51e0 Misc. cargo file changes (#5725) 2025-01-03 13:53:10 +01:00
Andrey Vasnetsov
3ce4035df3 allow to read related issues with collection-level access (#5609)
* allow to read related issues with collection-level access

* refactor to use requirements

* patch test

---------

Co-authored-by: Luis Cossío <luis.cossio@outlook.com>
2024-12-09 15:29:11 +01:00
dependabot[bot]
fbbee62c03 build(deps): bump serial_test from 3.1.1 to 3.2.0 (#5424) 2024-11-11 20:07:47 +00:00
dependabot[bot]
b6d528ccb0 build(deps): bump dashmap from 6.0.1 to 6.1.0 (#5055)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 6.0.1 to 6.1.0.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v6.0.1...v6.1.0)

---
updated-dependencies:
- dependency-name: dashmap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 07:21:21 +02:00
xzfc
a0ea3caccf Enable some of the pedantic clippy lints (#4715)
* Use workspace lints

* Enable lint: manual_let_else

* Enable lint: enum_glob_use

* Enable lint: filter_map_next

* Enable lint: ref_as_ptr

* Enable lint: ref_option_ref

* Enable lint: manual_is_variant_and

* Enable lint: flat_map_option

* Enable lint: inefficient_to_string

* Enable lint: implicit_clone

* Enable lint: inconsistent_struct_constructor

* Enable lint: unnecessary_wraps

* Enable lint: needless_continue

* Enable lint: unused_self

* Enable lint: from_iter_instead_of_collect

* Enable lint: uninlined_format_args

* Enable lint: doc_link_with_quotes

* Enable lint: needless_raw_string_hashes

* Enable lint: used_underscore_binding

* Enable lint: ptr_as_ptr

* Enable lint: explicit_into_iter_loop

* Enable lint: cast_lossless
2024-07-22 08:19:19 +00:00
dependabot[bot]
472096a5a2 build(deps): bump dashmap from 5.5.3 to 6.0.1 (#4546)
Bumps [dashmap](https://github.com/xacrimon/dashmap) from 5.5.3 to 6.0.1.
- [Release notes](https://github.com/xacrimon/dashmap/releases)
- [Commits](https://github.com/xacrimon/dashmap/compare/v.5.5.3...v6.0.1)

---
updated-dependencies:
- dependency-name: dashmap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 09:26:11 +02:00
Arnaud Gourlay
cbcdefb310 Cleanup unused dependencies (#4306) 2024-05-23 10:06:44 +02:00
Luis Cossío
ceb25106aa make broker test independent of a global dashboard (#4240) 2024-05-15 13:22:58 +02:00
Luis Cossío
a4308f5308 Issues API: Unindexed fields (#4139)
* submit an issue for unindexed field

solve unindexed field issue when an index is created for the field

also log a warning when issue is submitted

fmt

fix rebase problems

get collection name without panicking

better solving of issue

remove outdated TODO

add tests, fix GET /issues

review fixes

use `/` instead of `.` as separator

fmt

prepare extractor for time-based submission

smol rename

add check in search

hook unindexed field creation in search and search_batch of rest

update after rebase on `dev`

remove submit from `struct_payload_index`

solve issues inside of handlers, not in match router

post-process at Collection level

don't clone filters

remove from openapi spec

- Add hidden env variable to adjust slow search threshold
- Remove Solution::None
- Fix UnindexedField issue extractor
- Add endpoint to openapi, but without response body spec
- Move integration test to consensus_tests to set lower threshold

* event-based integration

* use typed Code

* remove payload_index_schema hack, get through collection info

* rename `notify` to `publish`

* update after rebase

* remove breakpoint

* update after rebase

* attach current payload schema to SlowQueryEvent

* collect filters refs lazily

* review fixes

* review fixes

* use regular config for setting the threshold, use 1.2 secs as default

* fix checking against current schema for all conditions
2024-05-09 09:39:01 -04:00
xzfc
cb31c533bf Introduce Cargo feature "testing" (#4192) 2024-05-07 16:14:46 +00:00
Luis Cossío
c4294f1c4e Issues API: Listen for issues events in main app (#4123)
* listen for issues events in main app

* don't setup subscribers if `issues` feature is disabled

* Revert "don't setup subscribers if `issues` feature is disabled"

This reverts commit 6754537dd51faa8ebc6f96d03f83b98f2c01c497.
2024-05-02 11:22:48 -04:00
Arnaud Gourlay
8ec87fde77 Remove outdated rustdoc for Issue module (#4141) 2024-04-30 09:24:56 +02:00
Arnaud Gourlay
ed25c388b1 Proactively fix lints for Clippy 1.78 (#4140) 2024-04-30 09:22:29 +02:00
dependabot[bot]
d0cf4e433d Bump serial_test from 3.1.0 to 3.1.1 (#4134)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-29 22:11:55 +02:00
Luis Cossío
1970562dea Issues API: Event-driven issue framework (#4086)
* update issues crate from unindexed-field-issue-integration branch

* add EventBroker, update Dashboard::solve_by_filter

* Update outdated comment

* better example use

* use composite `Code` type to remove inverted index

* rename `EventBroker::notify` to `EventBroker::publish`

* remove `publish_async`

* review fixes

* rename `Code::from_issue` to `Code::of`
2024-04-29 15:06:06 -04:00
dependabot[bot]
ec3309a2b8 Bump serial_test from 3.0.0 to 3.1.0 (#4094)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v3.0.0...v3.1.0)

---
updated-dependencies:
- dependency-name: serial_test
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 09:16:41 +02:00
Anush
19c7273864 refactor: Update to Chrono 0.4.35 (#3827)
* refactor: Chrono 0.4.35

* Move chrono dependency to workspace

* Update lib/segment/src/common/anonymize.rs

Co-authored-by: Tim Visée <tim+github@visee.me>

---------

Co-authored-by: timvisee <tim@visee.me>
Co-authored-by: Tim Visée <tim+github@visee.me>
2024-03-18 13:44:41 +01:00
xzfc
ca2cd46f29 Drop unused Deserialize (#3680) 2024-02-24 00:33:21 +01:00
Luis Cossío
29c914de71 Issues API: Interface: get issues (#3502)
* add `/issues` endpoint

* generate openapi spec

* fmt

* fix read only patterns test

* list under beta tag, update tags descriptions.
2024-02-16 11:54:14 -03:00
dependabot[bot]
787b87ba28 Bump chrono from 0.4.33 to 0.4.34 (#3601)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.33 to 0.4.34.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.33...v0.4.34)

---
updated-dependencies:
- dependency-name: chrono
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-13 08:44:24 +01:00
Luis Cossío
44a0265dca refactor test to remove thread::sleep (#3587) 2024-02-12 11:25:24 -03:00
Luis Cossío
e35901c2f9 Issues API: internal crate (#3375) 2024-02-08 12:37:46 -03:00