You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes owncloud/enterprise#3625. The work should add index for 'addressbookid' 'name' 'value' that allows to improve scan performance of search addressbook query when e.g. end of term wildcard (term%) is used.
accounts.enable_medial_search=true - %value% - index ignored
accounts.enable_medial_search=false - value% - index used
However, query with this index should be faster in general too regardles of wildcard on value, due to index on 'addressbookid', 'name', that will prefilter search
Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.
Note: this is (correctly) after the release-10.4.1 branch point - good.
"some time soon" we should update version.php to say 10.5.0 - but doing that while 10.4.1 branch is still in progress will cause a merge conflict for that branch. So it might be easiest to wait for now.
@pmaier1 migration complexity -> we need to build index on oc_cards_properties for all rows and columns 'addressbookid', 'name', 'value' . This can be quite long operation on tables with a lot of entries.
This file contains hidden or 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
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.
Fixes owncloud/enterprise#3625. The work should add index for
'addressbookid' 'name' 'value'that allows to improve scan performance of search addressbook query when e.g. end of term wildcard (term%) is used.Please note combinations that allow to fully utilize index according to #36225, and comment explaining why index cannot be utilized in these cases https://github.com/owncloud/enterprise/issues/3625#issuecomment-573861541:
accounts.enable_medial_search=true-%value%- index ignoredaccounts.enable_medial_search=false-value%- index usedHowever, query with this index should be faster in general too regardles of wildcard on
value, due to index on'addressbookid', 'name', that will prefilter searchTargeting 10.5 (@micbar )