Btw. folks, http://search-lucene.com/ has a really handy source code search 
with auto-completion for Lucene, Solr, etc.  For example, I typed in: numDel  - 
and immediately found those methods.  Use it. :)

Otis----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Michael McCandless <luc...@mikemccandless.com>
> To: java-user@lucene.apache.org
> Sent: Thu, June 3, 2010 4:02:09 PM
> Subject: Re: numDeletedDocs()
> 
> Hmm... I don't think IndexWriter has ever had a numDeletedDocs() (w/ no 
> params)?

(IndexReader does).

Mike

On Thu, Jun 3, 2010 at 
> 3:50 PM, Woolf, Ross <
> href="mailto:ross_wo...@bmc.com";>ross_wo...@bmc.com> wrote:
> There 
> seems to be a mismatch between the IndexWriter().numDeletedDocs() method as 
> stated in the javadocs supplied in the 2.9.2 download and what is 
> actual.
>
> JavaDocs for 2.9.2 as came with the 2.9.2 
> download
>
> numDeletedDocs
> public int 
> numDeletedDocs()Returns the number of deleted documents.  (No parameter 
> required)
>
> ----------------------
> Source code for 
> 2.9.2
>  public int numDeletedDocs(SegmentInfo info) throws IOException { 
>  (Parameter required)
>
>
> Why is there no longer a no 
> parameter numDeleteDocs as stated in the JavaDocs?  I'm not sure how I use 
> the 
> "experimental" SegmentInfo just to get the delete count in my index?  Any 
> help 
> appreciated.
>
>
> 
> ---------------------------------------------------------------------
> To 
> unsubscribe, e-mail: 
> href="mailto:java-user-unsubscr...@lucene.apache.org";>java-user-unsubscr...@lucene.apache.org
> 
> For additional commands, e-mail: 
> ymailto="mailto:java-user-h...@lucene.apache.org"; 
> href="mailto:java-user-h...@lucene.apache.org";>java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> href="mailto:java-user-unsubscr...@lucene.apache.org";>java-user-unsubscr...@lucene.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:java-user-h...@lucene.apache.org"; 
> href="mailto:java-user-h...@lucene.apache.org";>java-user-h...@lucene.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to