lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jason rutherglen <jasonhus...@yahoo.com>
Subject Re: [jira] Commented: (LUCENE-565) Supporting deleteDocuments in IndexWriter (Code and Performance Results Provided)
Date Wed, 30 Aug 2006 00:11:35 GMT
The documents reached disk as a close was performed on the NewIndexModifier and the index size
grows, seem like the deleteable files registers the documents as deleted though, so a search
returns nothing and an optimize deletes all of the documents.  Maybe the new documents have
the same docid as the deleted documents and so are registered as deleted.

----- Original Message ----
From: Ning Li <ning.li.li@gmail.com>
To: java-dev@lucene.apache.org
Sent: Tuesday, August 29, 2006 5:00:17 PM
Subject: Re: [jira] Commented: (LUCENE-565) Supporting deleteDocuments in IndexWriter (Code
and Performance Results Provided)

> (reopen), then perform a batch addDocuments.  Then when a search is executed
> nothing is returned, and after an optimize the index goes down to 1K.  Seems

What did you set maxBufferedDocs to? If it is bigger than the number
of documents you inserted, the newly added documents haven't reached
disk, therefore a search will return nothing.

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message