Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update legacy indexes to preserve documents sort fields on update
Legacy indexes use stored fields to store user data and sorted doc value typed fields to make sorting smooth. After retrieval of any saved document grom index store only stored fields are visible (not sort fields) and in case if we will re-save that document we will loose any sorted fields that we had before in the index for that document. This PR introduce functionality that will restore all 'missing' sort fields to make sure that documents can be always sorted. (cherry picked from commit ead0adb)
- Loading branch information
1 parent
24ddc8f
commit 7eb4bc5
Showing
3 changed files
with
331 additions
and
124 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.