[an error occurred while processing this directive]
How can I provide for searches among different subsets of my web pages?

There are two ways to restrict searches to a particular subset of your indexed web pages.

  1. Use the glimpse_fileset parameter in your search form to restrict the search to a given fileset. For example, suppose you have an index of your entire www tree, and you'd like to restrict a search to the products sub-tree. Simply set the glimpse_fileset parameter to "www/products/#" (the pound sign (#) is a non-standard regular expression special character which means (match zero or any characters here--the equivalent of '.*' in standard regular expressions).
  2. Create different indexes for different subtrees you want to search, then use the glimpse_directory parameter in your search form to to set the search to the particular directory sub-tree you wish to search.

    This second method has a potential drawback over the first method in that if you create an index in a directory and then create another index in a subdirectory of that directory in order to permit searches of just that subdirectory, then you're consuming additional disk space unnecessarily since the index in the higher level directory already contains indexing information for all its subdirectories. See the instructions for choosing the directory to be indexed for a more detailed explanation of how Glimpse indexes directory "trees" if you do not understand this.

[an error occurred while processing this directive]