Apache Lucene open-source search software
update to search/function javadocs.
Doron Cohen6a57acf9d4c9
diff --git a/src/java/org/apache/lucene/search/function/CustomScoreQuery.java b/src/java/org/apache/lucene/search/function/CustomScoreQuery.javaindex 2de9aba5b69..b6c27e212b7 100755--- a/src/java/org/apache/lucene/search/function/CustomScoreQuery.java+++ b/src/java/org/apache/lucene/search/function/CustomScoreQuery.java@@ -74,9 +74,9 @@ public class CustomScoreQuery extends Query {/*** Create a CustomScoreQuery over input subQuery and a {@link ValueSourceQuery}.- * @param subQuery the sub query whose score is being customed. Must not be null.+ * @param subQuery the sub query whose score is being customized. Must not be null.* @param valSrcQueries value source queries whose scores are used in the custom score- * computation. For most simple/convineient use case these would be+ * computation. For most simple/convenient use case these would be* {@link org.apache.lucene.search.function.FieldScoreQuery FieldScoreQueries}.* This parameter is optional - it can be null or even an empty array.*/diff --git a/src/java/org/apache/lucene/search/function/ValueSourceQuery.java b/src/java/org/apache/lucene/search/function/ValueSourceQuery.javaindex 2455aa1f8eb..0b331c0a485 100644--- a/src/java/org/apache/lucene/search/function/ValueSourceQuery.java+++ b/src/java/org/apache/lucene/search/function/ValueSourceQuery.java@@ -28,7 +28,9 @@ 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>+ * <p>+ * This query provides a score for <em>each and every</em> undeleted document in the index.+ * <p>* 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>