pub struct PipelineOptions {
pub mode: IndexMode,
pub generate_ids: bool,
pub summary_strategy: SummaryStrategy,
pub thinning: ThinningConfig,
pub optimization: OptimizationConfig,
pub generate_description: bool,
pub concurrency: ConcurrencyConfig,
pub indexer: IndexerConfig,
}Expand description
Pipeline options for index execution.
Fields§
§mode: IndexModeIndex mode.
generate_ids: boolWhether to generate node IDs.
summary_strategy: SummaryStrategySummary generation strategy.
thinning: ThinningConfigThinning configuration.
optimization: OptimizationConfigOptimization configuration.
generate_description: boolWhether to generate document description.
concurrency: ConcurrencyConfigConcurrency configuration.
indexer: IndexerConfigIndexer configuration.
Implementations§
Source§impl PipelineOptions
impl PipelineOptions
Sourcepub fn with_generate_ids(self, generate: bool) -> Self
pub fn with_generate_ids(self, generate: bool) -> Self
Set whether to generate node IDs.
Sourcepub fn with_summary_strategy(self, strategy: SummaryStrategy) -> Self
pub fn with_summary_strategy(self, strategy: SummaryStrategy) -> Self
Set the summary strategy.
Sourcepub fn with_thinning(self, thinning: ThinningConfig) -> Self
pub fn with_thinning(self, thinning: ThinningConfig) -> Self
Set the thinning configuration.
Sourcepub fn with_optimization(self, optimization: OptimizationConfig) -> Self
pub fn with_optimization(self, optimization: OptimizationConfig) -> Self
Set the optimization configuration.
Sourcepub fn with_generate_description(self, generate: bool) -> Self
pub fn with_generate_description(self, generate: bool) -> Self
Set whether to generate document description.
Sourcepub fn with_concurrency(self, concurrency: ConcurrencyConfig) -> Self
pub fn with_concurrency(self, concurrency: ConcurrencyConfig) -> Self
Set the concurrency configuration.
Sourcepub fn with_indexer(self, indexer: IndexerConfig) -> Self
pub fn with_indexer(self, indexer: IndexerConfig) -> Self
Set the indexer configuration.
Trait Implementations§
Source§impl Clone for PipelineOptions
impl Clone for PipelineOptions
Source§fn clone(&self) -> PipelineOptions
fn clone(&self) -> PipelineOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PipelineOptions
impl Debug for PipelineOptions
Auto Trait Implementations§
impl Freeze for PipelineOptions
impl RefUnwindSafe for PipelineOptions
impl Send for PipelineOptions
impl Sync for PipelineOptions
impl Unpin for PipelineOptions
impl UnsafeUnpin for PipelineOptions
impl UnwindSafe for PipelineOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more