Alan, if you have Lucene in Action 2, there is a case study that describes how Krugle did this.
Otis ---- Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch Lucene ecosystem search :: http://search-lucene.com/ >________________________________ >From: Alan Williamson (aw2.0 cloud experts) <a...@aw20.co.uk> >To: "general@lucene.apache.org" <general@lucene.apache.org> >Sent: Wednesday, September 7, 2011 9:03 AM >Subject: Analyzer for code? > >Good Afternoon. > >We find ourselves indexing blocks of literal Java / CFML code. We are using >the standardanalyzer but it seems to be a little keen with respect to stop >words. Has anyone come across an Analyzer designed for code? > >thanks > >a >http://alan.blog-city.com/ > > >