Search the mail archive for Oracle, and there's lengthy discussion. The short form is that you query your database, taking selected data from it and add it to a Lucene document, then write the document to your Lucene index. Repeat this for as many "documents" as you need.
There are a large number of decisions to be made. For instance, what constitutes a "document". Whether (or how much) to de-normalize your data. etc. The question "how to create an index from an Oracle database" is far too general to give any more specific advice. Best Erick On 5/11/07, Krishna Prasad Mekala <[EMAIL PROTECTED]> wrote:
Hi all, I am new to Lucene. I am developing a small search utility using lucene. I have to create the index from my Oracle database. Can anybody tell me how to create the index from Oracle using lucene? Please send me code snippets if possible. Your valuable help is highly appreciated. Thanks in advance. Thanks and best regards, Krishna Prasad M