-
Notifications
You must be signed in to change notification settings - Fork 360
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
tests: Unify search engine tests into a single test suite #4318
Merged
frascuchon
merged 5 commits into
feat/index-records-with-suggestions-for-search-engine
from
refactor/unify-search-engine-tests
Nov 27, 2023
Merged
tests: Unify search engine tests into a single test suite #4318
frascuchon
merged 5 commits into
feat/index-records-with-suggestions-for-search-engine
from
refactor/unify-search-engine-tests
Nov 27, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Also, define specif tests for each implementation in a separate test suite
dosubot
bot
added
size:XXL
This PR changes 1000+ lines, ignoring generated files.
area: tests
Indicates that an issue or pull request is related to the tests
language: python
Pull requests or issues that update Python code
team: backend
Indicates that the issue or pull request is owned by the backend team
type: refactor
Indicates internal refactoring of the code-base
labels
Nov 24, 2023
for more information, see https://pre-commit.ci
…la-io/argilla into refactor/unify-search-engine-tests
for more information, see https://pre-commit.ci
jfcalvo
approved these changes
Nov 24, 2023
frascuchon
merged commit Nov 27, 2023
c553000
into
feat/index-records-with-suggestions-for-search-engine
15 of 16 checks passed
jfcalvo
added a commit
that referenced
this pull request
Nov 27, 2023
<!-- Thanks for your contribution! As part of our Community Growers initiative 🌱, we're donating Justdiggit bunds in your name to reforest sub-Saharan Africa. To claim your Community Growers certificate, please contact David Berenstein in our Slack community or fill in this form https://tally.so/r/n9XrxK once your PR has been merged. --> # Description This PR adds support for indexing suggestions when indexing records in the search index. In order to be sure that all record attributes are passed when indexing records, a workaround has been implemented by forcing a record, responses, and suggestions to refresh before indexing them. Otherwise is hard to add that info when loading records in the current code base. This behavior must be reviewed and simplified cc @gabrielmbmb @jfcalvo Changes related to tests will be moved into a separate PR since extra refactoring work must be done. Once this extra PR is merged here, the PR will be marked as ready for review. Related PR #4318 Refs: #3849 Closes #4230 --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: José Francisco Calvo <[email protected]> Co-authored-by: José Francisco Calvo <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area: tests
Indicates that an issue or pull request is related to the tests
language: python
Pull requests or issues that update Python code
lgtm
This PR has been approved by a maintainer
size:XXL
This PR changes 1000+ lines, ignoring generated files.
team: backend
Indicates that the issue or pull request is owned by the backend team
type: refactor
Indicates internal refactoring of the code-base
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR changes and unifies tests related to the search engine.
test_commons.py
test_elasticsearch.py
test_elasticsearch.py
Refs: #4318