pub struct IndexerOptions {
pub other: Vec<String>,
pub input: Option<String>,
}Expand description
Input-format selection and additional arguments for an Indexer.
Default leaves input unset and other empty. It does not constitute
a complete command-line invocation: the required index destination must
still be supplied. The example configures the runner’s stdin-input form.
§Examples
use asimov_patterns::IndexerOptions;
let options = IndexerOptions::builder()
.input("jsonl")
.other("./catalog.index")
.build();Fields§
§other: Vec<String>Additional arguments, including the required index-destination operand.
The process wrapper appends these after --input. Put extension options
first, then either the index path alone or input path followed by index
path. Each string is one literal argument; see crate::programs.
input: Option<String>RDF serialization passed as --input=FORMAT (-i in the CLI).
None omits the option; the specified program default is jsonl.
This selects neither the input file nor the persistent index format.
Implementations§
Source§impl IndexerOptions
impl IndexerOptions
Sourcepub fn builder() -> IndexerOptionsBuilder
pub fn builder() -> IndexerOptionsBuilder
Create an instance of IndexerOptions using the builder syntax