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/store FSDirectory.java
Date Wed, 29 Jan 2003 17:18:56 GMT
otis        2003/01/29 09:18:56

  Modified:    src/java/org/apache/lucene/analysis Token.java
               src/java/org/apache/lucene/analysis/de GermanAnalyzer.java
               src/java/org/apache/lucene/analysis/ru RussianAnalyzer.java
                        RussianStemFilter.java
               src/java/org/apache/lucene/document Document.java Field.java
               src/java/org/apache/lucene/index FieldsReader.java
                        FieldsWriter.java IndexReader.java IndexWriter.java
                        SegmentMerger.java TermDocs.java
                        TermInfosReader.java TermPositions.java
               src/java/org/apache/lucene/search DefaultSimilarity.java
                        ExactPhraseScorer.java FuzzyTermEnum.java Hits.java
                        IndexSearcher.java MultiSearcher.java
                        MultiTermQuery.java PhrasePrefixQuery.java
                        PhraseQuery.java PhraseScorer.java PrefixQuery.java
                        RangeQuery.java RemoteSearchable.java
                        Searchable.java Searcher.java Similarity.java
                        SloppyPhraseScorer.java TermScorer.java
                        WildcardTermEnum.java
               src/java/org/apache/lucene/store FSDirectory.java
  Log:
  - Removed unused or duplicate imports.
  
  Revision  Changes    Path
  1.5       +0 -2      jakarta-lucene/src/java/org/apache/lucene/analysis/Token.java
  
  Index: Token.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/Token.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Token.java	10 Nov 2002 23:35:55 -0000	1.4
  +++ Token.java	29 Jan 2003 17:18:53 -0000	1.5
  @@ -54,8 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import org.apache.lucene.index.TermPositions;
  -
   /** A Token is an occurence of a term from the text of a field.  It consists of
     a term's text, the start and end offset of the term in the text of the field,
     and a type string.
  
  
  
  1.6       +2 -3      jakarta-lucene/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java
  
  Index: GermanAnalyzer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/de/GermanAnalyzer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- GermanAnalyzer.java	18 Aug 2002 17:33:16 -0000	1.5
  +++ GermanAnalyzer.java	29 Jan 2003 17:18:53 -0000	1.6
  @@ -55,7 +55,6 @@
    */
   
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.analysis.LowerCaseFilter;
   import org.apache.lucene.analysis.StopFilter;
   import org.apache.lucene.analysis.TokenStream;
   import org.apache.lucene.analysis.standard.StandardFilter;
  @@ -164,7 +163,7 @@
        * Creates a TokenStream which tokenizes all the text in the provided Reader.
        *
        * @return  A TokenStream build from a StandardTokenizer filtered with
  -     *		StandardFilter, StopFilter, GermanStemFilter and LowerCaseFilter
  +     *		StandardFilter, StopFilter, GermanStemFilter
        */
       public TokenStream tokenStream( String fieldName, Reader reader )
       {
  
  
  
  1.4       +1 -5      jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java
  
  Index: RussianAnalyzer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianAnalyzer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RussianAnalyzer.java	12 Dec 2002 05:10:11 -0000	1.3
  +++ RussianAnalyzer.java	29 Jan 2003 17:18:53 -0000	1.4
  @@ -55,13 +55,9 @@
    */
   
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.analysis.LowerCaseFilter;
   import org.apache.lucene.analysis.StopFilter;
   import org.apache.lucene.analysis.TokenStream;
  -import org.apache.lucene.analysis.standard.StandardFilter;
  -import org.apache.lucene.analysis.standard.StandardTokenizer;
   
  -import java.io.File;
   import java.io.Reader;
   import java.util.Hashtable;
   
  
  
  
  1.4       +1 -2      jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.java
  
  Index: RussianStemFilter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/analysis/ru/RussianStemFilter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- RussianStemFilter.java	12 Dec 2002 05:10:11 -0000	1.3
  +++ RussianStemFilter.java	29 Jan 2003 17:18:53 -0000	1.4
  @@ -58,7 +58,6 @@
   import org.apache.lucene.analysis.TokenFilter;
   import org.apache.lucene.analysis.TokenStream;
   import java.io.IOException;
  -import java.util.Hashtable;
   
   /**
    * A filter that stems Russian words. The implementation was inspired by GermanStemFilter.
  
  
  
  1.9       +0 -3      jakarta-lucene/src/java/org/apache/lucene/document/Document.java
  
  Index: Document.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/Document.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Document.java	26 Jan 2003 03:34:28 -0000	1.8
  +++ Document.java	29 Jan 2003 17:18:54 -0000	1.9
  @@ -58,9 +58,6 @@
   import java.util.List;
   import java.util.ArrayList;
   
  -import org.apache.lucene.index.IndexReader;
  -import org.apache.lucene.search.Hits;
  -
   /** Documents are the unit of indexing and search.
    *
    * A Document is a set of fields.  Each field has a name and a textual value.
  
  
  
  1.10      +0 -3      jakarta-lucene/src/java/org/apache/lucene/document/Field.java
  
  Index: Field.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/document/Field.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Field.java	4 Jan 2003 18:06:19 -0000	1.9
  +++ Field.java	29 Jan 2003 17:18:54 -0000	1.10
  @@ -56,9 +56,6 @@
   
   import java.io.Reader;
   import java.util.Date;
  -import org.apache.lucene.index.IndexReader;
  -import org.apache.lucene.search.Similarity;
  -import org.apache.lucene.search.Hits;
   
   /**
     A field is a section of a Document.  Each field has two parts, a name and a
  
  
  
  1.4       +0 -2      jakarta-lucene/src/java/org/apache/lucene/index/FieldsReader.java
  
  Index: FieldsReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/FieldsReader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FieldsReader.java	20 Sep 2002 02:21:31 -0000	1.3
  +++ FieldsReader.java	29 Jan 2003 17:18:54 -0000	1.4
  @@ -54,8 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import java.util.Enumeration;
  -import java.util.Hashtable;
   import java.io.IOException;
   
   import org.apache.lucene.store.Directory;
  
  
  
  1.2       +0 -1      jakarta-lucene/src/java/org/apache/lucene/index/FieldsWriter.java
  
  Index: FieldsWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/FieldsWriter.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FieldsWriter.java	18 Sep 2001 16:29:52 -0000	1.1
  +++ FieldsWriter.java	29 Jan 2003 17:18:54 -0000	1.2
  @@ -55,7 +55,6 @@
    */
   
   import java.util.Enumeration;
  -import java.util.Hashtable;
   import java.io.IOException;
   
   import org.apache.lucene.store.Directory;
  
  
  
  1.13      +0 -1      jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java
  
  Index: IndexReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexReader.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- IndexReader.java	4 Jan 2003 17:13:39 -0000	1.12
  +++ IndexReader.java	29 Jan 2003 17:18:54 -0000	1.13
  @@ -62,7 +62,6 @@
   import org.apache.lucene.store.FSDirectory;
   import org.apache.lucene.store.Lock;
   import org.apache.lucene.document.Document;
  -import org.apache.lucene.document.Field;
   
   /** IndexReader is an abstract class, providing an interface for accessing an
     index.  Search of an index is done entirely through this abstract interface,
  
  
  
  1.11      +0 -1      jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java
  
  Index: IndexWriter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/IndexWriter.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- IndexWriter.java	7 Nov 2002 17:31:26 -0000	1.10
  +++ IndexWriter.java	29 Jan 2003 17:18:54 -0000	1.11
  @@ -68,7 +68,6 @@
   import org.apache.lucene.search.Similarity;
   import org.apache.lucene.document.Document;
   import org.apache.lucene.analysis.Analyzer;
  -import org.apache.lucene.search.Similarity;
   
   
   /**
  
  
  
  1.2       +0 -2      jakarta-lucene/src/java/org/apache/lucene/index/SegmentMerger.java
  
  Index: SegmentMerger.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/SegmentMerger.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SegmentMerger.java	18 Sep 2001 16:29:53 -0000	1.1
  +++ SegmentMerger.java	29 Jan 2003 17:18:54 -0000	1.2
  @@ -60,8 +60,6 @@
   import org.apache.lucene.store.Directory;
   import org.apache.lucene.store.OutputStream;
   import org.apache.lucene.store.InputStream;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.util.PriorityQueue;
   import org.apache.lucene.util.BitVector;
   
   final class SegmentMerger {
  
  
  
  1.4       +0 -1      jakarta-lucene/src/java/org/apache/lucene/index/TermDocs.java
  
  Index: TermDocs.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/TermDocs.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TermDocs.java	21 Jan 2002 17:07:23 -0000	1.3
  +++ TermDocs.java	29 Jan 2003 17:18:54 -0000	1.4
  @@ -55,7 +55,6 @@
    */
   
   import java.io.IOException;
  -import org.apache.lucene.document.Document;
   
   /** TermDocs provides an interface for enumerating &lt;document, frequency&gt;
     pairs for a term.  <p> The document portion names each document containing
  
  
  
  1.2       +0 -1      jakarta-lucene/src/java/org/apache/lucene/index/TermInfosReader.java
  
  Index: TermInfosReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/TermInfosReader.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TermInfosReader.java	18 Sep 2001 16:29:55 -0000	1.1
  +++ TermInfosReader.java	29 Jan 2003 17:18:54 -0000	1.2
  @@ -57,7 +57,6 @@
   import java.io.IOException;
   
   import org.apache.lucene.store.Directory;
  -import org.apache.lucene.store.InputStream;
   
   /** This stores a monotonically increasing set of <Term, TermInfo> pairs in a
    * Directory.  Pairs are accessed either by Term or by ordinal position the
  
  
  
  1.4       +0 -2      jakarta-lucene/src/java/org/apache/lucene/index/TermPositions.java
  
  Index: TermPositions.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/index/TermPositions.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- TermPositions.java	5 Jun 2002 17:12:59 -0000	1.3
  +++ TermPositions.java	29 Jan 2003 17:18:54 -0000	1.4
  @@ -55,8 +55,6 @@
    */
   
   import java.io.IOException;
  -import org.apache.lucene.document.Document;
  -
   
   /**
    * TermPositions provides an interface for enumerating the &lt;document,
  
  
  
  1.2       +0 -2      jakarta-lucene/src/java/org/apache/lucene/search/DefaultSimilarity.java
  
  Index: DefaultSimilarity.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/DefaultSimilarity.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DefaultSimilarity.java	7 Nov 2002 17:31:26 -0000	1.1
  +++ DefaultSimilarity.java	29 Jan 2003 17:18:54 -0000	1.2
  @@ -54,8 +54,6 @@
    * <http://www.apache.org/>.
    */
   
  -import org.apache.lucene.document.Document;
  -
   /** Expert: Default scoring implementation. */
   public class DefaultSimilarity extends Similarity {
     /** Implemented as <code>1/sqrt(numTerms)</code>. */
  
  
  
  1.4       +0 -1      jakarta-lucene/src/java/org/apache/lucene/search/ExactPhraseScorer.java
  
  Index: ExactPhraseScorer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/ExactPhraseScorer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ExactPhraseScorer.java	13 Jan 2003 23:50:33 -0000	1.3
  +++ ExactPhraseScorer.java	29 Jan 2003 17:18:54 -0000	1.4
  @@ -55,7 +55,6 @@
    */
   
   import java.io.IOException;
  -import java.util.Vector;
   import org.apache.lucene.util.*;
   import org.apache.lucene.index.*;
   
  
  
  
  1.3       +0 -1      jakarta-lucene/src/java/org/apache/lucene/search/FuzzyTermEnum.java
  
  Index: FuzzyTermEnum.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/FuzzyTermEnum.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FuzzyTermEnum.java	7 Nov 2002 05:55:40 -0000	1.2
  +++ FuzzyTermEnum.java	29 Jan 2003 17:18:54 -0000	1.3
  @@ -57,7 +57,6 @@
   import java.io.IOException;
   import org.apache.lucene.index.IndexReader;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.TermEnum;
   
   /** Subclass of FilteredTermEnum for enumerating all terms that are similiar to the specified
filter term.
   
  
  
  
  1.6       +1 -2      jakarta-lucene/src/java/org/apache/lucene/search/Hits.java
  
  Index: Hits.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Hits.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Hits.java	14 Jan 2003 00:04:37 -0000	1.5
  +++ Hits.java	29 Jan 2003 17:18:54 -0000	1.6
  @@ -56,9 +56,8 @@
   
   import java.io.IOException;
   import java.util.Vector;
  -import java.util.BitSet;
  +
   import org.apache.lucene.document.Document;
  -import org.apache.lucene.index.IndexReader;
   
   /** A ranked list of documents, used to hold search results. */
   public final class Hits {
  
  
  
  1.8       +0 -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.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- IndexSearcher.java	15 Jan 2003 19:25:04 -0000	1.7
  +++ IndexSearcher.java	29 Jan 2003 17:18:54 -0000	1.8
  @@ -61,7 +61,6 @@
   import org.apache.lucene.document.Document;
   import org.apache.lucene.index.IndexReader;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.util.PriorityQueue;
   
   /** Implements search over a single IndexReader.
    *
  
  
  
  1.10      +0 -2      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.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- MultiSearcher.java	14 Jan 2003 00:04:37 -0000	1.9
  +++ MultiSearcher.java	29 Jan 2003 17:18:54 -0000	1.10
  @@ -55,11 +55,9 @@
    */
   
   import java.io.IOException;
  -import java.util.Vector;
   
   import org.apache.lucene.document.Document;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.util.PriorityQueue;
   
   /** Implements search over a set of <code>Searchables</code>.
    *
  
  
  
  1.9       +1 -2      jakarta-lucene/src/java/org/apache/lucene/search/MultiTermQuery.java
  
  Index: MultiTermQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/MultiTermQuery.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- MultiTermQuery.java	13 Jan 2003 23:50:33 -0000	1.8
  +++ MultiTermQuery.java	29 Jan 2003 17:18:54 -0000	1.9
  @@ -55,10 +55,9 @@
    */
   
   import java.io.IOException;
  -import java.util.Vector;
  +
   import org.apache.lucene.index.IndexReader;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.TermEnum;
   
   /**
    * A {@link Query} that matches documents containing a subset of terms provided
  
  
  
  1.8       +0 -1      jakarta-lucene/src/java/org/apache/lucene/search/PhrasePrefixQuery.java
  
  Index: PhrasePrefixQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/PhrasePrefixQuery.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- PhrasePrefixQuery.java	15 Jan 2003 19:25:04 -0000	1.7
  +++ PhrasePrefixQuery.java	29 Jan 2003 17:18:54 -0000	1.8
  @@ -62,7 +62,6 @@
   import org.apache.lucene.index.MultipleTermPositions;
   import org.apache.lucene.index.Term;
   import org.apache.lucene.index.TermPositions;
  -import org.apache.lucene.index.TermDocs;
   import org.apache.lucene.search.Query;
   
   /**
  
  
  
  1.11      +0 -1      jakarta-lucene/src/java/org/apache/lucene/search/PhraseQuery.java
  
  Index: PhraseQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/PhraseQuery.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- PhraseQuery.java	15 Jan 2003 19:25:04 -0000	1.10
  +++ PhraseQuery.java	29 Jan 2003 17:18:55 -0000	1.11
  @@ -58,7 +58,6 @@
   import java.util.Vector;
   
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.TermDocs;
   import org.apache.lucene.index.TermPositions;
   import org.apache.lucene.index.IndexReader;
   
  
  
  
  1.7       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/PhraseScorer.java
  
  Index: PhraseScorer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/PhraseScorer.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- PhraseScorer.java	15 Jan 2003 19:25:04 -0000	1.6
  +++ PhraseScorer.java	29 Jan 2003 17:18:55 -0000	1.7
  @@ -55,7 +55,7 @@
    */
   
   import java.io.IOException;
  -import java.util.Vector;
  +
   import org.apache.lucene.util.*;
   import org.apache.lucene.index.*;
   
  
  
  
  1.6       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/PrefixQuery.java
  
  Index: PrefixQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/PrefixQuery.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PrefixQuery.java	13 Jan 2003 23:50:33 -0000	1.5
  +++ PrefixQuery.java	29 Jan 2003 17:18:55 -0000	1.6
  @@ -55,9 +55,9 @@
    */
   
   import java.io.IOException;
  +
   import org.apache.lucene.index.Term;
   import org.apache.lucene.index.TermEnum;
  -import org.apache.lucene.index.TermDocs;
   import org.apache.lucene.index.IndexReader;
   
   /** A Query that matches documents containing terms with a specified prefix. */
  
  
  
  1.7       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/RangeQuery.java
  
  Index: RangeQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/RangeQuery.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- RangeQuery.java	13 Jan 2003 23:50:33 -0000	1.6
  +++ RangeQuery.java	29 Jan 2003 17:18:55 -0000	1.7
  @@ -55,9 +55,9 @@
    */
   
   import java.io.IOException;
  +
   import org.apache.lucene.index.Term;
   import org.apache.lucene.index.TermEnum;
  -import org.apache.lucene.index.TermDocs;
   import org.apache.lucene.index.IndexReader;
   
   /** A Query that matches documents within an exclusive range. */
  
  
  
  1.3       +3 -3      jakarta-lucene/src/java/org/apache/lucene/search/RemoteSearchable.java
  
  Index: RemoteSearchable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/RemoteSearchable.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- RemoteSearchable.java	13 Jan 2003 23:50:33 -0000	1.2
  +++ RemoteSearchable.java	29 Jan 2003 17:18:55 -0000	1.3
  @@ -55,14 +55,14 @@
    */
   
   import java.io.IOException;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.IndexReader;
   
   import java.rmi.Naming;
   import java.rmi.RemoteException;
   import java.rmi.RMISecurityManager;
   import java.rmi.server.UnicastRemoteObject;
  +
  +import org.apache.lucene.document.Document;
  +import org.apache.lucene.index.Term;
   
   /** A remote searchable implementation. */
   public class RemoteSearchable
  
  
  
  1.6       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/Searchable.java
  
  Index: Searchable.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Searchable.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Searchable.java	14 Jan 2003 00:04:37 -0000	1.5
  +++ Searchable.java	29 Jan 2003 17:18:55 -0000	1.6
  @@ -55,9 +55,9 @@
    */
   
   import java.io.IOException;
  +
   import org.apache.lucene.document.Document;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.IndexReader;
   
   /** The interface for search implementations.
    *
  
  
  
  1.8       +0 -3      jakarta-lucene/src/java/org/apache/lucene/search/Searcher.java
  
  Index: Searcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Searcher.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Searcher.java	7 Nov 2002 17:31:26 -0000	1.7
  +++ Searcher.java	29 Jan 2003 17:18:55 -0000	1.8
  @@ -55,9 +55,6 @@
    */
   
   import java.io.IOException;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.IndexReader;
   
   /** An abstract base class for search implementations.
    * Implements some common utility methods.
  
  
  
  1.6       +1 -4      jakarta-lucene/src/java/org/apache/lucene/search/Similarity.java
  
  Index: Similarity.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Similarity.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Similarity.java	24 Jan 2003 18:33:27 -0000	1.5
  +++ Similarity.java	29 Jan 2003 17:18:55 -0000	1.6
  @@ -56,11 +56,8 @@
   
   import java.io.IOException;
   import java.util.Vector;
  +
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.document.Document;
  -import org.apache.lucene.document.Field;
  -import org.apache.lucene.index.IndexReader;
  -import org.apache.lucene.index.IndexWriter;
   
   /** Expert: Scoring API.
    * <p>Subclasses implement search scoring.
  
  
  
  1.4       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/SloppyPhraseScorer.java
  
  Index: SloppyPhraseScorer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/SloppyPhraseScorer.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SloppyPhraseScorer.java	13 Jan 2003 23:50:33 -0000	1.3
  +++ SloppyPhraseScorer.java	29 Jan 2003 17:18:55 -0000	1.4
  @@ -55,7 +55,7 @@
    */
   
   import java.io.IOException;
  -import java.util.Vector;
  +
   import org.apache.lucene.util.*;
   import org.apache.lucene.index.*;
   
  
  
  
  1.6       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/TermScorer.java
  
  Index: TermScorer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/TermScorer.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- TermScorer.java	15 Jan 2003 19:25:04 -0000	1.5
  +++ TermScorer.java	29 Jan 2003 17:18:55 -0000	1.6
  @@ -55,7 +55,7 @@
    */
   
   import java.io.IOException;
  -import org.apache.lucene.index.Term;
  +
   import org.apache.lucene.index.TermDocs;
   
   final class TermScorer extends Scorer {
  
  
  
  1.4       +1 -1      jakarta-lucene/src/java/org/apache/lucene/search/WildcardTermEnum.java
  
  Index: WildcardTermEnum.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/WildcardTermEnum.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- WildcardTermEnum.java	7 Nov 2002 05:55:40 -0000	1.3
  +++ WildcardTermEnum.java	29 Jan 2003 17:18:55 -0000	1.4
  @@ -55,9 +55,9 @@
    */
   
   import java.io.IOException;
  +
   import org.apache.lucene.index.IndexReader;
   import org.apache.lucene.index.Term;
  -import org.apache.lucene.index.TermEnum;
   
   /**
    * Subclass of FilteredTermEnum for enumerating all terms that match the
  
  
  
  1.13      +0 -1      jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java
  
  Index: FSDirectory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/store/FSDirectory.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- FSDirectory.java	7 Nov 2002 05:55:40 -0000	1.12
  +++ FSDirectory.java	29 Jan 2003 17:18:55 -0000	1.13
  @@ -57,7 +57,6 @@
   import java.io.IOException;
   import java.io.File;
   import java.io.RandomAccessFile;
  -import java.io.FileNotFoundException;
   import java.util.Hashtable;
   
   import org.apache.lucene.util.Constants;
  
  
  

---------------------------------------------------------------------
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