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 text-separator customization #493

Merged
merged 7 commits into from
Oct 10, 2023

Conversation

ellnix
Copy link
Collaborator

@ellnix ellnix commented Oct 4, 2023

Pull Request

Related issue

Fixes #487

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?

There are linter errors on both this pull request and the #491 since they add new settings, but they cannot reasonably be tackled while adding settings. A separate issue and PR would be more appropriate.

Copy link
Member

@brunoocasali brunoocasali left a comment

Choose a reason for hiding this comment

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

Just a small change regarding the aliases and we're good to go!

lib/meilisearch/index.rb Outdated Show resolved Hide resolved
spec/meilisearch/index/settings_spec.rb Outdated Show resolved Hide resolved
@ellnix ellnix force-pushed the add-separator-token-settings branch from d4ab779 to 12889df Compare October 7, 2023 12:43
@ellnix
Copy link
Collaborator Author

ellnix commented Oct 7, 2023

Fixed conflicts and removed setter aliases along with getters as per similar request to #491.

brunoocasali
brunoocasali previously approved these changes Oct 9, 2023
Copy link
Member

@brunoocasali brunoocasali 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

meili-bors bot added a commit that referenced this pull request Oct 9, 2023
493: Support text-separator customization r=brunoocasali a=ellnix

# Pull Request

## Related issue
Fixes #487 

## 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?

There are linter errors on both this pull request and the #491 since they add new settings, but they cannot reasonably be tackled while adding settings. A separate issue and PR would be more appropriate.

Co-authored-by: ellnix <103502144+ellnix@users.noreply.github.com>
Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
@codecov
Copy link

codecov bot commented Oct 9, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (c73ad5e) 99.61% compared to head (fe533a4) 99.62%.

❗ Current head fe533a4 differs from pull request most recent head c8f6fe5. Consider uploading reports for the commit c8f6fe5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #493      +/-   ##
==========================================
+ Coverage   99.61%   99.62%   +0.01%     
==========================================
  Files           9        9              
  Lines         516      530      +14     
==========================================
+ Hits          514      528      +14     
  Misses          2        2              
Files Coverage Δ
lib/meilisearch/index.rb 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@brunoocasali
Copy link
Member

@ellnix can you re ran the rubocop todo list?

@meili-bors
Copy link
Contributor

meili-bors bot commented Oct 9, 2023

Build failed:

@ellnix
Copy link
Collaborator Author

ellnix commented Oct 9, 2023

@ellnix can you re ran the rubocop todo list?

All of the PRs that involve adding things to the Index class have linter errors related to the size of the Index class. I also mentioned this when I first submitted the PR:

There are linter errors on both this pull request and the #491 since they add new settings, but they cannot reasonably be tackled while adding settings. A separate issue and PR would be more appropriate.

How should I proceed?

@brunoocasali
Copy link
Member

@ellnix can you re ran the rubocop todo list?

All of the PRs that involve adding things to the Index class have linter errors related to the size of the Index class. I also mentioned this when I first submitted the PR:

There are linter errors on both this pull request and the #491 since they add new settings, but they cannot reasonably be tackled while adding settings. A separate issue and PR would be more appropriate.

How should I proceed?

I think we are good to go with just the rubocop todo thing, after that we can plan a bigger refactor in a new PR :)

@ellnix
Copy link
Collaborator Author

ellnix commented Oct 10, 2023

@brunoocasali all rebased with conflicts and rubocop fixed.

Copy link
Member

@brunoocasali brunoocasali 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

Thanks a lot @ellnix you rocks!

meili-bors bot added a commit that referenced this pull request Oct 10, 2023
493: Support text-separator customization r=brunoocasali a=ellnix

# Pull Request

## Related issue
Fixes #487 

## 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?

There are linter errors on both this pull request and the #491 since they add new settings, but they cannot reasonably be tackled while adding settings. A separate issue and PR would be more appropriate.

Co-authored-by: ellnix <103502144+ellnix@users.noreply.github.com>
Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
@meili-bors
Copy link
Contributor

meili-bors bot commented Oct 10, 2023

Build failed:

@brunoocasali
Copy link
Member

bors merge

@meili-bors
Copy link
Contributor

meili-bors bot commented Oct 10, 2023

@meili-bors meili-bors bot merged commit fb6bbc0 into meilisearch:main Oct 10, 2023
6 checks passed
@brunoocasali brunoocasali added the enhancement New feature or request label Dec 11, 2023
@ellnix ellnix mentioned this pull request Jan 16, 2024
3 tasks
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.

[v1.4] Support text-separator customization
2 participants