lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search IndexSearcher.java
Date Thu, 30 Sep 2004 20:53:07 GMT
dnaber      2004/09/30 13:53:07

  Modified:    src/java/org/apache/lucene/search IndexSearcher.java
  Log:
  Adding a small comment that says people should use only one IndexSearches for all searches.
  
  Revision  Changes    Path
  1.22      +2 -1      jakarta-lucene/src/java/org/apache/lucene/search/IndexSearcher.java
  
  Index: IndexSearcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/IndexSearcher.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- IndexSearcher.java	28 Sep 2004 16:54:44 -0000	1.21
  +++ IndexSearcher.java	30 Sep 2004 20:53:07 -0000	1.22
  @@ -27,7 +27,8 @@
   /** Implements search over a single IndexReader.
    *
    * <p>Applications usually need only call the inherited {@link #search(Query)}
  - * or {@link #search(Query,Filter)} methods.
  + * or {@link #search(Query,Filter)} methods. For performance reasons it is 
  + * recommended to open only one IndexSearcher and use it for all of your searches.
    */
   public class IndexSearcher extends Searcher {
     IndexReader reader;
  
  
  

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


Mime
View raw message