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.
This fork has a JSON API: https://github.com/Goyaka/OpenGrok/blob/f70d78e743a0a389b46ea36c4785182ee8f03e13/src/com/goyaka/opengrok/web/SearchServlet.java
This issue discusses it: https://github.com/OpenGrok/OpenGrok/issues/422