====== Comparison of the regain variants ====== There are two variants of regain: The **desktop search** and the **server search**. ===== Funktional differences ===== The **desktop search** is meant for those who want to use regain on their workstation, or who want to give regain a try. The **server search** is meant for administrators of a web server, who want to integrate a search in their web site or intranet site. Such a search may also include documents that are not accessible over the web server. For example it is possible to offer a search for net drives. So if you are not sure which variant you should download, take the **desktop search**. The following table shows the differences of the two variants: ^ ^ regain desktop search ^ regain server search ^ | Best choice for newbies | {{:project_info:yes.gif}} | {{:project_info:no.gif}} | | regain [[:components:crawler]] | {{:project_info:yes.gif}} | {{:project_info:yes.gif}} | | regain [[:components:search mask]] | {{:project_info:yes.gif}} | {{:project_info:yes.gif}} | | Complete configuration of the [[:componenents:crawler]] in one XML file | {{:project_info:yes.gif}} | {{:project_info:yes.gif}} | | Simple configuration of the [[:componenents:crawler]] over a web interface | {{:project_info:yes.gif}} | {{:project_info:no.gif}} | | Complete configuration of the [[:componenents:search mask]] in one XML file | {{:project_info:yes.gif}} | {{:project_info:yes.gif}} | | Customizable look of the [[:componenents:search mask]] by JSPs | {{:project_info:yes.gif}} | {{:project_info:yes.gif}} | | Integrated web server | {{:project_info:yes.gif}} | {{:project_info:no.gif}} | | Runs in a servlet engine (e.g. Tomcat) | {{:project_info:no.gif}} | {{:project_info:yes.gif}} | | Integration in the task bar | {{:project_info:yes.gif}} | {{:project_info:no.gif}} | ===== Technical differences ===== The core of both variants is the same. Both include the [[:components:crawler]], which is needed to create the [[:components:search index]], and the [[:components:search mask]], which is needed for searching on a search index. Also the configuration of both variants is done on the same way: The XML files [[:config:CrawlerConfiguration.xml]] and [[:config:SearchConfiguration.xml]], but the desktop search offers a web interface, that writes the most important settings to these two files. The **desktop search** also comes with a small program that manages these two parts. This program integrates itself in the task bar and automatically starts the crawler, so the search index is updated regularily or whenever the configuration has changed. Furthermore it provides a web server, which is needed by the search mask in order to work. At the **server search** the crawler is an independent program, which the administrator has to call by hand (or automated) in order to update the search index. Furthermore the admistrator has to run the search mask in a servlet engine. The web server is not delivered with regain. Technically speaking the **desktop search** is a stand-alone application. That is an application that needs -- aside from Java -- no more programs to work. The **server search** is split in the crawler on the one hand, which is a stand-alone console application, and the search mask on the other hand, which is a .war archive that has to be integrated in a Java servlet engine (like Tomcat).