Lucene (the Lucene.net version used here is also called DotLucene) is an information retrieval function library (Library), using which you can add indexing and search functions to your application. Lucene users do not need to have in-depth knowledge about full-text search. Just learn to use a class in the library, and you will implement the full-text search function for your application. But don’t think that Lucene is a search engine like Google. Lucene is not even an application. It is just a tool and a Library. You can also understand it as a package that well encapsulates indexing and search functions. A simple and easy-to-use API. You can do a lot of search-related things with this API, and it's very convenient. This source code demonstrates Lucene combined with Sql to create an index, and the data in Sql is indexed and retrieved using Lucene.