Is it recommended to have separate wars for separate source trees in opengrok?

199 Views Asked by At

I have multiple source trees which can be grouped. Should i have a single war or multiple wars for each group? What are the benefits? Less indexing time?

Thanks, xabhi

1

There are 1 best solutions below

0
cnst On

If you have separate trees that could be grouped, you should probably want to use the ENABLE_PROJECTS or -P (addProjects = true) option when indexing with OpenGrok.

This will make it possible for you (and the users of your OpenGrok) to select which projects you want to search in from a single webpage, similarly to how it's done at http://BXR.SU/.

Speed-wise, it-depends. Indexing time should not change significantly, since OpenGrok already does indexing of separate projects in separate and concurrent threads.