What are the algorithms for a real-time search engine?
Live search can still use an inverted index. You have to keep this index in a form that can be efficiently updated or requested, of course, which does not come for free, but it is certainly possible. Another common technique is to have multiple indexes - one master index (updated frequently) and some overlay (or patch) indexes that only record things that have changed since the last master index.
source to share