lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r684406 - in /lucene/java/trunk/src/java/org/apache/lucene/search/function: CustomScoreQuery.java FieldScoreQuery.java ValueSourceQuery.java
Date Sun, 10 Aug 2008 04:09:56 GMT
Author: otis
Date: Sat Aug  9 21:09:56 2008
New Revision: 684406

URL: http://svn.apache.org/viewvc?rev=684406&view=rev
Log:
- Javadoc typos fix

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/function/CustomScoreQuery.java
    lucene/java/trunk/src/java/org/apache/lucene/search/function/FieldScoreQuery.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=684406&r1=684405&r2=684406&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 Sat
Aug  9 21:09:56 2008
@@ -34,8 +34,8 @@
  * 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)}.

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/function/FieldScoreQuery.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/function/FieldScoreQuery.java?rev=684406&r1=684405&r2=684406&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/function/FieldScoreQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/function/FieldScoreQuery.java Sat
Aug  9 21:09:56 2008
@@ -50,7 +50,7 @@
  * 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.


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=684406&r1=684405&r2=684406&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 Sat
Aug  9 21:09:56 2008
@@ -28,7 +28,7 @@
  * 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 @@
  * 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;



Mime
View raw message