pub enum StoreLexicalError {
Query(QueryError),
Lexical(LexicalFilterError),
MissingDocumentIdentity {
segment_id: SegmentId,
},
MissingStoredText {
segment_id: SegmentId,
row: u32,
},
MissingSnippetMatch {
segment: u32,
row: u32,
},
Structured(LexicalQueryError),
Snippet(SnippetError),
Tokenizer(TokenizerError),
}Expand description
Typed store lexical query failure.
Variants§
Query(QueryError)
Store admission, cancellation, or lifecycle failed.
Lexical(LexicalFilterError)
Lexical planning or scoring failed.
MissingDocumentIdentity
A postings-bearing immutable segment has no document-identity region.
MissingStoredText
A matching row predates the append-only stored-text region.
Fields
MissingSnippetMatch
Stored text existed but none of the reported terms mapped to a source span.
Structured(LexicalQueryError)
Structured query shape was invalid.
Snippet(SnippetError)
Snippet options were invalid.
Tokenizer(TokenizerError)
The pinned tokenizer configuration could not be constructed.
Trait Implementations§
Source§impl Debug for StoreLexicalError
impl Debug for StoreLexicalError
Source§impl Display for StoreLexicalError
impl Display for StoreLexicalError
Source§impl Error for StoreLexicalError
impl Error for StoreLexicalError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<LexicalFilterError> for StoreLexicalError
impl From<LexicalFilterError> for StoreLexicalError
Source§fn from(error: LexicalFilterError) -> Self
fn from(error: LexicalFilterError) -> Self
Converts to this type from the input type.
Source§impl From<LexicalQueryError> for StoreLexicalError
impl From<LexicalQueryError> for StoreLexicalError
Source§fn from(error: LexicalQueryError) -> Self
fn from(error: LexicalQueryError) -> Self
Converts to this type from the input type.
Source§impl From<QueryError> for StoreLexicalError
impl From<QueryError> for StoreLexicalError
Source§fn from(error: QueryError) -> Self
fn from(error: QueryError) -> Self
Converts to this type from the input type.
Source§impl From<SnippetError> for StoreLexicalError
impl From<SnippetError> for StoreLexicalError
Source§fn from(error: SnippetError) -> Self
fn from(error: SnippetError) -> Self
Converts to this type from the input type.
Source§impl From<StoreError> for StoreLexicalError
impl From<StoreError> for StoreLexicalError
Source§fn from(error: StoreError) -> Self
fn from(error: StoreError) -> Self
Converts to this type from the input type.
Source§impl From<TokenizerError> for StoreLexicalError
impl From<TokenizerError> for StoreLexicalError
Source§fn from(error: TokenizerError) -> Self
fn from(error: TokenizerError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for StoreLexicalError
impl !UnwindSafe for StoreLexicalError
impl Freeze for StoreLexicalError
impl Send for StoreLexicalError
impl Sync for StoreLexicalError
impl Unpin for StoreLexicalError
impl UnsafeUnpin for StoreLexicalError
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