You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2004/02/12 19:38:19 UTC

cvs commit: jakarta-lucene/src/java/org/apache/lucene/search HitCollector.java

otis        2004/02/12 10:38:19

  Modified:    src/java/org/apache/lucene/search HitCollector.java
  Log:
  - Javadoc example fix
  
  Revision  Changes    Path
  1.5       +2 -2      jakarta-lucene/src/java/org/apache/lucene/search/HitCollector.java
  
  Index: HitCollector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/HitCollector.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HitCollector.java	3 Oct 2003 03:04:43 -0000	1.4
  +++ HitCollector.java	12 Feb 2004 18:38:19 -0000	1.5
  @@ -64,7 +64,7 @@
      *
      * <P>If, for example, an application wished to collect all of the hits for a
      * query in a BitSet, then it might:<pre>
  -   *   Searcher = new IndexSearcher(indexReader);
  +   *   Searcher searcher = new IndexSearcher(indexReader);
      *   final BitSet bits = new BitSet(indexReader.maxDoc());
      *   searcher.search(query, new HitCollector() {
      *       public void collect(int doc, float score) {
  
  
  

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