lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r885744 - in /lucene/java/branches/lucene_2_9: ./ src/java/org/apache/lucene/search/TopDocs.java src/java/org/apache/lucene/search/TopFieldDocs.java src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
Date Tue, 01 Dec 2009 11:42:37 GMT
Author: mikemccand
Date: Tue Dec  1 11:42:36 2009
New Revision: 885744

URL: http://svn.apache.org/viewvc?rev=885744&view=rev
Log:
(on 2.9 branch) remove expert & low-level characterization for TopDocs/TopFieldDocs

Modified:
    lucene/java/branches/lucene_2_9/   (props changed)
    lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopDocs.java
    lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopFieldDocs.java
    lucene/java/branches/lucene_2_9/src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
  (props changed)

Propchange: lucene/java/branches/lucene_2_9/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Dec  1 11:42:36 2009
@@ -1,2 +1,2 @@
 /lucene/java/branches/lucene_2_4:748824
-/lucene/java/trunk:824125,826029,826385,830871,833095,833297,833886,882672,883554
+/lucene/java/trunk:824125,826029,826385,830871,833095,833297,833886,882672,883554,884870

Modified: lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopDocs.java?rev=885744&r1=885743&r2=885744&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopDocs.java (original)
+++ lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopDocs.java Tue Dec
 1 11:42:36 2009
@@ -17,37 +17,35 @@
  * limitations under the License.
  */
 
-/** Expert: Returned by low-level search implementations.
- * @see Searcher#search(Query,Filter,int) */
+/** Represents hits returned by {@link
+ * Searcher#search(Query,Filter,int)} and {@link
+ * Searcher#search(Query,int)}. */
 public class TopDocs implements java.io.Serializable {
-  /** Expert: The total number of hits for the query.
-   * @see Hits#length()
-  */
+  /** The total number of hits for the query. */
   public int totalHits;
-  /** Expert: The top hits for the query. */
+  /** The top hits for the query. */
   public ScoreDoc[] scoreDocs;
-  /** Expert: Stores the maximum score value encountered, needed for normalizing. */
+  /** Stores the maximum score value encountered, needed for normalizing. */
   private float maxScore;
   
   /**
-   * Expert: Returns the maximum score value encountered. Note that in case
+   * Returns the maximum score value encountered. Note that in case
    * scores are not tracked, this returns {@link Float#NaN}.
    */
   public float getMaxScore() {
       return maxScore;
   }
   
-  /** Expert: Sets the maximum score value encountered. */
+  /** Sets the maximum score value encountered. */
   public void setMaxScore(float maxScore) {
       this.maxScore=maxScore;
   }
 
-  /** Expert: Constructs a TopDocs with a default maxScore=Float.NaN. */
+  /** Constructs a TopDocs with a default maxScore=Float.NaN. */
   TopDocs(int totalHits, ScoreDoc[] scoreDocs) {
     this(totalHits, scoreDocs, Float.NaN);
   }
 
-  /** Expert: Constructs a TopDocs.*/
   public TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore) {
     this.totalHits = totalHits;
     this.scoreDocs = scoreDocs;

Modified: lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopFieldDocs.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopFieldDocs.java?rev=885744&r1=885743&r2=885744&view=diff
==============================================================================
--- lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopFieldDocs.java (original)
+++ lucene/java/branches/lucene_2_9/src/java/org/apache/lucene/search/TopFieldDocs.java Tue
Dec  1 11:42:36 2009
@@ -18,14 +18,8 @@
  */
 
 
-/**
- * Expert: Returned by low-level sorted search implementations.
- *
- * <p>Created: Feb 12, 2004 8:58:46 AM 
- *
- * @since   lucene 1.4
- * @version $Id$
- * @see Searcher#search(Query,Filter,int,Sort)
+/** Represents hits returned by {@link
+ * Searcher#search(Query,Filter,int,Sort)}.
  */
 public class TopFieldDocs
 extends TopDocs {

Propchange: lucene/java/branches/lucene_2_9/src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Dec  1 11:42:36 2009
@@ -1,2 +1,2 @@
 /lucene/java/branches/lucene_2_4/src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java:748824
-/lucene/java/trunk/src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java:818920,824125,826029,826385,830871,833095,833297,833886,882672,883554
+/lucene/java/trunk/src/test/org/apache/lucene/analysis/BaseTokenStreamTestCase.java:818920,824125,826029,826385,830871,833095,833297,833886,882672,883554,884870



Mime
View raw message