Search against multiple indices is easy enough with MultiSearcher or its Parallel cousin. From the usage point of view, it's as simple as using a single IndexSearcher.
Otis --- aurora <[EMAIL PROTECTED]> wrote: > I have two sources of data, let's say one is a set of articles and > one is > from forum messages. I'd like see the opinion on whether to create > one > single index or separate index for each kind of document. > > The user interface is not yet finalized. The search result may be > presented as separated set or they may be interleaved. The user may > even > be able to set a preference. > > I think it is easier to create and maintain separate index. Documents > are > coming from difference source at different rate. in this case the > IndexWriter don't have to aware of the other. They can even reindex > independently. On the other hand it maybe easier for the search to be > done > on a single index. > > Is there any experience on this issue? > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]