finish

abstract fun finish()(source)

Updates the index with the computed vectors and removes any index rows for which null vector was given. If there are any indexes that do not have their vector value set or are skipped, a CouchbaseLiteException will be thrown.

Note: Before calling the finish() function, the set vectors are kept in the memory.

Throws

if there are any indexes that do not have their vector value set or are skipped.