On Wed, Sep 12, 2012 at 11:02 AM, Gandhi, Shailey <
shailey.gan...@morganstanley.com> wrote:

>   Please help!
>

1.     **What are the methods or functions available for the
> org.opensolaris.opengrok.search package?
>

Try looking at
http://src.opensolaris.org/source/xref/opengrok/trunk/src/org/opensolaris/opengrok/search/Search.java(it
implements a cli to search)


> ****
>
> **2.     **Is opengrok capable of connecting to a database without any
> source control tool in between.
>

the scm is only used during index generation, and you don't need it


> ****
>
> For eg: can I have the code stored in a sql database and have opengrok
> index/search this database.
>

If you implement support for traversing the files in the database; yes. the
current implementation does not support this.


> ****
>
> **3.     **Does Opengrok  expose any web service for search?
>

There is a web app in there; the one used to power
http://src.opensolaris.org/source


> ****
>
> **4.     **Is it possible to wrap “org.opensolaris.opengrok.search”
> inside a java web service to  expose some of  the methods available in that
> package
>

Its software and the code is opensourced so everything should be possible

Trond
_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to