code: def _index_document(self, document, force=False):
          
          query = text("""
              INSERT INTO dataset_index(vid, title, keywords, doc)
              VALUES(:vid, :title, :keywords, :doc);
          """)
          self.backend.library.database.connection.execute(query, **document)
docs: Adds document to the index.