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 [EMAIL PROTECTED] 
#search(Query)}
  - * or [EMAIL PROTECTED] #search(Query,Filter)} methods.
  + * or [EMAIL PROTECTED] #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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to