lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <>
Subject IndexReader#docFreq(Term)
Date Fri, 31 Aug 2007 02:49:27 GMT
I was running in to some problems that turned out to be a non- 
documented feature. Here is a javadoc suggestion:

-  /** Returns the number of documents containing the term <code>t</ 
+  /** Returns the number of documents, including deleted, containing  
the term <code>t</code>.
    * @throws IOException if there is a low-level IO error
   public abstract int docFreq(Term t) throws IOException;

I understand why, but wonder wether or not this feature is actually  
used by something, if I need to mimic the behaviour in LUCENE-550 in  
order to ensure compabillity?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message