Re: deleteDocuments(Term... terms) takes a long time to do nothing.

2013-12-16 Thread Jason Corekin
tried to search by query I used to filenames stored in each document as the query, which was essentially equivalent to deleting by term. You email helped me to realize this and in turn change my query to be time range based, which now takes seconds to run. Thank You Jason Corekin >It sou

Re: deleteDocuments(Term... terms) takes a long time to do nothing.

2013-12-14 Thread Jason Corekin
gField indexing line looks correct; make sure you're passing > precisely the same field name and value? Make sure you're not > deleting already-deleted documents? (Your for loop seems to ignore > already deleted documents). > > Mike McCandless > > http://blog.mikemccandl

Re: deleteDocuments(Term... terms) takes a long time to do nothing.

2013-12-14 Thread Jason Corekin
;,filename, Field.Store.YES)); On Sat, Dec 14, 2013 at 1:28 AM, Jason Corekin wrote: > Let me start by stating that I almost certain that I am doing something > wrong, and that I hope that I am because if not there is a VERY large bug > in Lucene. What I am trying to d

deleteDocuments(Term... terms) takes a long time to do nothing.

2013-12-13 Thread Jason Corekin
Let me start by stating that I almost certain that I am doing something wrong, and that I hope that I am because if not there is a VERY large bug in Lucene. What I am trying to do is use the method deleteDocuments(Term... terms) out of the IndexWriter class to delete several Term object Arra