First, certainly do not copy/paste code. Use standard reuse practices, perhaps the same program can build the two different indexes if passed different parameters, or share code between two different programs as a JAR.
What specifically are the issues you're encountering?
Erik
On Mar 1, 2005, at 8:06 PM, Ben wrote:
Hi
My site has two types of documents with different structure. I would like to create an index for each type of document. What is the best way to implement this?
I have been trying to implement this but found out that 90% of the code is the same.
In Lucene in Action book, there is a case study on jGuru, it just mentions them using multiple indexes. I would like to do something like them.
Any resources on the Internet that I can learn from?
Thanks, Ben
--------------------------------------------------------------------- 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]