lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dor...@apache.org
Subject svn commit: r767283 - in /lucene/java/trunk/src/java/org/apache/lucene/search/function: CustomScoreQuery.java ValueSourceQuery.java
Date Tue, 21 Apr 2009 20:19:55 GMT
Author: doronc
Date: Tue Apr 21 20:19:55 2009
New Revision: 767283

URL: http://svn.apache.org/viewvc?rev=767283&view=rev
Log:
update to search/function javadocs.

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java
    lucene/java/trunk/src/java/org/apache/lucene/search/function/ValueSourceQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java?rev=767283&r1=767282&r2=767283&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java Tue
Apr 21 20:19:55 2009
@@ -74,9 +74,9 @@
 
   /**
    * 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.
    */

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/function/ValueSourceQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/function/ValueSourceQuery.java?rev=767283&r1=767282&r2=767283&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/function/ValueSourceQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/function/ValueSourceQuery.java Tue
Apr 21 20:19:55 2009
@@ -28,7 +28,9 @@
 /**
  * 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>



Mime
View raw message