Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support experimental manager #572

Merged
merged 36 commits into from
Oct 1, 2024

Conversation

A7bari
Copy link
Contributor

@A7bari A7bari commented Aug 23, 2024

Pull Request

Related issue

Fixes #571

What does this PR do?

Introduce a new ExperimentalFeatures struct and methods to support the experimental features in the Meilisearch client. Users can enable or disable specific experimental features (vector store, logs route, and metrics).

PR checklist

Please check if your PR fulfills the following requirements:

  • Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
  • Have you read the contributing guidelines?
  • Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!

@Ja7ad
Copy link
Collaborator

Ja7ad commented Aug 24, 2024

@Ahbari-M Just one things you need do, please transcode get and update curl to golang example on file https://github.com/meilisearch/meilisearch-go/blob/main/.code-samples.meilisearch.yaml.

https://github.com/meilisearch/documentation/blob/04f26a35771305378ed0a506f4d60ef06d07bd7e/.code-samples.meilisearch.yaml#L1074-L1083

get_experimental_features_1: |-
  curl \
    -X GET 'http://localhost:7700/experimental-features/'
update_experimental_features_1: |-
  curl \
    -X PATCH 'http://localhost:7700/experimental-features/' \
    -H 'Content-Type: application/json'  \
    --data-binary '{
      "metrics": true
    }'

@A7bari A7bari requested a review from Ja7ad August 24, 2024 23:01
Ja7ad
Ja7ad previously approved these changes Aug 25, 2024
Ja7ad and others added 11 commits August 25, 2024 22:26
568: Add Embedder.URL r=brunoocasali a=polyfloyd

# Pull Request

## What does this PR do?
Partial fix for meilisearch#576

The documentation for the Ollama Embedder states that there is an `url` field that can be used to specify how Ollama can be reached. However, this field is not present yet in this client library.

See: https://www.meilisearch.com/docs/learn/experimental/vector_search#generate-auto-embeddings

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?


Co-authored-by: polyfloyd <floyd@polyfloyd.net>
Ja7ad
Ja7ad previously approved these changes Sep 29, 2024
@A7bari A7bari dismissed Ja7ad’s stale review September 29, 2024 19:37

The merge-base changed after approval.

@Ja7ad
Copy link
Collaborator

Ja7ad commented Sep 29, 2024

bors merge

meili-bors bot added a commit that referenced this pull request Sep 29, 2024
572: Support experimental manager r=Ja7ad a=A7bari

# Pull Request

## Related issue
Fixes #571

## What does this PR do?
Introduce a new `ExperimentalFeatures` struct and methods to support the experimental features in the Meilisearch client. Users can enable or disable specific experimental features (vector store, logs route, and metrics). 

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: polyfloyd <floyd@polyfloyd.net>
Co-authored-by: Javad <ja7ad@live.com>
Co-authored-by: Ahbari-M <mohammed.ahbari@usmba.ac.ma>
Co-authored-by: meili-bors[bot] <89034592+meili-bors[bot]@users.noreply.github.com>
Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>
Copy link
Contributor

meili-bors bot commented Sep 29, 2024

This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried.

Additional information:

{"message":"At least 1 approving review is required by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches","status":"422"}

@Ja7ad Ja7ad self-requested a review September 29, 2024 19:41
Ja7ad
Ja7ad previously approved these changes Sep 29, 2024
@Ja7ad
Copy link
Collaborator

Ja7ad commented Sep 29, 2024

bors merge

meili-bors bot added a commit that referenced this pull request Sep 29, 2024
572: Support experimental manager r=Ja7ad a=A7bari

# Pull Request

## Related issue
Fixes #571

## What does this PR do?
Introduce a new `ExperimentalFeatures` struct and methods to support the experimental features in the Meilisearch client. Users can enable or disable specific experimental features (vector store, logs route, and metrics). 

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: polyfloyd <floyd@polyfloyd.net>
Co-authored-by: Javad <ja7ad@live.com>
Co-authored-by: Ahbari-M <mohammed.ahbari@usmba.ac.ma>
Co-authored-by: meili-bors[bot] <89034592+meili-bors[bot]@users.noreply.github.com>
Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>
@A7bari A7bari dismissed Ja7ad’s stale review September 29, 2024 19:43

The merge-base changed after approval.

