code: def commit(self, index_update=True, label_guesser_update=True):
          
          logger.info("Index: Commiting changes")
          self.docsearch.index.commit(index_update=index_update,
                                      label_guesser_update=label_guesser_update)
docs: Apply the changes to the index