join two indexes

2004-07-20 Thread Sergio
Hi,
i want to join two lucene indexes but i dont know how to do that.

For example i have a student index and a school index. 
In the scholl index i have the studentId field.


How to do that ?
Any idea will be wellcomed.
Thx, Sergio.



Re: join two indexes

2004-07-20 Thread Daniel Naber
On Tuesday 20 July 2004 19:19, Sergio wrote:

 i want to join two lucene indexes but i dont know how to do that.

There are two addIndexes methods in IndexWriter which you can use to 
write your own small merge tool (a ready-to-use tool for index merging 
doesn't exist AFAIK).

Regards
 Daniel

-- 
http://www.danielnaber.de

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]