Skip to content
GitHub Actions edited this page Jan 2, 2026 · 1 revision

adaptive_index.cpp

Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src


Path: src/index/adaptive_index.cpp

Purpose: Adaptive indexing strategies for dynamically changing data distributions.

Public functions / symbols:

  • for (const auto& [key, pattern] : patterns_) {
  • : db_(db) {
  • if (!db_) {
  • ``
  • if (stats.total_documents == 0) {
  • if (stats.distribution == "uniform") {
  • if (cv < 0.3) {
  • if (!tracker_) {
  • if (!analyzer_) {
  • std::lock_guard<std::mutex> lock(mutex_);
  • QueryPatternTracker::QueryPattern::fromJson(const nlohmann::json& j) {
  • SelectivityAnalyzer::analyze(const std::string& collection,
  • SelectivityAnalyzer::SelectivityStats::fromJson(const nlohmann::json& j) {
  • IndexSuggestionEngine::generateSuggestions(const std::string& collection,
  • IndexSuggestionEngine::IndexSuggestion::fromJson(const nlohmann::json& j) {
  • AdaptiveIndexManager::getSuggestions(const std::string& collection,
  • AdaptiveIndexManager::getPatterns(const std::string& collection) {

Navigation

Home

Architecture

Governance

Modules

Developer

Clone this wiki locally