Animal Database

This application provides an example of fulltext search in the species database from the U.S. Geological Survey Gap Analysis Program
It uses a BooleanEngine, which only displays documents (here animals) that match all the searched terms. It works by creating sets of results for each terms, and intersecting all the results. The BooleanEngine is fine when your users only want the documents that exactly match their terms. If you need to display results that contain any of the words typed by the user, it's better to use the ScoringEngine, which provides scores and result sorting.