Is there an API for OpenGrok? I'm interested in mining the results in either Perl or Java. At the moment, I could perform HTML scrapping against the results, but seems less-than-ideal.
As per its website, it leverages Lucene, but no real info on how to connect to it other than via HTML.
Opengrok supports a command line interface that may be able to provide what you're looking for.
Example: