Posted By:
Otis_Gospodnetic
Posted On:
Saturday, April 3, 2004 02:17 AM
You are probably looking at a Lucene demo, and assuming that Lucene can index only files. That is not correct. Lucene can index anything that can be converted to text (Java Strings).
There is no need for you to dump your DB data to files.
Just select your data, create String variables containing your data, then use those Strings to create Fields in a Lucene Document, and then add such Documents to a Lucene index using IndexWriter.