-
Notifications
You must be signed in to change notification settings - Fork 0
secondary_index.cpp
GitHub Actions edited this page Jan 2, 2026
·
1 revision
Stand: 5. Dezember 2025
Version: 1.0.0
Kategorie: Src
Path: src/index/secondary_index.cpp
Purpose: Secondary index implementation for non‑primary key attributes.
Public functions / symbols:
inline std::vector<uint8_t> toBytes(std::string_view sv) {if (c == ':' || c == '%') {for (const auto& s : configJson["stopwords"]) {catch (...) { THEMIS_WARN("put(tx): alte Entity für PK={} nicht deserialisierbar", pk); }- ``
catch (...) { THEMIS_WARN("erase(tx): alte Entity für PK={} nicht deserialisierbar", pk); }if (lastColon != std::string_view::npos) {if (existingPK != pk) {if (conflict) {if (pos == std::string::npos) {for (const auto& c : columns) {if (!maybe) {for (const auto& t : tokens) { if (!t.empty()) tf[t]++; }for (const auto& [token, count] : tf) {for (const auto& col : indexedCols) {if (extractedPK == pk) {for (const auto& rcol : rangeCols) {if (existingPK == pk) {for (const auto& scol : sparseCols) {for (const auto& gcol : geoCols) {for (const auto& tcol : ttlCols) {for (const auto& fcol : fulltextCols) {for (const auto& token : uniqueTokens) {if (!blob) {if (count >= maxProbe) {if (!includeLower) {if (includeUpper) {for (const auto& pk : sameValuePks) {if (pk > anchorPk) {if (*it < anchorPk) {if (!reversed) {for (const auto& pk : more) {if (lat >= minLat && lat <= maxLat && lon >= minLon && lon <= maxLon) {if (dist <= radiusKm) {if (st.ok) {if (c == '"') {if (in_quotes) {for (const auto& pk : intersectionSet) {for (auto ph : phrases) {for (auto& token : tokens) {if (firstColon != std::string::npos) {if (secondColon != std::string::npos) {if (thirdColon != std::string::npos) {if (!maybeVal) { if (!advance()) { aborted = true; return false; } return true; }for (const auto& token : tokens) {if (!maybeLat || !maybeLon) { if (!advance()) { aborted = true; return false; } return true; }for (const auto& col : columns) {catch (...) {if (extractedPK != pk) {THEMIS_WARN("put: Konnte alte Entity für PK={} nicht deserialisieren", pk);
ThemisDB v1.3.4 | GitHub | Documentation | Discussions | License
Last synced: January 02, 2026 | Commit: 6add659
Version: 1.3.0 | Stand: Dezember 2025
- Übersicht
- Home
- Dokumentations-Index
- Quick Reference
- Sachstandsbericht 2025
- Features
- Roadmap
- Ecosystem Overview
- Strategische Übersicht
- Geo/Relational Storage
- RocksDB Storage
- MVCC Design
- Transaktionen
- Time-Series
- Memory Tuning
- Chain of Thought Storage
- Query Engine & AQL
- AQL Syntax
- Explain & Profile
- Rekursive Pfadabfragen
- Temporale Graphen
- Zeitbereichs-Abfragen
- Semantischer Cache
- Hybrid Queries (Phase 1.5)
- AQL Hybrid Queries
- Hybrid Queries README
- Hybrid Query Benchmarks
- Subquery Quick Reference
- Subquery Implementation
- Content Pipeline
- Architektur-Details
- Ingestion
- JSON Ingestion Spec
- Enterprise Ingestion Interface
- Geo-Processor Design
- Image-Processor Design
- Hybrid Search Design
- Fulltext API
- Hybrid Fusion API
- Stemming
- Performance Tuning
- Migration Guide
- Future Work
- Pagination Benchmarks
- Enterprise README
- Scalability Features
- HTTP Client Pool
- Build Guide
- Implementation Status
- Final Report
- Integration Analysis
- Enterprise Strategy
- Verschlüsselungsstrategie
- Verschlüsselungsdeployment
- Spaltenverschlüsselung
- Encryption Next Steps
- Multi-Party Encryption
- Key Rotation Strategy
- Security Encryption Gap Analysis
- Audit Logging
- Audit & Retention
- Compliance Audit
- Compliance
- Extended Compliance Features
- Governance-Strategie
- Compliance-Integration
- Governance Usage
- Security/Compliance Review
- Threat Model
- Security Hardening Guide
- Security Audit Checklist
- Security Audit Report
- Security Implementation
- Development README
- Code Quality Pipeline
- Developers Guide
- Cost Models
- Todo Liste
- Tool Todo
- Core Feature Todo
- Priorities
- Implementation Status
- Roadmap
- Future Work
- Next Steps Analysis
- AQL LET Implementation
- Development Audit
- Sprint Summary (2025-11-17)
- WAL Archiving
- Search Gap Analysis
- Source Documentation Plan
- Changefeed README
- Changefeed CMake Patch
- Changefeed OpenAPI
- Changefeed OpenAPI Auth
- Changefeed SSE Examples
- Changefeed Test Harness
- Changefeed Tests
- Dokumentations-Inventar
- Documentation Summary
- Documentation TODO
- Documentation Gap Analysis
- Documentation Consolidation
- Documentation Final Status
- Documentation Phase 3
- Documentation Cleanup Validation
- API
- Authentication
- Cache
- CDC
- Content
- Geo
- Governance
- Index
- LLM
- Query
- Security
- Server
- Storage
- Time Series
- Transaction
- Utils
Vollständige Dokumentation: https://makr-code.github.io/ThemisDB/