Re: delete one document from index not working

2015-06-23 Thread Michael McCandless
You should not setTokenized(true) for your id field? This splits it into tokens according to your analyzer. Mike McCandless http://blog.mikemccandless.com On Tue, Jun 23, 2015 at 7:40 AM, Behnam Khoshsafar wrote: > I'm using Lucene 5.1.0 to index a document and search it. I have a lot of > d

delete one document from index not working

2015-06-23 Thread Behnam Khoshsafar
I'm using Lucene 5.1.0 to index a document and search it. I have a lot of documents, over 100, which are stored in a database. When I start running the project for the first time, I use Lucene to index these documents. Now I want to delete one document from the database and indexes. I also c