Copy link
Contributor

meili-bors bot commented Sep 29, 2024

This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried.

Additional information:

{"message":"At least 1 approving review is required by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches","status":"422"}

curquiza
curquiza previously approved these changes Sep 30, 2024
Copy link
Member

@curquiza curquiza left a comment

Choose a reason for hiding this comment

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

bors merge

@A7bari A7bari dismissed curquiza’s stale review September 30, 2024 13:25

The merge-base changed after approval.

meili-bors bot added a commit that referenced this pull request Sep 30, 2024
572: Support experimental manager r=curquiza a=A7bari

# Pull Request

## Related issue
Fixes #571

## What does this PR do?
Introduce a new `ExperimentalFeatures` struct and methods to support the experimental features in the Meilisearch client. Users can enable or disable specific experimental features (vector store, logs route, and metrics). 

## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] Have you made sure that the title is accurate and descriptive of the changes?

Thank you so much for contributing to Meilisearch!


Co-authored-by: polyfloyd <floyd@polyfloyd.net>
Co-authored-by: Javad <ja7ad@live.com>
Co-authored-by: Ahbari-M <mohammed.ahbari@usmba.ac.ma>
Co-authored-by: meili-bors[bot] <89034592+meili-bors[bot]@users.noreply.github.com>
Co-authored-by: Javad Rajabzadeh <ja7ad@live.com>
Copy link
Contributor

meili-bors bot commented Sep 30, 2024

This PR was included in a batch that successfully built, but then failed to merge into main. It will not be retried.

Additional information:

{"message":"At least 1 approving review is required by reviewers with write access.","documentation_url":"https://docs.github.com/articles/about-protected-branches","status":"422"}

@curquiza
Copy link
Member

bors try

meili-bors bot added a commit that referenced this pull request Sep 30, 2024
Copy link
Contributor

meili-bors bot commented Sep 30, 2024

@curquiza
Copy link
Member

curquiza commented Sep 30, 2024

I merge by hand because I don't understand

I want to get the answer of @A7bari first

@A7bari A7bari dismissed curquiza’s stale review September 30, 2024 15:50

The merge-base changed after approval.

curquiza
curquiza previously approved these changes Sep 30, 2024
@curquiza
Copy link
Member

That's sooooo weird @A7bari do you know why your profile reject the review? is it the first time?
It's not a problem with bors here

@A7bari
Copy link
Contributor Author

A7bari commented Oct 1, 2024

Hello @curquiza, I have no idea why it happened.
also, I changed my GitHub's username recently. Do you think that's why?

@curquiza
Copy link
Member

curquiza commented Oct 1, 2024

No I don't think so, really @A7bari

I'm merging by hand

curquiza
curquiza previously approved these changes Oct 1, 2024
@A7bari A7bari dismissed curquiza’s stale review October 1, 2024 15:18

The merge-base changed after approval.

@curquiza curquiza merged commit 1cd56a5 into meilisearch:main Oct 1, 2024
5 of 6 checks passed
@curquiza curquiza added the enhancement New feature or request label Oct 1, 2024
meili-bors bot added a commit that referenced this pull request Oct 28, 2024
584: Update version for the next release (v0.29.0) r=brunoocasali a=meili-bot

_This PR is auto-generated._

The automated script updates the version of meilisearch-go to a new version: "v0.29.0"

--- Changelogs 👇 ---

## ⚠️ Breaking changes (experimental feature)

* `embedder` is now mandatory everywhere - Ensure compatibility with [Meilisearch v1.11](https://github.com/meilisearch/meilisearch/releases/tag/v1.11.0) by `@/Kerollmops`

## 🚀 Enhancements

* Add Embedder.URL (#568) `@/polyfloyd`
* Add multi-search federation (#563) `@/polyfloyd`
* Feat support content encoding  (#570) `@/Ja7ad`
* Support experimental manager (#572) `@/A7bari`
* Feat Language settings & search parameter (#580) `@J/a7ad`
* Feat support retry pattern on status code 502, 503, 504 (#581) `@/Ja7ad`

Thanks again to `@/A7bari,` `@/Ja7ad,` `@/Kerollmops`  and `@/polyfloyd!` 🎉



Co-authored-by: meili-bot <74670311+meili-bot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support experimental manager for Meilisearch service manager
4 participants