mirror of https://github.com/apache/lucene.git
unwrap @links
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150076 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c644322f13
commit
399ec233ff
|
@ -74,11 +74,11 @@ public abstract class HitCollector {
|
||||||
* </pre>
|
* </pre>
|
||||||
*
|
*
|
||||||
* <p>Note: This is called in an inner search loop. For good search
|
* <p>Note: This is called in an inner search loop. For good search
|
||||||
* performance, implementations of this method should not call {@link
|
* performance, implementations of this method should not call
|
||||||
* Searcher#doc(int)} or {@link
|
* {@link Searcher#doc(int)} or
|
||||||
* org.apache.lucene.index.IndexReader#document(int)} on every document
|
* {@link org.apache.lucene.index.IndexReader#document(int)} on every
|
||||||
* number encountered. Doing so can slow searches by an order of magnitude
|
* document number encountered. Doing so can slow searches by an order
|
||||||
* or more.
|
* of magnitude or more.
|
||||||
* <p>Note: The <code>score</code> passed to this method is a raw score.
|
* <p>Note: The <code>score</code> passed to this method is a raw score.
|
||||||
* In other words, the score will not necessarily be a float whose value is
|
* In other words, the score will not necessarily be a float whose value is
|
||||||
* between 0 and 1.
|
* between 0 and 1.
|
||||||
|
|
|
@ -94,10 +94,10 @@ public abstract class Query implements java.io.Serializable, Cloneable {
|
||||||
public float getBoost() { return boost; }
|
public float getBoost() { return boost; }
|
||||||
|
|
||||||
/** Prints a query to a string, with <code>field</code> as the default field
|
/** Prints a query to a string, with <code>field</code> as the default field
|
||||||
* for terms. <p>The representation used is one that is readable by {@link
|
* for terms. <p>The representation used is one that is readable by
|
||||||
* org.apache.lucene.queryParser.QueryParser QueryParser} (although, if the
|
* {@link org.apache.lucene.queryParser.QueryParser QueryParser}
|
||||||
* query was created by the parser, the printed representation may not be
|
* (although, if the query was created by the parser, the printed
|
||||||
* exactly what was parsed).
|
* representation may not be exactly what was parsed).
|
||||||
*/
|
*/
|
||||||
public abstract String toString(String field);
|
public abstract String toString(String field);
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ public abstract class Query implements java.io.Serializable, Cloneable {
|
||||||
protected Weight createWeight(Searcher searcher) {
|
protected Weight createWeight(Searcher searcher) {
|
||||||
throw new UnsupportedOperationException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Expert: Constructs an initializes a Weight for a top-level query. */
|
/** Expert: Constructs an initializes a Weight for a top-level query. */
|
||||||
public Weight weight(Searcher searcher)
|
public Weight weight(Searcher searcher)
|
||||||
throws IOException {
|
throws IOException {
|
||||||
|
|
Loading…
Reference in New Issue