riot
riot copied to clipboard
Restore Index Only through StorageFolder
hi,
after set UseStorage: true
, I can create index from the StorageFolder, but i still need the original content like stringData in engine.IndexDoc(DocId, types.DocIndexData{Content: stringData})
. I have many files and read them from disk is time-comsuming, is there any way to check whether the specific DocId exists and restore the index without stringData(only through StorageFolder)?
thanks!
GetAllDocIds can get all data id, restore the index without stringData?
Yes, I don't want to read all the original stringData from disk, it takes very long time.
Currently, you can use memory for indexing.