lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search MultiSearcher.java
Date Wed, 20 Mar 2002 05:26:38 GMT
otis        02/03/19 21:26:38

  Modified:    src/java/org/apache/lucene/search MultiSearcher.java
  Log:
  - Minor javadoc changes.
  
  Revision  Changes    Path
  1.4       +6 -6      jakarta-lucene/src/java/org/apache/lucene/search/MultiSearcher.java
  
  Index: MultiSearcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/MultiSearcher.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- MultiSearcher.java	14 Feb 2002 00:58:46 -0000	1.3
  +++ MultiSearcher.java	20 Mar 2002 05:26:38 -0000	1.4
  @@ -61,7 +61,7 @@
   import org.apache.lucene.index.Term;
   import org.apache.lucene.util.PriorityQueue;
   
  -/** Implements search over a set of Searcher's. */
  +/** Implements search over a set of <code>Searchers</code>. */
   public final class MultiSearcher extends Searcher {
     private Searcher[] searchers;
     private int[] starts;
  @@ -78,8 +78,8 @@
       }
       starts[searchers.length] = maxDoc;
     }
  -    
  -  /** Frees resources associated with this Searcher. */
  +
  +  /** Frees resources associated with this <code>Searcher</code>. */
     public final void close() throws IOException {
       for (int i = 0; i < searchers.length; i++)
         searchers[i].close();
  @@ -145,11 +145,11 @@
   	  break;				  // no more scores > minScore
         }
       }
  -    
  +
       ScoreDoc[] scoreDocs = new ScoreDoc[hq.size()];
       for (int i = hq.size()-1; i >= 0; i--)	  // put docs in array
         scoreDocs[i] = (ScoreDoc)hq.pop();
  -    
  +
       return new TopDocs(totalHits, scoreDocs);
     }
   
  @@ -172,7 +172,7 @@
   			   final HitCollector results)
       throws IOException {
       for (int i = 0; i < searchers.length; i++) {
  -      
  +
         final int start = starts[i];
   
         searchers[i].search(query, filter, new HitCollector() {
  
  
  

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


Mime
View raw message