Wukong
Highly customizable full-text search engine
...When a request to add a document to the index comes in, the main coroutine will send the text to be segmented to a word segmentation coroutine 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.