Plume/migrations/sqlite/2019-04-28-201506_create_tantivy_index/up.sql

11 lines
264 B
MySQL
Raw Permalink Normal View History

-- Your SQL goes here
--#!|conn: &Connection, path: &Path| {
--#! let mut pb = path.to_path_buf();
--#! pb.push("search_index");
--#! let searcher = super::search::Searcher::create(&pb)?;
--#! searcher.fill(conn)?;
--#! searcher.commit();
--#! Ok(())
--#!}