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

feat: option to not rebuild search on rename #15443

Merged
merged 1 commit into from Dec 27, 2021

Conversation

barredterra
Copy link
Collaborator

@barredterra barredterra commented Dec 24, 2021

In bulk rename, it doesn't make sense to rebuild search for each individual record. For example, if we rename 40 records, the search will be rebuilt 40 times.

Let's add an option to not rebuild search in rename_doc, for methods like bulk_rename. They will explicitly rebuild search once all records have been renamed.

no-docs

@barredterra
Copy link
Collaborator Author

@mergify backport version-13-hotfix

@mergify
Copy link
Contributor

mergify bot commented Dec 24, 2021

backport version-13-hotfix

🟠 Waiting for conditions to match

  • merged [:pushpin: backport requirement]

Hey, I reacted but my real name is @Mergifyio

@codecov
Copy link

codecov bot commented Dec 24, 2021

Codecov Report

Merging #15443 (429d517) into develop (1b28c3b) will increase coverage by 2.78%.
The diff coverage is 75.00%.

@@             Coverage Diff             @@
##           develop   #15443      +/-   ##
===========================================
+ Coverage    47.01%   49.79%   +2.78%     
===========================================
  Files          745      745              
  Lines        65258    65259       +1     
  Branches      5419     5419              
===========================================
+ Hits         30678    32495    +1817     
+ Misses       30650    28834    -1816     
  Partials      3930     3930              
Flag Coverage Δ
server 57.53% <75.00%> (+4.25%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@mergify mergify bot merged commit b7dfd7f into frappe:develop Dec 27, 2021
@mergify
Copy link
Contributor

mergify bot commented Dec 27, 2021

backport version-13-hotfix

✅ Backports have been created

@gavindsouza
Copy link
Collaborator

@Mergifyio backport version-12-hotfix


This looks like a fix to me, so backporting it to v12 too 🎁

@mergify
Copy link
Contributor

mergify bot commented Dec 27, 2021

backport version-12-hotfix

✅ Backports have been created

surajshetty3416 pushed a commit that referenced this pull request Dec 27, 2021
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
surajshetty3416 added a commit that referenced this pull request Dec 27, 2021
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
@barredterra barredterra deleted the dont-rebuild-search branch December 27, 2021 14:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants