Indexing code and documents using Apache Lucene and Scour