On Monday 30 November 2009 18:42:50 Michael McCandless wrote:
> I was able to apply that git patch just fine -- so I think it'll
> work?
Good to hear it works that simple.
This patch completes the task.
It is a "two file" patch, so if this will work too, I'm confident.
Stefan
> On Mon, Nov 30, 2009 at 12:22 PM, Stefan Trcek <[email protected]>
wrote:
> > On Monday 30 November 2009 14:24:20 Michael McCandless wrote:
> >> I agree, it's silly we label things like TopDocs/TopFieldDocs as
> >> expert -- they are no longer for "low level" APIs (or, perhaps
> >> since we've removed the "high level" API (= Hits), what remains
> >> should no longer be considered low level).
> >>
> >> Do you wanna cough up a patch to correct these?
diff --git a/src/java/org/apache/lucene/search/TopDocs.java
b/src/java/org/apache/lucene/search/TopDocs.java
index 0f098e1..06ee171 100644
--- a/src/java/org/apache/lucene/search/TopDocs.java
+++ b/src/java/org/apache/lucene/search/TopDocs.java
@@ -20,7 +20,7 @@ package org.apache.lucene.search;
/**
* @see Searcher#search(Query,Filter,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;
/** The top hits for the query. */
diff --git a/src/java/org/apache/lucene/search/TopFieldDocs.java
b/src/java/org/apache/lucene/search/TopFieldDocs.java
index a0e657f..0197478 100644
--- a/src/java/org/apache/lucene/search/TopFieldDocs.java
+++ b/src/java/org/apache/lucene/search/TopFieldDocs.java
@@ -19,8 +19,6 @@ 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]