lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r822825 - in /lucene/java/trunk/src/java/org/apache/lucene: document/AbstractField.java document/Fieldable.java search/Hit.java search/HitIterator.java search/Hits.java search/IndexSearcher.java search/Searchable.java search/TopDocs.java
Date Wed, 07 Oct 2009 18:32:48 GMT
Author: buschmi
Date: Wed Oct  7 18:32:47 2009
New Revision: 822825

URL: http://svn.apache.org/viewvc?rev=822825&view=rev
Log:
LUCENE-1856: Remove classes Hit, HitIterator, Hits and some javadoc references

Removed:
    lucene/java/trunk/src/java/org/apache/lucene/search/Hit.java
    lucene/java/trunk/src/java/org/apache/lucene/search/HitIterator.java
    lucene/java/trunk/src/java/org/apache/lucene/search/Hits.java
Modified:
    lucene/java/trunk/src/java/org/apache/lucene/document/AbstractField.java
    lucene/java/trunk/src/java/org/apache/lucene/document/Fieldable.java
    lucene/java/trunk/src/java/org/apache/lucene/search/IndexSearcher.java
    lucene/java/trunk/src/java/org/apache/lucene/search/Searchable.java
    lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/document/AbstractField.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/document/AbstractField.java?rev=822825&r1=822824&r2=822825&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/document/AbstractField.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/document/AbstractField.java Wed Oct  7 18:32:47
2009
@@ -130,7 +130,7 @@
    *
    * <p>Note: this value is not stored directly with the document in the index.
    * Documents returned from {@link org.apache.lucene.index.IndexReader#document(int)} and
-   * {@link org.apache.lucene.search.Hits#doc(int)} may thus not have the same value present
as when
+   * {@link org.apache.lucene.search.Searcher#doc(int)} may thus not have the same value
present as when
    * this field was indexed.
    *
    * @see #setBoost(float)

Modified: lucene/java/trunk/src/java/org/apache/lucene/document/Fieldable.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/document/Fieldable.java?rev=822825&r1=822824&r2=822825&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/document/Fieldable.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/document/Fieldable.java Wed Oct  7 18:32:47
2009
@@ -62,7 +62,7 @@
    *
    * <p>Note: this value is not stored directly with the document in the index.
    * Documents returned from {@link org.apache.lucene.index.IndexReader#document(int)} and
-   * {@link org.apache.lucene.search.Hits#doc(int)} may thus not have the same value present
as when
+   * {@link org.apache.lucene.search.Searcher#doc(int)} may thus not have the same value
present as when
    * this field was indexed.
    *
    * @see #setBoost(float)

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/IndexSearcher.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/IndexSearcher.java?rev=822825&r1=822824&r2=822825&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/IndexSearcher.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/IndexSearcher.java Wed Oct  7 18:32:47
2009
@@ -36,9 +36,6 @@
  * or {@link #search(Query,Filter,int)} methods. For performance reasons it is 
  * recommended to open only one IndexSearcher and use it for all of your searches.
  * 
- * <p>Note that you can only access the deprecated {@link Hits} from an IndexSearcher
as long as it is
- * not yet closed, otherwise an IOException will be thrown. 
- *
  * <a name="thread-safety"></a><p><b>NOTE</b>: {@link
  * <code>IndexSearcher</code>} instances are completely
  * thread safe, meaning multiple threads can call any of its

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/Searchable.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/Searchable.java?rev=822825&r1=822824&r2=822825&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/Searchable.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/Searchable.java Wed Oct  7 18:32:47
2009
@@ -87,7 +87,7 @@
 
   /** Frees resources associated with this Searcher.
    * Be careful not to call this method while you are still using objects
-   * like {@link Hits}.
+   * that reference this Searchable.
    */
   void close() throws IOException;
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java?rev=822825&r1=822824&r2=822825&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/TopDocs.java Wed Oct  7 18:32:47 2009
@@ -21,7 +21,6 @@
  * @see Searcher#search(Query,Filter,int) */
 public class TopDocs implements java.io.Serializable {
   /** Expert: The total number of hits for the query.
-   * @see Hits#length()
   */
   public int totalHits;
   /** Expert: The top hits for the query. */



Mime
View raw message