Remove legacy indexer - #6019
Conversation
|
!test |
|
!test |
|
!test --diff |
|
!test --diff |
|
!test --diff |
|
!test --diff |
Greptile SummaryThis PR removes the legacy Confidence Score: 5/5Safe to merge — this is a pure deletion of dead legacy code with no functional changes All findings are P2 or lower. The legacy indexer was already fully superseded by TensorIndexer (enabled by default), the conditional fallback branches are correctly removed, and the CMakeLists entry is cleaned up. No new logic is introduced. No files require special attention; all changes are straightforward deletions and minor modernization Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Index / Predicate Lowering Request] --> B{isTensorIndexerEnabled?}
B -- Before PR: true --> C[TensorIndexer path]
B -- Before PR: false --> D[Legacy IndexCompute path]
D --> E[IndexFromIdGraph / LoopIndexing]
E --> F[protectPredicateIndexWithMagicZero]
C --> G[TensorIndexer.getPredicates]
C --> H[TensorIndexer.getIndexFor]
B -- After PR: always true --> C
D -. REMOVED .- D
E -. REMOVED .- E
F -. REMOVED .- F
style D fill:#ffcccc,stroke:#cc0000
style E fill:#ffcccc,stroke:#cc0000
style F fill:#ffcccc,stroke:#cc0000
Reviews (1): Last reviewed commit: "clang-tidy" | Re-trigger Greptile |
This PR just removes the code for the legacy indexer. There should be no functional difference.