Skip to content

store.ExecuteIndexes vs IndexCreation.CreateIndexes #20477

Answered by ppekrol
RJacobsRN asked this question in Q&A
Discussion options

You must be logged in to vote

I've created an issue, in both cases you should get a meaningful exception. You can track it here: https://issues.hibernatingrhinos.com/issue/RavenDB-24077

The difference is that IndexCreation.CreateIndexes on failure will process indexes one by one, and DocumentStore.ExecuteIndexes will just fail (there is a batching mechanism inside the endpoint it hits - 50 indexes)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RJacobsRN
Comment options

Answer selected by RJacobsRN
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants