Document();
d.addField(fieldname1, fieldvalue1, Store.YES, Index.ANALYZED, ...)
...
writer.addDocument(d);
-sujit
On Sat, 2011-08-06 at 18:28 +0530, KARTHIK SHIVAKUMAR wrote:
Hi
How can i index a Java Bean into Lucene application ? instead of a
file
API : IndexWriter writer = new
Hi
How can i index a Java Bean into Lucene application ? instead of a
file
API : IndexWriter writer = new IndexWriter(*FSDirectory.open(INDEX_DIR)*,
new StandardAnalyzer(Version.LUCENE_CURRENT), true,
IndexWriter.MaxFieldLength.LIMITED);
Is there any alternate for the same .
ex