Skip to main content

Crate srcsearch

Crate srcsearch 

Source
Expand description

§srcsearch

srcsearch indexes Rust source and Markdown documentation, and supports full-text lookup over indexed content through Tantivy.

§Typical workflow

  1. Build records with index_project (or index_target for incremental work).
  2. Persist results via write_json or write_tantivy_index.
  3. Query with search_tantivy_index.

See the project README for CLI examples and end-to-end usage.

Structs§

SearchHit

Enums§

SearchRecord
SearchScope

Functions§

collect_files
get_tantivy_doc_field
index_project
index_target
search_tantivy_index
update_tantivy_index
write_json
write_tantivy_index

Type Aliases§

AppResult