probe_code/search/
search_options.rs1use std::path::Path;
2
3pub struct SearchOptions<'a> {
5 pub path: &'a Path,
6 pub queries: &'a [String],
7 pub files_only: bool,
8 pub custom_ignores: &'a [String],
9 pub exclude_filenames: bool,
10 pub reranker: &'a str,
11 #[allow(dead_code)]
12 pub frequency_search: bool,
13 pub exact: bool,
14 pub language: Option<&'a str>,
15 pub max_results: Option<usize>,
16 pub max_bytes: Option<usize>,
17 pub max_tokens: Option<usize>,
18 pub allow_tests: bool,
19 pub no_merge: bool,
20 pub merge_threshold: Option<usize>,
21 pub dry_run: bool,
22 pub session: Option<&'a str>,
23 pub timeout: u64,
24}