lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Digy" <>
Subject RE: Newbie
Date Sat, 27 Nov 2010 21:42:29 GMT
See the parameters of IndexWriter ("create").
If you already have an index containing docs it must be set to "false".


-----Original Message-----
From: Wade Girard [] 
Sent: Saturday, November 27, 2010 10:30 PM
Subject: Newbie

I am new to lucene. I purchased the Lucene in Action book and have been
using it as a guide for integrating lucene into my web site (www. 

I am having a problem where the exiting index is having all of its data
removed when I open the index and add new documents to it.

Basically I can successfully create the index at any time. But after I have
closed the index, when another process opens it up and tries to add 1 or
more documents to the index, the documents that were in the index are
removed, leaving just the newly indexed documents.

I can provide code if that would help to understand what I am doing.

Any guidance is appreciated.

Wade Girard

View raw message