diff --git a/src/java/org/apache/lucene/search/HitCollector.java b/src/java/org/apache/lucene/search/HitCollector.java index c4e1d753107..3dedf79e7e4 100644 --- a/src/java/org/apache/lucene/search/HitCollector.java +++ b/src/java/org/apache/lucene/search/HitCollector.java @@ -74,11 +74,11 @@ public abstract class HitCollector { * * *

Note: This is called in an inner search loop. For good search - * performance, implementations of this method should not call {@link - * Searcher#doc(int)} or {@link - * org.apache.lucene.index.IndexReader#document(int)} on every document - * number encountered. Doing so can slow searches by an order of magnitude - * or more. + * performance, implementations of this method should not call + * {@link Searcher#doc(int)} or + * {@link org.apache.lucene.index.IndexReader#document(int)} on every + * document number encountered. Doing so can slow searches by an order + * of magnitude or more. *

Note: The score passed to this method is a raw score. * In other words, the score will not necessarily be a float whose value is * between 0 and 1. diff --git a/src/java/org/apache/lucene/search/Query.java b/src/java/org/apache/lucene/search/Query.java index 9f54b64f4ea..9f695783835 100644 --- a/src/java/org/apache/lucene/search/Query.java +++ b/src/java/org/apache/lucene/search/Query.java @@ -94,10 +94,10 @@ public abstract class Query implements java.io.Serializable, Cloneable { public float getBoost() { return boost; } /** Prints a query to a string, with field as the default field - * for terms.

The representation used is one that is readable by {@link - * org.apache.lucene.queryParser.QueryParser QueryParser} (although, if the - * query was created by the parser, the printed representation may not be - * exactly what was parsed). + * for terms.

The representation used is one that is readable by + * {@link org.apache.lucene.queryParser.QueryParser QueryParser} + * (although, if the query was created by the parser, the printed + * representation may not be exactly what was parsed). */ public abstract String toString(String field); @@ -113,7 +113,7 @@ public abstract class Query implements java.io.Serializable, Cloneable { protected Weight createWeight(Searcher searcher) { throw new UnsupportedOperationException(); } - + /** Expert: Constructs an initializes a Weight for a top-level query. */ public Weight weight(Searcher searcher) throws IOException {