Hi, is "war2" never going to need to make writes to the index?
In that case, since I'm understanding both applications are running in the same operating system, they could both share a same index: just make sure the path they use to store the index is the same, and that neither application uses NRT: they will share the index all the time.
If you don't actually want them to share the index, you could plug in your own DirectoryProvider, or your own ReaderProvider, or even your own IndexManager.. depending on what you want to achieve.
_________________ Sanne http://in.relation.to/
|