wedb_embed 0.1.6

Embedded database engine providing Redis-like APIs, built on fjall / 嵌入式数据库引擎,提供类似 Redis 的接口,底层基于 fjall 开发
Documentation
pub mod ast;
pub mod r#const;
pub mod encoding;
pub mod hnsw;
pub mod index;
pub mod manager;
pub mod meta;
pub mod node_pack;
pub mod opt;
pub mod sug;
pub mod tokenizer;

pub use ast::{
  SearchQueryNode, explain_search_query, explain_search_query_cli, parse_search_query,
  parse_search_query_with_params,
};
pub use r#const::*;
pub use encoding::{
  HnswLevelType, SearchKey, SearchSubkeyType, compute_sq8_distance, compute_vector_distance,
  decode_hnsw_node_meta, decode_hnsw_vector_field_meta, decode_index_meta, decode_index_prefixes,
  decode_numeric_field_meta, decode_sortable_f64, decode_sortable_f64_u64, decode_sortable_i64,
  decode_tag_field_meta, encode_hnsw_node_meta, encode_hnsw_vector_field_meta, encode_index_meta,
  encode_index_prefixes, encode_numeric_field_meta, encode_sortable_f64, encode_sortable_f64_u64,
  encode_sortable_i64, encode_tag_field_meta, parse_vector_from_slice,
};
pub use hnsw::{Candidate, HnswGraph, HnswNode, MinCandidate};
pub use index::{InvertedIndex, Posting, StoredDoc, extract_doc_terms};
pub use manager::SearchIndexManager;
pub use meta::{
  DistanceMetric, IndexField, IndexFieldType, IndexOnDataType, SearchIndexSchema, VectorAlgorithm,
  VectorFieldMetadata, VectorType,
};
pub use node_pack::{NodePackFormat, NodePackRef, OppvDeltaNeighborIter, Sq8Vector};
pub use opt::{
  AggregateResult, AggregateRow, FtAggregate, FtAliasAdd, FtAliasDel, FtAliasUpdate,
  FtConfigCommand, FtCreate, FtDropIndex, FtFieldInfo, FtGroupBy, FtIndexDefinition, FtInfo,
  FtList, FtReducer, FtSearch, FtSugAdd, FtSugDel, FtSugGet, FtSugLen, FtTagVals, SearchDoc,
  SearchResult, SuggestionItem,
};
pub use sug::SuggestionDict;
pub use tokenizer::{
  DEFAULT_STOP_WORDS, levenshtein_distance, tokenize_tags, tokenize_text,
  tokenize_text_with_stopwords, unescape_tag_string,
};