Skip to main content

text_index_dir_beside

Function text_index_dir_beside 

Source
pub fn text_index_dir_beside(hexastore_dir: impl AsRef<Path>) -> Option<PathBuf>
Expand description

The text plugin’s Tantivy directory beside a hexastore directory: {data_dir}/{repository}/o → {data_dir}/{repository}/o-text-index.

None only for a path with no file name (never for a store dir). The naming rule lives here so the storage handle and the offline preflight cannot disagree about where an existing index is.