issundb-retrieval 0.1.0-alpha.5

Hybrid retrieval (vector, text, and graph) for IssunDB
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use thiserror::Error;

/// Structured errors representing all hybrid retrieval faults.
#[derive(Debug, Error)]
pub enum RetrievalError {
    #[error("underlying storage error: {0}")]
    Core(#[from] issundb_core::Error),

    #[error("vector index error: {0}")]
    Vector(#[from] issundb_vector::VectorError),

    #[error("text search error: {0}")]
    Text(#[from] issundb_text::TextError),
}