A Sort-on-the-Fly/Search-on-the-Fly search engine provides an intuitive
means for searching databases, allowing a user to access data in the
database without having to know anything about the database structure. A
user selects a desired search term, and the search engine searches the
database for all instances of the desired term, even if a specific file
or table does not contain the instance. The database need not have a
specific file (in a flat database) or a table (in a relational database)
of names. The user may specify other criteria, or constraints to narrow
the search results, or for other reasons. The search engine then conducts
a further search using this criteria and produces a second search result.
Further narrowing or broadening of the search are permitted, with the
search-on-the-fly search engine returning results based on any new
constraints. If the returned data would be too large to be conveniently
displayed at a terminal, the search engine executes a truncation routine
so that the returned data is easily displayed.