How do I build index dependent on another index?

Or is there nice Key-Value storage embedded; callback or message alike (onFileIndexed)?

0
4 comments
Official comment

There's no API for indices depending on other indices. You can only build the cache in memory and drop the cache on any PSI change that might affect your underlying index.

Avatar
Permanently deleted user

So if I want to use persistant cache I have to do it on my own?

0

Yes, but you'd still need to invalidate it either very often or in a very smart way. That's quite hard to do, and in most cases one can solve the problem without that.

0
Avatar
Permanently deleted user

Thank you a lot!

0

Please sign in to leave a comment.