Navigation
API > API/Plugins > API/Plugins/SemanticSearch > API/Plugins/SemanticSearch/FHybridSearchIndex
Description
Load a previously saved index from a file. Replaces current index state. Must be called before StartCommandQueue (not thread-safe with the consumer thread).
| Name | LoadFromFile |
| Type | function |
| Header File | /Engine/Plugins/Experimental/SemanticSearch/Source/SemanticSearch/Public/HybridSearchIndex.h |
| Include Path | #include "HybridSearchIndex.h" |
| Source | /Engine/Plugins/Experimental/SemanticSearch/Source/SemanticSearch/Private/HybridSearchIndex.cpp |
bool LoadFromFile
(
const FString & FilePath,
TMap< int64, FIoHash > & OutPackageHashes
)
Parameters
| Name | Remarks |
|---|---|
| OutPackageHashes | Filled with per-asset PackageSavedHash from save time (for staleness checks). |