Apache Solr open-source search software
- Javadoc typos fix
Otis Gospodnetic4d33a23bd2d5
diff --git a/src/java/org/apache/lucene/search/function/CustomScoreQuery.java b/src/java/org/apache/lucene/search/function/CustomScoreQuery.javaindex ccd1cac8fc9..2de9aba5b69 100755--- a/src/java/org/apache/lucene/search/function/CustomScoreQuery.java+++ b/src/java/org/apache/lucene/search/function/CustomScoreQuery.java@@ -34,8 +34,8 @@ import org.apache.lucene.util.ToStringUtils;* Query that sets document score as a programmatic function of several (sub) scores.* <ol>* <li>the score of its subQuery (any query)</li>- * <li>(optional) the score of its ValueSourtceQuery (or queries),- * for most simple/convineient use case this query would be a+ * <li>(optional) the score of its ValueSourceQuery (or queries).+ * For most simple/convenient use cases this query is likely to be a* {@link org.apache.lucene.search.function.FieldScoreQuery FieldScoreQuery}</li>* </ol>* Subclasses can modify the computation by overriding {@link #customScore(int, float, float)}.diff --git a/src/java/org/apache/lucene/search/function/FieldScoreQuery.java b/src/java/org/apache/lucene/search/function/FieldScoreQuery.javaindex 430b7848d68..7bbbcd53290 100755--- a/src/java/org/apache/lucene/search/function/FieldScoreQuery.java+++ b/src/java/org/apache/lucene/search/function/FieldScoreQuery.java@@ -50,7 +50,7 @@ package org.apache.lucene.search.function;* Values for the numeric field are loaded once and cached in memory for further use with the same IndexReader.* To take advantage of this, it is extremely important to reuse index-readers or index-searchers,* otherwise, for instance if for each query a new index reader is opened, large penalties would be- * payd for loading the field values into memory over and over again!+ * paid for loading the field values into memory over and over again!** <p><font color="#FF0000">* WARNING: The status of the <b>search.function</b> package is experimental.diff --git a/src/java/org/apache/lucene/search/function/ValueSourceQuery.java b/src/java/org/apache/lucene/search/function/ValueSourceQuery.javaindex 40fc727019b..d737d6b9ed5 100644--- a/src/java/org/apache/lucene/search/function/ValueSourceQuery.java+++ b/src/java/org/apache/lucene/search/function/ValueSourceQuery.java@@ -28,7 +28,7 @@ import java.util.Set;* Expert: A Query that sets the scores of document to the* values obtained from a {@link org.apache.lucene.search.function.ValueSource ValueSource}.* <p>- * The value source can be based on a (cached) value of an indexd field, but it+ * The value source can be based on a (cached) value of an indexed field, but it* can also be based on an external source, e.g. values read from an external database.* <p>* Score is set as: Score(doc,query) = query.getBoost()<sup>2</sup> * valueSource(doc).@@ -37,8 +37,6 @@ import java.util.Set;* WARNING: The status of the <b>search.function</b> package is experimental.* The APIs introduced here might change in the future and will not be* supported anymore in such a case.</font>- *- * @author yonik*/public class ValueSourceQuery extends Query {ValueSource valSrc;