Fix possible staled flann index (#1742)

* Fix possible staled flann index

* fixed compatible crc flann index after repair and reload

* Added tests

* test coverage

* testing another possible branch

* removed doxygen tag version not opulated yet

* updated codedev to ignore test code

* Disabled all mac intel ci flaky builds
This commit is contained in:
matlabbe
2026-08-07 20:48:41 -07:00
committed by GitHub
parent c5ecfef101
commit 47ce2b0c74
11 changed files with 488 additions and 33 deletions
@@ -336,6 +336,11 @@ public:
* @return true if modified, false otherwise
*/
bool isModified() const;
// Re-index all the words from scratch. The index then contains the words in
// the same order than the one built by update() on a dictionary freshly
// loaded from a database, which is required to serialize it (the serialized
// index is matched against the words in that order when deserialized).
void rebuildIndex();
/**
* @brief Serialize the search index to a byte vector