Skip to content

v1.15 update#230

Merged
timvisee merged 8 commits intodevfrom
1.15-updates
Jul 18, 2025
Merged

v1.15 update#230
timvisee merged 8 commits intodevfrom
1.15-updates

Conversation

@coszio
Copy link
Contributor

@coszio coszio commented Jul 11, 2025

updates proto, generated types, and adds new builders

@coszio coszio marked this pull request as ready for review July 14, 2025 20:32
Copy link
Contributor

@JojiiOfficial JojiiOfficial left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 on Tim's comment and one minor nit. Otherwise LGTM!

pub fn stemmer_language(self, language: String) -> Self {
let mut new = self;
let stemmer = StemmingAlgorithm {
stemming_params: Some(stemming_algorithm::StemmingParams::Snowball(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not hard-code Snowball here. We may want to add more stemming libraries later. Hard-coding it here won't allow us to extend the client later without breaking changes.

Alternatively we can rename this function to e.g. snowball_stemmer and let users use the stemmer function for better customization.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:check:

@IvanPleshkov
Copy link
Contributor

Added constructors for BinaryQuantizationQueryEncoding with available options to make it clearer to use.
See usage here: https://github.com/qdrant/landing_page/pull/1798/files#diff-20a4cac8258e63b815c38e6ee056a919b8b4e8b979e152cee544a0568971261b

@timvisee timvisee merged commit a9267ee into dev Jul 18, 2025
2 checks passed
timvisee added a commit that referenced this pull request Jul 18, 2025
* update proto, generated types, and add new builders

* fmt

* fix doctest

* BinaryQuantizationQueryEncoding variants

* add snippet for creating text index

* add bq snippets

* rename stemmer helper function

* Bump proto definitions

---------

Co-authored-by: Ivan Pleshkov <pleshkov.ivan@gmail.com>
Co-authored-by: generall <andrey@vasnetsov.com>
Co-authored-by: timvisee <tim@visee.me>
@timvisee timvisee mentioned this pull request Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants