lib/nano_store/store_extension.rb
# Recreate all indexes from the document store. 
Recreate all indexes from the document store.
Recreate all indexes from the document store .
def rebuild_index
    error_ptr = Pointer.new(:id)
    result = self.rebuildIndexesAndReturnError(error_ptr)
    raise NanoStore::NanoStoreError, error_ptr[0].description if error_ptr[0]
    result
  end
def rebuild_index error_ptr = Pointer . new ( :id ) result = self . rebuildIndexesAndReturnError ( error_ptr ) raise NanoStore :: NanoStoreError , error_ptr [ 0 ] . description if error_ptr [ 0 ] result end
Recreate all indexes from the document store.
Recreate all indexes from the document store .