pub struct SearchFtsResult {
pub success: bool,
pub message: String,
pub index_name: String,
pub tokenizer_mode: String,
pub normalized_query: String,
pub fts_query: String,
pub source: String,
pub query_mode: String,
pub total: u64,
pub hits: Vec<SearchFtsHit>,
}Expand description
FTS 检索结果(中英双语)。 FTS search response payload (bilingual).
Fields§
§success: bool操作是否成功。 Whether the operation succeeded.
message: String返回消息。 Human readable response message.
index_name: String索引名。 Index name.
tokenizer_mode: String使用的分词模式。 Effective tokenizer mode.
normalized_query: String规范化后的查询文本。 Normalized query text.
fts_query: String最终传给 SQLite MATCH 的表达式。 Final FTS MATCH expression passed into SQLite.
source: String检索结果来源标识,供混合检索层识别。 Result source label for hybrid retrieval layers.
query_mode: String查询模式标识,便于上层做统一调度。 Query mode label for upper-layer orchestration.
total: u64命中总数。 Total number of hits.
hits: Vec<SearchFtsHit>命中列表。 Search hit list.
Trait Implementations§
Source§impl Clone for SearchFtsResult
impl Clone for SearchFtsResult
Source§fn clone(&self) -> SearchFtsResult
fn clone(&self) -> SearchFtsResult
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 SearchFtsResult
impl Debug for SearchFtsResult
Source§impl<'de> Deserialize<'de> for SearchFtsResult
impl<'de> Deserialize<'de> for SearchFtsResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SearchFtsResult
impl PartialEq for SearchFtsResult
Source§impl Serialize for SearchFtsResult
impl Serialize for SearchFtsResult
impl StructuralPartialEq for SearchFtsResult
Auto Trait Implementations§
impl Freeze for SearchFtsResult
impl RefUnwindSafe for SearchFtsResult
impl Send for SearchFtsResult
impl Sync for SearchFtsResult
impl Unpin for SearchFtsResult
impl UnsafeUnpin for SearchFtsResult
impl UnwindSafe for SearchFtsResult
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request