Wukong
Highly customizable full-text search engine
... through a channel, and the coroutine will segment the text and send it to a word segmentation through another channel. Indexer coroutines. The indexer coroutine builds an inverted index from the search keyword to the document, and the inverted index table is stored in memory for quick recall. The main coroutine receives the user's request, segments the request phrase in the main coroutine, and then sends it to the indexer through the channel.