Apache Lucene open-source search software
remove expert & low-level characterization for TopDocs/TopFieldDocs
Michael McCandless17fc7af3c354
diff --git a/src/java/org/apache/lucene/search/TopDocs.java b/src/java/org/apache/lucene/search/TopDocs.javaindex 7e53662c1d1..c185fbe1a82 100644--- a/src/java/org/apache/lucene/search/TopDocs.java+++ b/src/java/org/apache/lucene/search/TopDocs.java@@ -17,36 +17,36 @@ package org.apache.lucene.search;* 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.+ /** 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;diff --git a/src/java/org/apache/lucene/search/TopFieldDocs.java b/src/java/org/apache/lucene/search/TopFieldDocs.javaindex a0e657faf39..ec9750f64cf 100644--- a/src/java/org/apache/lucene/search/TopFieldDocs.java+++ b/src/java/org/apache/lucene/search/TopFieldDocs.java@@ -18,13 +18,8 @@ package org.apache.lucene.search;*/-/**- * Expert: Returned by low-level sorted search implementations.- *- * <p>Created: Feb 12, 2004 8:58:46 AM- *- * @since lucene 1.4- * @see Searcher#search(Query,Filter,int,Sort)+/** Represents hits returned by {@link+ * Searcher#search(Query,Filter,int,Sort)}.*/public class TopFieldDocsextends TopDocs {