-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When doing a partial reindex (to index a new field, for example), searchkick was reindexing `type` even when not asked to. This is a problem because maybe you want to reindex `type` with a different value, and after doing a partial index, you need to call the `reindex` again by type — mainly because searchkick has overridden the type using the `document_type` method. Performance is a concern here. Imagine doing that for millions of rows; it will take more time to finish the reindexing.
- Loading branch information
1 parent
34be0ea
commit bf38908
Showing
3 changed files
with
31 additions
and
1 deletion.
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
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