Re: IndexWriter deleteDocuments

2013-01-30 Thread Bernd Müller
sorry, user error... please discard the question ;-) 2013/1/30 Bernd Müller : > Hello, > > In my index, I have documents identified by a field with their unique > identifier. Now, I tried to delete documents having such a unique > identifier using deleteDocuments(Term t). If I test the IndexWriter

Re: IndexWriter deleteDocuments

2013-01-30 Thread Michael McCandless
Documents are still only "marked' as deleted. expungeDeletes was renamed to forceMergeDeletes, but it's a horribly, horribly costly operation. Normal merging will collapse the deletes anyway, and the default merge policy favors segments with more deletions ... so you shouldn't have to force merge

Re: IndexWriter deleteDocuments

2013-01-30 Thread wgggfiy
it seems that a doc is really deleted until next index merge or something. I'm not sure. - -- Email: wuqiu.m...@qq.com -- -- View this message in context: http://lucene.472066.n3.nabble.com/IndexWriter-deleteDocuments-tp4037365p4037377.html Se