The command now supports reopening existing indexes instead of failing when the output file exists. Control flow branches between opening an existing index and constructing a new one, moving configuration setup exclusively to the creation path. Directory existence is enforced upfront with proper I/O error propagation. The --force flag retains its original semantics by removing the target directory before proceeding with a fresh build.
819 B
819 B
Coverage: architecture/query.md
Code couvert
obikmer/src/cmd/query.rs— commande query, format de sortieobikindex/src/partition/query_layer.rs— routage de la requête à travers les partitionsobiread/src/lib.rs— lecture des séquences d'entrée pour la requête
Notes
RISQUE DE DÉRIVE. Vérifier :
- La commande
unitiga été modifiée pour utiliseropen_sequential()— vérifier si query est concerné find_exact/find_approx/findgénérique ont été ajoutés dansMphfLayer— le chemin de requête a changé- Si l'index est approximatif (Approx), la requête peut produire des faux positifs : la doc le mentionne-t-elle ?
- Format de sortie CSV (
obikindex/src/csv.rsou équivalent) à vérifier