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

Use batch inserts for Search indexer #893

Open
ZachOrr opened this issue Oct 6, 2020 · 0 comments
Open

Use batch inserts for Search indexer #893

ZachOrr opened this issue Oct 6, 2020 · 0 comments
Labels
enhancement Issues for new features or new functionality ios14

Comments

@ZachOrr
Copy link
Member

ZachOrr commented Oct 6, 2020

The Search indexer is slow when inserting teams due to inserting thousands of teams at a time, one at a time. We should look to use NSBatchInsertRequest for inserting a large number of teams and NSBatchDeleteRequest when deleting a large number of teams.

Work for this has begun at zorr/batch-search

@ZachOrr ZachOrr added enhancement Issues for new features or new functionality ios14 labels Oct 6, 2020
@ZachOrr ZachOrr added this to To do in iOS 14 via automation Oct 6, 2020
@ZachOrr ZachOrr added this to To do in Rewrite Search Indexer Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues for new features or new functionality ios14
Projects
No open projects
Development

No branches or pull requests

1 participant