mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2025-01-12 22:25:24 +00:00
11 lines
264 B
MySQL
11 lines
264 B
MySQL
|
-- 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(())
|
||
|
--#!}
|
||
|
|