It works by basically creating an master index of the files that you want to search and then using a modified version of Unix grep to hunt through the index and find the words or phrases being searched for.
You can visit the Glimpse homepage at: http://glimpse.cs.arizona.edu/
There you can download Glimpse, and see links to two web-based front-ends: WebGlimpse and Harvest.