Open source search engine Toolkit
Lucene is currently the most popular open-source full-text search engine toolkit. It is affiliated to the Apache Foundation and initiated by Doug Cutting, a senior full-text indexing/retrieval expert, take the name of the project as the name of his wife. Lucene is not a full-featured search application, but a toolkit focusing on text indexing and search. It can add indexing and search capabilities to the application. Based on Lucene's outstanding performance in indexing and searching, although Lucene compiled by Java has a natural cross-platform nature, it is still adapted to many other languages: perl, Python, C ++ ,.. Net.
Like other open-source projects, Lucene has a very good architecture that facilitates research and development based on it, adding new functions or developing new systems. Lucene only supports indexing of text files and a small number of languages, and does not support crawling. This is what makes Lucene attractive. It provides a wide range of interfaces through Lucene, we can add word divider for specific languages and text Parser for specific documents based on our own needs, these specific functions can be implemented by using some existing open-source software projects or even commercial software, which ensures Lucene's attention in indexing and searching. At present, some new open-source projects, such as LIUS and Nutch, have been formed by adding crawlers and text parsers on the basis of Lucene. In addition, Lucene's index data structure has become a de facto standard, which is used by many search engines.
LIUS, short for Lucene Index Update and Search, is a text Index framework developed based on Lucene. Like Lucene, LIUS can also be seen as a Search engine development kit. Based on Lucene, it has made some research and added some new functions. With the help of many open-source software, LIUS can directly parse and index documents of different formats/types, these document formats include MS Word, MS Excel, MS PowerPoing, RTF, PDF, XML, HTML, TXT, Open Office, and JavaBeans, the support for Java Beans is very useful for database indexing. It is more accurate when users perform database connection programming for object link ing (such as Hibernate, JDO, TopLink, and Torque. LIUS also adds the Index Update Function Based on Lucene to further improve the index maintenance function. Hybrid indexing is also supported to integrate all content related to a condition in the same directory. This function is useful for simultaneous indexing of documents in multiple formats.
Egothor is an open-source high-performance full-text search engine. It is applicable to search applications based on the full-text search function. It has a core algorithm similar to Luccene. This project has been in existence for many years, it also has some active developers and user groups. Leo Galambos, the project initiator, is a senior assistant professor at the School of Mathematics and Physics at Charlie University in Prague, Czech Republic. He initiated the project during his PHD program.
In more cases, we regard Egothor as a Java library for full-text search engines, and can add full-text search functions for specific applications. It provides an extended Boolean module that can be used as a Boolean module or a Vector module, and Egothor has some special features not available to other search engines: it uses new dynamic algorithms to effectively improve the Index Update speed and supports parallel queries, which can effectively improve the query efficiency. In the released version of Egothor, many ease-of-use applications, such as crawlers and text parsers, are added, and multiple efficient compression methods such as Golomb and Elias-Gamma are integrated, supports text parsing in a variety of common document formats, such as HTML, PDF, PS, Microsoft Office documents, and XLS. It provides a GUI index interface and an Applet or Web-based query method. In addition, Egothor can be easily configured as an independent search engine, metadata searcher, point-to-point HUB, and other application systems.
Xapian is a GPL-based search engine development library written in C ++, with the provided binding package, you can easily use it in Perl, Python, PHP, Java, Tck, C #, Ruby, and other languages.
Xapian is also a highly adaptive tool set that allows developers to easily add advanced indexing and search functions to their applications. It supports information retrieval probability models and a wide range of Boolean query operations. The release package of Xapian usually consists of two parts: xapian-core and xapian-bindings. The former is the core main program, and the latter is a package bound to other languages.
Xapian provides a wide range of APIs and documents for programming developers. It also provides many programming instances and an Xapian-based application Omega, omega is composed of an indexer and CGI-based front-end search. It can index documents in HTML, PHP, PDF, PostScript, OpenOffice/StarOffice, RTF, and other formats, by using the Perl DBI module, you can even index MySQL, PostgreSQL, SQLite, Sybase, ms SQL, LDAP, ODBC, and other relational databases, and export search results from the front end in CSV or XML format, program developers can expand on this basis.
Compass is an open-source search engine architecture implemented on Lucene. Compared with Lucene, Compass provides more concise search engine APIs. Added support for index transaction processing so that it can be more easily integrated with transaction processing applications such as databases. When it is updated, you do not need to delete the original document, which is simpler and more efficient. The ing mechanism is used between resources and search engines, which makes it easy for applications that have used Lucene or do not support object and XML to migrate to Compass for development.
Compass can also be integrated with Hibernate, Spring, and other architectures. Therefore, if you want to add the search engine function to the Hibernate and Spring projects, Compass is an excellent choice.
Open-source Web search engine system
Nutch is another open-source project initiated by Doug Cutting, author of Lucene. It is a complete Web search engine system built on Lucene. Although it has not been born for a long time, however, it is widely welcomed by its fine lineage and simple and convenient use. We can use Nutch to build a complete search engine system similar to Google for LAN and Internet search.
YaCy is a distributed open-source Web search engine system based on peer-to-peer (P2P). It is written in Java, the core of the YaCy-peer computer program is distributed on hundreds of computers, which forms a YaCy network based on a P2P network. The entire network is a distributed architecture, all of the YaCy-peers are in a peer-to-peer status, and there is no unified central server. Each YaCy-peer can independently crawl, analyze, and create an index database on the Internet, share with other YaCy-peers through the P2P network, and each YaCy-peer is an independent proxy server that can index webpages used by local users, in addition, multiple mechanisms are used to protect user privacy. At the same time, users can query and return query results through the Web server running on the local machine.
The YaCy search engine consists of five parts, except for crawlers, indexers, and reverse Sorting index libraries of common search engines, it also includes a rich search and management interface and a P2P network for data sharing.
Open-source Desktop Search Engine System
Regain is a desktop search engine system similar to a Web search engine. The difference is that regain does not search Internet content, but searches for its own documents or files, with regain, you can easily search for large amounts of data (multiple GB) in a few seconds. Regain adopts Lucene's search syntax. Therefore, it supports multiple query methods, multi-index search, and file-based advanced search. It also supports URL rewriting and file-to-HTTP bridging, it also provides better support for Chinese characters.
Regain provides two editions: desktop search and server search. Desktop Search provides quick search for documents on common desktop computers and web pages in LAN environments. The server version is mainly installed on Web servers to search for file servers in websites and LAN environments.
Regain is written in Java. Therefore, it can be installed on Windows, Linux, Mac OS, and Solaris. The JSPs environment and tag library are required for the server version. Therefore, a Tomcat container must be installed. The desktop version comes with a small Web server, which is easy to install.
Zilverline is a Lucene-based desktop search engine. It adopts the Spring framework and is mainly used for searching personal ephemeral disks and LAN content. It supports multiple languages, it also has its own Chinese name: yinqian lookup engine. Zilverline provides indexing support for a wide range of document formats, such as Microsoft Office documents, RTF, Java, and CHM. It can even compile an index for an archive file for search, for example, zip, rar, and other archive files. During the indexing process, Zilverline extracts files from archive files such as zip, rar, and chm for indexing. Zilverline supports incremental indexing and only indexing new files. It also supports regular automatic indexing. Its Index library can be stored in a place accessible to Zilverline, or even in a DVD. At the same time, Zilverline also supports file path-to-URL ing, which allows users to remotely search for local files.
Zilverline provides two licensing methods for individuals, research, and commercial applications. Its release form is a simple war package that can be downloaded from its official website (http://www.zilverline.org /). The running environment of Zilverline requires the Java environment and Servlet container. Generally, Tomcat is used. After ensuring that JDK and Tomcat containers are correctly installed, just copy the Zilverline war package (zilverline-1.5.0.war) to the Tomcat webapps directory and restart the Tomcat container to start using the Zilverline search engine.