- Javadoc typos fix

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@684406 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2008-08-10 04:09:56 +00:00
parent 78ffc2800f
commit 4d33a23bd2
3 changed files with 4 additions and 6 deletions

View File

@ -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)}.

View File

@ -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.

View File

@ -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;