lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karl Wettin <karl.wet...@gmail.com>
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</ 
code>.
+  /** 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?


-- 
karl

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


Mime
View raw message