repo stringlengths 6 65 | file_url stringlengths 81 311 | file_path stringlengths 6 227 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:31:58 2026-01-04 20:25:31 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/mod.rs | lib/segment/src/index/field_index/full_text_index/mod.rs | mod immutable_text_index;
mod inverted_index;
pub mod mmap_text_index;
mod mutable_text_index;
pub mod stop_words;
pub mod text_index;
pub mod tokenizers;
#[cfg(test)]
mod tests;
| rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/mmap_text_index.rs | lib/segment/src/index/field_index/full_text_index/mmap_text_index.rs | use std::path::PathBuf;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use fs_err as fs;
use serde_json::Value;
use super::inverted_index::immutable_inverted_index::ImmutableInvertedIndex;
use super::inverted_index::mmap_inverted_index::MmapInvertedIndex;
use super::in... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/postings_iterator.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/postings_iterator.rs | use common::types::PointOffsetType;
use itertools::{Either, Itertools};
use posting_list::{PostingIterator, PostingListView, PostingValue};
use super::posting_list::PostingList;
use crate::index::field_index::full_text_index::inverted_index::positions::{
PartialDocument, Positions, TokenPosition,
};
use crate::ind... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mutable_inverted_index.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mutable_inverted_index.rs | use std::collections::HashMap;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use itertools::Either;
use super::posting_list::PostingList;
use super::postings_iterator::{intersect_postings_iterator, merge_postings_iterator};
use super::{Document, InvertedIndex, ParsedQ... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/posting_list.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/posting_list.rs | use common::types::PointOffsetType;
use roaring::RoaringBitmap;
#[derive(Clone, Debug, Default)]
pub struct PostingList {
list: RoaringBitmap,
}
impl PostingList {
pub fn insert(&mut self, idx: PointOffsetType) {
self.list.insert(idx);
}
pub fn remove(&mut self, idx: PointOffsetType) {
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mutable_inverted_index_builder.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mutable_inverted_index_builder.rs | use common::types::PointOffsetType;
use super::InvertedIndex;
use super::mutable_inverted_index::MutableInvertedIndex;
#[cfg(feature = "rocksdb")]
use crate::common::operation_error::OperationResult;
use crate::index::field_index::full_text_index::inverted_index::{Document, TokenSet};
pub struct MutableInvertedIndexB... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mod.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mod.rs | pub(super) mod immutable_inverted_index;
pub mod immutable_postings_enum;
pub(super) mod mmap_inverted_index;
pub(super) mod mutable_inverted_index;
pub(super) mod mutable_inverted_index_builder;
mod positions;
mod posting_list;
mod postings_iterator;
use std::cmp::min;
use std::collections::HashMap;
use ahash::AHash... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/immutable_postings_enum.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/immutable_postings_enum.rs | #[cfg(test)]
use common::types::PointOffsetType;
use posting_list::PostingList;
use super::positions::Positions;
use crate::index::field_index::full_text_index::inverted_index::TokenId;
#[cfg_attr(test, derive(Clone))]
#[derive(Debug)]
pub enum ImmutablePostings {
Ids(Vec<PostingList<()>>),
WithPositions(Vec<... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/immutable_inverted_index.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/immutable_inverted_index.rs | use std::collections::HashMap;
use std::fmt::Debug;
use ahash::AHashMap;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use itertools::Either;
use posting_list::{PostingBuilder, PostingList, PostingListView, PostingValue};
use super::immutable_postings_enum::ImmutableP... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/positions.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/positions.rs | use posting_list::{PostingValue, UnsizedHandler, UnsizedValue};
use zerocopy::{FromBytes, IntoBytes};
use crate::index::field_index::full_text_index::inverted_index::{Document, TokenId};
/// Represents a list of positions of a token in a document.
#[derive(Default, Clone, Debug)]
pub struct Positions(Vec<u32>);
impl... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mmap_postings_enum.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mmap_postings_enum.rs | #[cfg(test)]
use common::types::PointOffsetType;
use crate::index::field_index::full_text_index::inverted_index::TokenId;
use crate::index::field_index::full_text_index::inverted_index::mmap_inverted_index::mmap_postings::MmapPostings;
use super::super::positions::Positions;
pub enum MmapPostingsEnum {
Ids(MmapPo... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mmap_postings.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mmap_postings.rs | use std::fmt::Debug;
use std::io;
use std::io::Write;
use std::marker::PhantomData;
use std::path::{Path, PathBuf};
use common::types::PointOffsetType;
use common::zeros::WriteZerosExt;
use fs_err::File;
use memmap2::Mmap;
use memory::madvise::{Advice, AdviceSetting, Madviseable};
use memory::mmap_ops::open_read_mmap;... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mod.rs | lib/segment/src/index/field_index/full_text_index/inverted_index/mmap_inverted_index/mod.rs | use std::collections::HashMap;
use std::path::PathBuf;
use bitvec::vec::BitVec;
use common::counter::hardware_counter::HardwareCounterCell;
use common::mmap_hashmap::{MmapHashMap, READ_ENTRY_OVERHEAD};
use common::types::PointOffsetType;
use itertools::Either;
use memory::fadvise::clear_disk_cache;
use memory::madvise... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tests/test_congruence.rs | lib/segment/src/index/field_index/full_text_index/tests/test_congruence.rs | use std::collections::HashSet;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use rand::rngs::StdRng;
use rand::{Rng, SeedableRng};
use rstest::rstest;
use serde_json::Value;
use tempfile::{Builder, TempDir};
use crate::common::operation_error::OperationResult;
#[cfg(f... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tests/mod.rs | lib/segment/src/index/field_index/full_text_index/tests/mod.rs | mod test_congruence;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use tempfile::Builder;
use crate::data_types::index::{TextIndexParams, TextIndexType, TokenizerType};
use crate::index::field_index::full_text_index::text_index::FullTextIndex;
use crate::index::field_... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/ascii_folding.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/ascii_folding.rs | // ASCII folding implementation inspired by Lucene's ASCIIFoldingFilter.
// Converts non-ASCII Latin letters and various symbols to ASCII equivalents.
// This aims to be compatible with Lucene's mapping list used in ASCIIFoldingFilter.
use std::borrow::Cow;
pub fn fold_to_ascii_cow<'a>(input: Cow<'a, str>) -> Cow<'a,... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/japanese.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/japanese.rs | use std::borrow::Cow;
use std::sync::LazyLock;
use vaporetto::{Model, Predictor, Sentence};
use super::TokensProcessor;
/// Vaporetto prediction model. Source: https://github.com/daac-tools/vaporetto-models/releases/tag/v0.5.0
const MODEL: &[u8] = include_bytes!(concat!(
env!("CARGO_MANIFEST_DIR"),
"/tokeniz... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/tokens_processor.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/tokens_processor.rs | use std::borrow::Cow;
use std::sync::Arc;
use super::stemmer::Stemmer;
use crate::index::field_index::full_text_index::stop_words::StopwordsFilter;
// TODO(rocksdb): Remove `Clone` once rocksdb has been removed!
#[derive(Debug, Clone, Default)]
pub struct TokensProcessor {
pub lowercase: bool,
pub ascii_foldi... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/stemmer.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/stemmer.rs | use std::borrow::Cow;
use std::str::FromStr;
use std::sync::Arc;
use rust_stemmers::Algorithm;
use crate::data_types::index::{SnowballLanguage, SnowballParams, StemmingAlgorithm};
/// Abstraction to handle different stemming libraries and algorithms with a clean API.
#[derive(Clone)]
pub enum Stemmer {
// TODO(r... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/multilingual.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/multilingual.rs | use std::borrow::Cow;
use charabia::normalizer::{ClassifierOption, NormalizedTokenIter, NormalizerOption};
use charabia::{Language, Script, Segment, StrDetection};
use super::{TokensProcessor, japanese};
/// Default normalizer options from charabia(https://github.com/meilisearch/charabia/blob/main/charabia/src/norma... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/tokenizers/mod.rs | lib/segment/src/index/field_index/full_text_index/tokenizers/mod.rs | use std::borrow::Cow;
use std::sync::Arc;
mod ascii_folding;
mod japanese;
mod multilingual;
mod stemmer;
pub mod tokens_processor;
use multilingual::MultilingualTokenizer;
pub use stemmer::Stemmer;
pub use tokens_processor::TokensProcessor;
use crate::data_types::index::{TextIndexParams, TokenizerType};
use crate::i... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/indonesian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/indonesian.rs | pub const INDONESIAN_STOPWORDS: &[&str] = &[
"ada",
"adalah",
"adanya",
"adapun",
"agak",
"agaknya",
"agar",
"akan",
"akankah",
"akhir",
"akhiri",
"akhirnya",
"aku",
"akulah",
"amat",
"amatlah",
"anda",
"andalah",
"antar",
"antara",
"an... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/german.rs | lib/segment/src/index/field_index/full_text_index/stop_words/german.rs | pub const GERMAN_STOPWORDS: &[&str] = &[
"aber",
"alle",
"allem",
"allen",
"aller",
"alles",
"als",
"also",
"am",
"an",
"ander",
"andere",
"anderem",
"anderen",
"anderer",
"anderes",
"anderm",
"andern",
"anderr",
"anders",
"auch",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/spanish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/spanish.rs | pub const SPANISH_STOPWORDS: &[&str] = &[
"de",
"la",
"que",
"el",
"en",
"y",
"a",
"los",
"del",
"se",
"las",
"por",
"un",
"para",
"con",
"no",
"una",
"su",
"al",
"lo",
"como",
"más",
"pero",
"sus",
"le",
"ya",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/hinglish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/hinglish.rs | pub const HINGLISH_STOPWORDS: &[&str] = &[
"a",
"aadi",
"aaj",
"aap",
"aapne",
"aata",
"aati",
"aaya",
"aaye",
"ab",
"abbe",
"abbey",
"abe",
"abhi",
"able",
"about",
"above",
"accha",
"according",
"accordingly",
"acha",
"achcha",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/greek.rs | lib/segment/src/index/field_index/full_text_index/stop_words/greek.rs | pub const GREEK_STOPWORDS: &[&str] = &[
"αλλα",
"αν",
"αντι",
"απο",
"αυτα",
"αυτεσ",
"αυτη",
"αυτο",
"αυτοι",
"αυτοσ",
"αυτουσ",
"αυτων",
"αἱ",
"αἳ",
"αἵ",
"αὐτόσ",
"αὐτὸς",
"αὖ",
"γάρ",
"γα",
"γα^",
"γε",
"για",
"γοῦν",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/hebrew.rs | lib/segment/src/index/field_index/full_text_index/stop_words/hebrew.rs | pub const HEBREW_STOPWORDS: &[&str] = &[
"אני",
"את",
"אתה",
"אנחנו",
"אתן",
"אתם",
"הם",
"הן",
"היא",
"הוא",
"שלי",
"שלו",
"שלך",
"שלה",
"שלנו",
"שלכם",
"שלכן",
"שלהם",
"שלהן",
"לי",
"לו",
"לה",
"לנו",
"לכם",
"לכן",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/kazakh.rs | lib/segment/src/index/field_index/full_text_index/stop_words/kazakh.rs | pub const KAZAKH_STOPWORDS: &[&str] = &[
"ах",
"ох",
"эх",
"ай",
"эй",
"ой",
"тағы",
"тағыда",
"әрине",
"жоқ",
"сондай",
"осындай",
"осылай",
"солай",
"мұндай",
"бұндай",
"мен",
"сен",
"ол",
"біз",
"біздер",
"олар",
"сіз",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/japanese.rs | lib/segment/src/index/field_index/full_text_index/stop_words/japanese.rs | // Source: https://github.com/stopwords-iso/stopwords-ja/blob/master/stopwords-ja.txt
// Removed a few words and added additional tokens from our tokenizer.
pub const JAPANESE_STOPWORDS: &[&str] = &[
"あそこ",
"あっ",
"あの",
"あのかた",
"あの人",
"あり",
"あります",
"ある",
"あれ",
"い",
"いう",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/nepali.rs | lib/segment/src/index/field_index/full_text_index/stop_words/nepali.rs | pub const NEPALI_STOPWORDS: &[&str] = &[
"छ",
"र",
"पनि",
"छन्",
"लागि",
"भएको",
"गरेको",
"भने",
"गर्न",
"गर्ने",
"हो",
"तथा",
"यो",
"रहेको",
"उनले",
"थियो",
"हुने",
"गरेका",
"थिए",
"गर्दै",
"तर",
"नै",
"को",
"मा",
"हुन्... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/portuguese.rs | lib/segment/src/index/field_index/full_text_index/stop_words/portuguese.rs | pub const PORTUGUESE_STOPWORDS: &[&str] = &[
"a",
"à",
"ao",
"aos",
"aquela",
"aquelas",
"aquele",
"aqueles",
"aquilo",
"as",
"às",
"até",
"com",
"como",
"da",
"das",
"de",
"dela",
"delas",
"dele",
"deles",
"depois",
"do",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/finnish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/finnish.rs | pub const FINNISH_STOPWORDS: &[&str] = &[
"olla",
"olen",
"olet",
"on",
"olemme",
"olette",
"ovat",
"ole",
"oli",
"olisi",
"olisit",
"olisin",
"olisimme",
"olisitte",
"olisivat",
"olit",
"olin",
"olimme",
"olitte",
"olivat",
"ollut",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/tajik.rs | lib/segment/src/index/field_index/full_text_index/stop_words/tajik.rs | pub const TAJIK_STOPWORDS: &[&str] = &[
"аз",
"дар",
"ба",
"бо",
"барои",
"бе",
"то",
"ҷуз",
"пеши",
"назди",
"рӯйи",
"болои ",
"паси",
"ғайри",
"ҳамон",
"ҳамоно",
"инҷониб",
"замон",
"замоно",
"эътиборан",
"пеш",
"қабл",
"дида"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/bengali.rs | lib/segment/src/index/field_index/full_text_index/stop_words/bengali.rs | pub const BENGALI_STOPWORDS: &[&str] = &[
"অতএব",
"অথচ",
"অথবা",
"অনুযায়ী",
"অনেক",
"অনেকে",
"অনেকেই",
"অন্তত",
"অন্য",
"অবধি",
"অবশ্য",
"অর্থাত",
"আই",
"আগামী",
"আগে",
"আগেই",
"আছে",
"আজ",
"আদ্যভাগে",
"আপনার",
"আপনি",
"আবার",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/azerbaijani.rs | lib/segment/src/index/field_index/full_text_index/stop_words/azerbaijani.rs | pub const AZERBAIJANI_STOPWORDS: &[&str] = &[
"a",
"ad",
"altı",
"altmış",
"amma",
"arasında",
"artıq",
"ay",
"az",
"bax",
"belə",
"bəli",
"bəlkə",
"beş",
"bəy",
"bəzən",
"bəzi",
"bilər",
"bir",
"biraz",
"biri",
"birşey",
"biz",... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/italian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/italian.rs | pub const ITALIAN_STOPWORDS: &[&str] = &[
"ad",
"al",
"allo",
"ai",
"agli",
"all",
"agl",
"alla",
"alle",
"con",
"col",
"coi",
"da",
"dal",
"dallo",
"dai",
"dagli",
"dall",
"dagl",
"dalla",
"dalle",
"di",
"del",
"dello",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/mod.rs | lib/segment/src/index/field_index/full_text_index/stop_words/mod.rs | use ahash::AHashSet;
use crate::data_types::index::{Language, StopwordsInterface};
pub mod arabic;
pub mod azerbaijani;
pub mod basque;
pub mod bengali;
pub mod catalan;
pub mod chinese;
pub mod danish;
pub mod dutch;
pub mod english;
pub mod finnish;
pub mod french;
pub mod german;
pub mod greek;
pub mod hebrew;
pub... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/danish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/danish.rs | pub const DANISH_STOPWORDS: &[&str] = &[
"og", "i", "jeg", "det", "at", "en", "den", "til", "er", "som", "på", "de", "med", "han", "af",
"for", "ikke", "der", "var", "mig", "sig", "men", "et", "har", "om", "vi", "min", "havde",
"ham", "hun", "nu", "over", "da", "fra", "du", "ud", "sin", "dem", "os", "op", "... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/basque.rs | lib/segment/src/index/field_index/full_text_index/stop_words/basque.rs | pub const BASQUE_STOPWORDS: &[&str] = &[
"ahala",
"aitzitik",
"al",
"ala ",
"alabadere",
"alabaina",
"alabaina",
"aldiz ",
"alta",
"amaitu",
"amaitzeko",
"anitz",
"antzina",
"arabera",
"arabera",
"arabera",
"argi",
"arratsaldero",
"arte",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/russian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/russian.rs | pub const RUSSIAN_STOPWORDS: &[&str] = &[
"и",
"в",
"во",
"не",
"что",
"он",
"на",
"я",
"с",
"со",
"как",
"а",
"то",
"все",
"она",
"так",
"его",
"но",
"да",
"ты",
"к",
"у",
"же",
"вы",
"за",
"бы",
"по",
"толь... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/arabic.rs | lib/segment/src/index/field_index/full_text_index/stop_words/arabic.rs | pub const ARABIC_STOPWORDS: &[&str] = &[
"إذ",
"إذا",
"إذما",
"إذن",
"أف",
"أقل",
"أكثر",
"ألا",
"إلا",
"التي",
"الذي",
"الذين",
"اللاتي",
"اللائي",
"اللتان",
"اللتيا",
"اللتين",
"اللذان",
"اللذين",
"اللواتي",
"إلى",
"إليك",
"إل... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/chinese.rs | lib/segment/src/index/field_index/full_text_index/stop_words/chinese.rs | pub const CHINESE_STOPWORDS: &[&str] = &[
"一",
"一下",
"一些",
"一切",
"一则",
"一天",
"一定",
"一方面",
"一旦",
"一时",
"一来",
"一样",
"一次",
"一片",
"一直",
"一致",
"一般",
"一起",
"一边",
"一面",
"万一",
"上下",
"上升",
"上去",
"上来",
"上述",
"上面",
"下列"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/french.rs | lib/segment/src/index/field_index/full_text_index/stop_words/french.rs | pub const FRENCH_STOPWORDS: &[&str] = &[
"au", "aux", "avec", "ce", "ces", "dans", "de", "des", "du", "elle", "en", "et", "eux", "il",
"ils", "je", "la", "le", "les", "leur", "lui", "ma", "mais", "me", "même", "mes", "moi", "mon",
"ne", "nos", "notre", "nous", "on", "ou", "par", "pas", "pour", "qu", "que", ... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/hungarian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/hungarian.rs | pub const HUNGARIAN_STOPWORDS: &[&str] = &[
"a",
"ahogy",
"ahol",
"aki",
"akik",
"akkor",
"alatt",
"által",
"általában",
"amely",
"amelyek",
"amelyekben",
"amelyeket",
"amelyet",
"amelynek",
"ami",
"amit",
"amolyan",
"amíg",
"amikor",
"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/slovene.rs | lib/segment/src/index/field_index/full_text_index/stop_words/slovene.rs | pub const SLOVENE_STOPWORDS: &[&str] = &[
"ali",
"ampak",
"bodisi",
"in",
"kajti",
"marveč",
"namreč",
"ne",
"niti",
"oziroma",
"pa",
"saj",
"sicer",
"temveč",
"ter",
"toda",
"torej",
"vendar",
"vendarle",
"zakaj",
"če",
"čeprav",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/norwegian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/norwegian.rs | pub const NORWEGIAN_STOPWORDS: &[&str] = &[
"og",
"i",
"jeg",
"det",
"at",
"en",
"et",
"den",
"til",
"er",
"som",
"på",
"de",
"med",
"han",
"av",
"ikke",
"ikkje",
"der",
"så",
"var",
"meg",
"seg",
"men",
"ett",
"har"... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/dutch.rs | lib/segment/src/index/field_index/full_text_index/stop_words/dutch.rs | pub const DUTCH_STOPWORDS: &[&str] = &[
"de", "en", "van", "ik", "te", "dat", "die", "in", "een", "hij", "het", "niet", "zijn", "is",
"was", "op", "aan", "met", "als", "voor", "had", "er", "maar", "om", "hem", "dan", "zou", "of",
"wat", "mijn", "men", "dit", "zo", "door", "over", "ze", "zich", "bij", "ook",... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/catalan.rs | lib/segment/src/index/field_index/full_text_index/stop_words/catalan.rs | pub const CATALAN_STOPWORDS: &[&str] = &[
"a",
"abans",
"ací",
"ah",
"així",
"això",
"al",
"aleshores",
"algun",
"alguna",
"algunes",
"alguns",
"alhora",
"allà",
"allí",
"allò",
"als",
"altra",
"altre",
"altres",
"amb",
"ambdues",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/english.rs | lib/segment/src/index/field_index/full_text_index/stop_words/english.rs | pub const ENGLISH_STOPWORDS: &[&str] = &[
"i",
"me",
"my",
"myself",
"we",
"our",
"ours",
"ourselves",
"you",
"you're",
"you've",
"you'll",
"you'd",
"your",
"yours",
"yourself",
"yourselves",
"he",
"him",
"his",
"himself",
"she",
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/romanian.rs | lib/segment/src/index/field_index/full_text_index/stop_words/romanian.rs | pub const ROMANIAN_STOPWORDS: &[&str] = &[
"a",
"abia",
"acea",
"aceasta",
"această",
"aceea",
"aceeasi",
"acei",
"aceia",
"acel",
"acela",
"acelasi",
"acele",
"acelea",
"acest",
"acesta",
"aceste",
"acestea",
"acestei",
"acestia",
"ace... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/swedish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/swedish.rs | pub const SWEDISH_STOPWORDS: &[&str] = &[
"och", "det", "att", "i", "en", "jag", "hon", "som", "han", "på", "den", "med", "var", "sig",
"för", "så", "till", "är", "men", "ett", "om", "hade", "de", "av", "icke", "mig", "du",
"henne", "då", "sin", "nu", "har", "inte", "hans", "honom", "skulle", "hennes", "där... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/full_text_index/stop_words/turkish.rs | lib/segment/src/index/field_index/full_text_index/stop_words/turkish.rs | pub const TURKISH_STOPWORDS: &[&str] = &[
"acaba", "ama", "aslında", "az", "bazı", "belki", "biri", "birkaç", "birşey", "biz", "bu",
"çok", "çünkü", "da", "daha", "de", "defa", "diye", "eğer", "en", "gibi", "hem", "hep",
"hepsi", "her", "hiç", "için", "ile", "ise", "kez", "ki", "kim", "mı", "mu", "mü", "nas... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/null_index/mod.rs | lib/segment/src/index/field_index/null_index/mod.rs | pub mod mutable_null_index;
pub use mutable_null_index::MutableNullIndex;
| rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/null_index/mutable_null_index.rs | lib/segment/src/index/field_index/null_index/mutable_null_index.rs | use std::path::{Path, PathBuf};
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use fs_err as fs;
use serde_json::Value;
use crate::common::Flusher;
use crate::common::flags::dynamic_mmap_flags::DynamicMmapFlags;
use crate::common::flags::roaring_flags::RoaringFlags;
us... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/tests/histogram_test_utils.rs | lib/segment/src/index/field_index/tests/histogram_test_utils.rs | use std::collections::BTreeSet;
use std::fmt::Display;
use std::io;
use std::io::Write;
use serde::Serialize;
use serde::de::DeserializeOwned;
use crate::index::field_index::histogram::{Histogram, Numericable, Point};
pub fn print_results<T: Numericable + Serialize + DeserializeOwned + Display>(
points_index: &B... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/tests/histogram_i64_tests.rs | lib/segment/src/index/field_index/tests/histogram_i64_tests.rs | use std::collections::BTreeSet;
use std::collections::Bound::Included;
use common::types::PointOffsetType;
use rand::prelude::SliceRandom;
use crate::index::field_index::histogram::{Histogram, Point};
use crate::index::field_index::tests::histogram_test_utils::print_results;
use crate::index::field_index::tests::hist... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/tests/mod.rs | lib/segment/src/index/field_index/tests/mod.rs | mod histogram_i64_tests;
mod histogram_test_utils;
mod histogram_tests;
| rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/tests/histogram_tests.rs | lib/segment/src/index/field_index/tests/histogram_tests.rs | use std::cell::Cell;
use std::collections::BTreeSet;
use std::collections::Bound::{Excluded, Included, Unbounded};
use itertools::Itertools;
use rand::prelude::StdRng;
use rand::{Rng, SeedableRng};
use rand_distr::StandardNormal;
use serde::Serialize;
use serde::de::DeserializeOwned;
use crate::index::field_index::hi... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/map_index/mutable_map_index.rs | lib/segment/src/index/field_index/map_index/mutable_map_index.rs | use std::borrow::Borrow;
use std::collections::HashMap;
use std::iter;
use std::path::PathBuf;
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use gridstore::config::StorageOptions;
use gridstore::{Blob, Gridstore};
#[cfg(f... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/map_index/mmap_map_index.rs | lib/segment/src/index/field_index/map_index/mmap_map_index.rs | use std::borrow::Borrow;
use std::iter;
use std::mem::size_of;
use std::path::{Path, PathBuf};
use ahash::HashMap;
use common::counter::conditioned_counter::ConditionedCounter;
use common::counter::hardware_counter::HardwareCounterCell;
use common::counter::iterator_hw_measurement::HwMeasurementIteratorExt;
use common... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/map_index/immutable_map_index.rs | lib/segment/src/index/field_index/map_index/immutable_map_index.rs | use std::borrow::Borrow as _;
use std::collections::HashMap;
use std::iter;
use std::ops::Range;
use std::path::PathBuf;
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
use bitvec::vec::BitVec;
use common::mmap_hashmap::Key;
use common::types::PointOffsetType;
use gridstore::Blob;
#[cfg(feature = "rocksdb")]
use parki... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/map_index/mod.rs | lib/segment/src/index/field_index/map_index/mod.rs | use std::borrow::Borrow;
use std::collections::hash_map::Entry;
use std::fmt::{Debug, Display};
use std::hash::{BuildHasher, Hash};
use std::iter;
use std::path::{Path, PathBuf};
use std::str::FromStr;
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
use ahash::HashMap;
use common::counter::hardware_counter::HardwareCo... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | true |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/numeric_index/tests.rs | lib/segment/src/index/field_index/numeric_index/tests.rs | use common::counter::hardware_accumulator::HwMeasurementAcc;
use itertools::Itertools;
use rand::prelude::StdRng;
use rand::{Rng, SeedableRng};
use rstest::rstest;
use tempfile::{Builder, TempDir};
use super::*;
#[cfg(feature = "rocksdb")]
use crate::common::rocksdb_wrapper::open_db_with_existing_cf;
use crate::json_p... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/numeric_index/mod.rs | lib/segment/src/index/field_index/numeric_index/mod.rs | pub mod immutable_numeric_index;
pub mod mmap_numeric_index;
pub mod mutable_numeric_index;
#[cfg(test)]
mod tests;
use std::cmp::{max, min};
use std::marker::PhantomData;
use std::ops::Bound;
use std::ops::Bound::{Excluded, Included, Unbounded};
use std::path::{Path, PathBuf};
use std::str::FromStr;
#[cfg(feature = ... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | true |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/numeric_index/immutable_numeric_index.rs | lib/segment/src/index/field_index/numeric_index/immutable_numeric_index.rs | use std::collections::BTreeSet;
use std::ops::Bound;
use std::path::PathBuf;
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
use bitvec::vec::BitVec;
use common::ext::BitSliceExt as _;
use common::types::PointOffsetType;
use gridstore::Blob;
#[cfg(feature = "rocksdb")]
use parking_lot::RwLock;
#[cfg(feature = "rocksdb... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/numeric_index/mutable_numeric_index.rs | lib/segment/src/index/field_index/numeric_index/mutable_numeric_index.rs | use std::collections::BTreeSet;
use std::ops::Bound;
use std::ops::Bound::{Excluded, Unbounded};
use std::path::PathBuf;
#[cfg(feature = "rocksdb")]
use std::sync::Arc;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use gridstore::config::StorageOptions;
use gridstore::... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/numeric_index/mmap_numeric_index.rs | lib/segment/src/index/field_index/numeric_index/mmap_numeric_index.rs | use std::ops::Bound;
use std::path::{Path, PathBuf};
use common::counter::conditioned_counter::ConditionedCounter;
use common::counter::hardware_counter::HardwareCounterCell;
use common::counter::iterator_hw_measurement::HwMeasurementIteratorExt;
use common::types::PointOffsetType;
use fs_err as fs;
use io::file_opera... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/bool_index/mutable_bool_index.rs | lib/segment/src/index/field_index/bool_index/mutable_bool_index.rs | use std::path::{Path, PathBuf};
use common::counter::hardware_counter::HardwareCounterCell;
use common::counter::iterator_hw_measurement::HwMeasurementIteratorExt;
use common::types::PointOffsetType;
use fs_err as fs;
use roaring::RoaringBitmap;
use super::BoolIndex;
use crate::common::flags::dynamic_mmap_flags::Dyna... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/bool_index/mod.rs | lib/segment/src/index/field_index/bool_index/mod.rs | use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use mutable_bool_index::MutableBoolIndex;
#[cfg(feature = "rocksdb")]
use simple_bool_index::SimpleBoolIndex;
use super::facet_index::FacetIndex;
use super::map_index::IdIter;
use super::{PayloadFieldIndex, ValueIndexer};
u... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/field_index/bool_index/simple_bool_index.rs | lib/segment/src/index/field_index/bool_index/simple_bool_index.rs | use std::path::PathBuf;
use std::sync::Arc;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use parking_lot::RwLock;
use rocksdb::DB;
use serde_json::Value;
use self::memory::{BoolMemory, BooleanItem};
use super::BoolIndex;
use crate::common::operation_error::{Operation... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/sparse_index/sparse_search_telemetry.rs | lib/segment/src/index/sparse_index/sparse_search_telemetry.rs | use std::sync::Arc;
use common::types::TelemetryDetail;
use parking_lot::Mutex;
use crate::common::operation_time_statistics::OperationDurationsAggregator;
use crate::telemetry::VectorIndexSearchesTelemetry;
#[derive(Debug)]
pub struct SparseSearchesTelemetry {
pub filtered_sparse: Arc<Mutex<OperationDurationsAg... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/sparse_index/indices_tracker.rs | lib/segment/src/index/sparse_index/indices_tracker.rs | use std::path::{Path, PathBuf};
use ahash::AHashMap;
use io::file_operations::{atomic_save_json, read_json};
use serde::{Deserialize, Serialize};
use sparse::common::sparse_vector::{RemappedSparseVector, SparseVector};
use sparse::common::types::{DimId, DimOffset};
use crate::common::operation_error::OperationResult;... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/sparse_index/sparse_vector_index.rs | lib/segment/src/index/sparse_index/sparse_vector_index.rs | use std::borrow::Cow;
use std::collections::HashMap;
use std::path::{Path, PathBuf};
use std::sync::Arc;
use std::sync::atomic::AtomicBool;
use atomic_refcell::AtomicRefCell;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::{PointOffsetType, ScoredPointOffset, TelemetryDetail};
use fs_err... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/sparse_index/mod.rs | lib/segment/src/index/sparse_index/mod.rs | pub mod indices_tracker;
pub mod sparse_index_config;
pub mod sparse_search_telemetry;
pub mod sparse_vector_index;
| rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/index/sparse_index/sparse_index_config.rs | lib/segment/src/index/sparse_index/sparse_index_config.rs | use std::path::{Path, PathBuf};
use io::file_operations::{atomic_save_json, read_json};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use crate::common::anonymize::Anonymize;
use crate::common::operation_error::OperationResult;
use crate::types::VectorStorageDatatype;
pub const SPARSE_INDEX_CONFIG_F... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/payload_fixtures.rs | lib/segment/src/fixtures/payload_fixtures.rs | use std::ops::{Range, RangeInclusive};
use fnv::FnvBuildHasher;
use indexmap::IndexSet;
use itertools::Itertools;
use ordered_float::OrderedFloat;
use rand::Rng;
use rand::distr::{Alphanumeric, SampleString};
use rand::seq::IndexedRandom;
use serde_json::{Value, json};
use crate::data_types::vectors::{DenseVector, Mu... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/payload_context_fixture.rs | lib/segment/src/fixtures/payload_context_fixture.rs | use std::collections::HashMap;
use std::iter;
use std::path::{Path, PathBuf};
use std::sync::Arc;
use atomic_refcell::AtomicRefCell;
use bitvec::prelude::{BitSlice, BitVec};
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use rand::SeedableRng;
use rand::prelude::StdRng;... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/sparse_fixtures.rs | lib/segment/src/fixtures/sparse_fixtures.rs | use std::fmt::Debug;
use std::path::Path;
use std::sync::Arc;
use std::sync::atomic::AtomicBool;
use atomic_refcell::AtomicRefCell;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use rand::Rng;
use sparse::common::sparse_vector::SparseVector;
use sparse::common::sparse_... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/segment_fixtures.rs | lib/segment/src/fixtures/segment_fixtures.rs | use std::path::Path;
use common::counter::hardware_counter::HardwareCounterCell;
use crate::data_types::named_vectors::NamedVectors;
use crate::data_types::vectors::DEFAULT_VECTOR_NAME;
use crate::entry::entry_point::SegmentEntry;
use crate::fixtures::index_fixtures::random_vector;
use crate::fixtures::payload_fixtur... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/index_fixtures.rs | lib/segment/src/fixtures/index_fixtures.rs | use std::sync::atomic::AtomicBool;
use bitvec::prelude::BitVec;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use rand::Rng;
use crate::data_types::vectors::{DenseVector, QueryVector, VectorElementType, VectorRef};
use crate::index::hnsw_index::graph_links::StorageGra... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/mod.rs | lib/segment/src/fixtures/mod.rs | pub mod index_fixtures;
pub mod payload_context_fixture;
pub mod payload_fixtures;
pub mod query_fixtures;
pub mod segment_fixtures;
pub mod sparse_fixtures;
| rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/fixtures/query_fixtures.rs | lib/segment/src/fixtures/query_fixtures.rs | use itertools::Itertools;
use rand::Rng;
use crate::data_types::vectors::{QueryVector, VectorInternal};
use crate::fixtures::payload_fixtures::random_multi_vector;
use crate::vector_storage::query::{ContextPair, ContextQuery, DiscoveryQuery, RecoQuery};
const MAX_EXAMPLE_PAIRS: usize = 4;
pub enum QueryVariant {
... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/scroll.rs | lib/segment/src/segment/scroll.rs | use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::iterator_ext::IteratorExt;
use super::Segment;
use crate::entry::entry_point::SegmentEntry;
use crate::index::PayloadIndex;
use crate::spaces::tools::peek_top_smallest_iterable;
use crate::types::{Filter, PointI... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/tests.rs | lib/segment/src/segment/tests.rs | use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::tar_ext;
use fs_err as fs;
use fs_err::File;
use rstest::rstest;
use tempfile::Builder;
use super::*;
use crate::common::operation_error::OperationError::PointIdError;
use crate::common::{check_named_vectors, ch... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/sampling.rs | lib/segment/src/segment/sampling.rs | use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::iterator_ext::IteratorExt;
use rand::seq::{IteratorRandom, SliceRandom};
use super::Segment;
use crate::index::PayloadIndex;
use crate::types::{Filter, PointIdType};
impl Segment {
pub(super) fn filtered_re... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/search.rs | lib/segment/src/segment/search.rs | use common::counter::hardware_counter::HardwareCounterCell;
use common::types::ScoredPointOffset;
use super::Segment;
use crate::common::operation_error::{OperationError, OperationResult};
use crate::data_types::named_vectors::NamedVectors;
#[cfg(feature = "testing")]
use crate::data_types::query_context::QueryContext... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/formula_rescore.rs | lib/segment/src/segment/formula_rescore.rs | use std::sync::atomic::{AtomicBool, Ordering};
use ahash::{AHashMap, AHashSet};
use common::counter::hardware_counter::HardwareCounterCell;
use common::iterator_ext::IteratorExt;
use common::types::ScoredPointOffset;
use itertools::Itertools;
use super::Segment;
use crate::common::operation_error::OperationResult;
us... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/version_tracker.rs | lib/segment/src/segment/version_tracker.rs | use std::borrow::Borrow;
use std::collections::HashMap;
use std::hash::Hash;
use crate::json_path::JsonPath;
use crate::types::{SeqNumberType, VectorNameBuf};
/// Tracks versions of different sub-structures of segment to optimize partial snapshots.
#[derive(Clone, Debug, Default)]
pub struct VersionTracker {
/// ... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/segment_ops.rs | lib/segment/src/segment/segment_ops.rs | use std::cmp::max;
use std::collections::HashMap;
use std::path::Path;
use bitvec::prelude::BitVec;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use fs_err as fs;
use io::file_operations::{atomic_save_json, read_json};
use super::{SEGMENT_STATE_FILE, SNAPSHOT_FILES_P... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/facet.rs | lib/segment/src/segment/facet.rs | use std::collections::{BTreeSet, HashMap};
use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::iterator_ext::IteratorExt;
use itertools::{Either, Itertools};
use super::Segment;
use crate::common::operation_error::OperationResult;
use crate::data_types::facets::{... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/mod.rs | lib/segment/src/segment/mod.rs | mod entry;
mod facet;
mod formula_rescore;
mod order_by;
mod sampling;
mod scroll;
mod search;
mod segment_ops;
mod version_tracker;
pub mod snapshot;
#[cfg(test)]
mod tests;
use std::collections::HashMap;
use std::fmt;
use std::path::PathBuf;
use std::sync::Arc;
use atomic_refcell::AtomicRefCell;
use common::is_al... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/order_by.rs | lib/segment/src/segment/order_by.rs | use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::iterator_ext::IteratorExt;
use itertools::Either;
use super::Segment;
use crate::common::operation_error::{OperationError, OperationResult};
use crate::data_types::order_by::{Direction, OrderBy, OrderValue};
use... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/snapshot.rs | lib/segment/src/segment/snapshot.rs | use std::collections::{HashMap, HashSet};
use std::io::{Seek, Write};
use std::ops::Deref as _;
use std::path::{Path, PathBuf};
use std::{fmt, thread};
use common::tar_ext;
use fs_err as fs;
use io::storage_version::VERSION_FILE;
use uuid::Uuid;
use crate::common::operation_error::{OperationError, OperationResult};
u... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/segment/entry.rs | lib/segment/src/segment/entry.rs | use std::collections::{HashMap, HashSet};
use std::path::PathBuf;
use std::sync::Arc;
use std::sync::atomic::AtomicBool;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::TelemetryDetail;
use fs_err as fs;
use super::Segment;
use crate::common::operation_error::{OperationError, OperationR... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | true |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/json_path/parse.rs | lib/segment/src/json_path/parse.rs | use std::str::FromStr;
use nom::branch::alt;
use nom::bytes::complete::tag;
use nom::character::complete::{char, digit1, none_of, satisfy};
use nom::combinator::{all_consuming, map_res, recognize};
use nom::multi::{many0, many1};
use nom::sequence::{delimited, preceded};
use nom::{IResult, Parser};
use super::{JsonPa... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/json_path/mod.rs | lib/segment/src/json_path/mod.rs | use std::fmt::{Display, Formatter};
use std::hash::Hash;
use data_encoding::BASE32_DNSSEC;
use itertools::Itertools as _;
use schemars::JsonSchema;
use schemars::r#gen::SchemaGenerator;
use schemars::schema::Schema;
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde_json::Value;
use sha2::{Digest... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | true |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/payload_storage/condition_checker.rs | lib/segment/src/payload_storage/condition_checker.rs | //! Contains functions for interpreting filter queries and defining if given points pass the conditions
use std::str::FromStr;
use ordered_float::OrderedFloat;
use serde_json::Value;
use crate::types::{
AnyVariants, DateTimePayloadType, FieldCondition, FloatPayloadType, GeoBoundingBox, GeoPoint,
GeoPolygon, ... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/payload_storage/tests.rs | lib/segment/src/payload_storage/tests.rs | use std::path::Path;
use common::counter::hardware_counter::HardwareCounterCell;
use rstest::rstest;
use super::PayloadStorage;
use super::mmap_payload_storage::MmapPayloadStorage;
#[cfg(feature = "rocksdb")]
use super::on_disk_payload_storage::OnDiskPayloadStorage;
#[cfg(feature = "rocksdb")]
use super::simple_paylo... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/payload_storage/payload_storage_base.rs | lib/segment/src/payload_storage/payload_storage_base.rs | use std::path::PathBuf;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use serde_json::Value;
use crate::common::Flusher;
use crate::common::operation_error::OperationResult;
use crate::json_path::JsonPath;
use crate::types::{Filter, Payload};
/// Trait for payload da... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
qdrant/qdrant | https://github.com/qdrant/qdrant/blob/f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd/lib/segment/src/payload_storage/simple_payload_storage_impl.rs | lib/segment/src/payload_storage/simple_payload_storage_impl.rs | use std::path::PathBuf;
use common::counter::hardware_counter::HardwareCounterCell;
use common::types::PointOffsetType;
use serde_json::Value;
use crate::common::Flusher;
use crate::common::operation_error::OperationResult;
use crate::json_path::JsonPath;
use crate::payload_storage::PayloadStorage;
use crate::payload... | rust | Apache-2.0 | f937d0260ffd7705c6f34d9c25da1e27ebf5ddfd | 2026-01-04T15:34:51.524868Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.