[−][src]Trait ieql::scan::scanner::Scanner
This trait specifies basic scanning functionality.
Required methods
fn scan_batch(&self, documents: &CompiledDocumentBatch) -> OutputBatch
Scan a batch of documents and return the output. This function is singlethreaded and often not very performant.
fn scan_single(&self, document: &CompiledDocument) -> OutputBatch
Scan a single document and return the output.
fn scan_concurrently(&self, threads: u8) -> AsyncScanInterface
Launch a 'scan engine' and create an asynchronous and concurrent scanning system. In most cases, this is what you'll want to use.
For more information about how to interact with the scanning system
(sometimes referred to as the scan engine), please see the documentation
pertaining to AsyncScanInterface
.