This code sample goes along with the "Using S3, EC2, SQS, Lucene and Ruby for Web Spidering" article. The article and accompanying code show how Ruby and Rails developers can use freely available tools and simple techniques to spider sites and then, using Lucene, index and search the results.