From a0464f402fd8082eadfac31de8ec2ccd2205cc9b Mon Sep 17 00:00:00 2001 From: Yonik Seeley Date: Fri, 19 Feb 2010 17:55:07 +0000 Subject: [PATCH] doc: warn about sorting by function git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@911877 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/solr/search/function/ValueSource.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/java/org/apache/solr/search/function/ValueSource.java b/src/java/org/apache/solr/search/function/ValueSource.java index 1d1e985e03f..29f989f3b6a 100644 --- a/src/java/org/apache/solr/search/function/ValueSource.java +++ b/src/java/org/apache/solr/search/function/ValueSource.java @@ -68,10 +68,13 @@ public abstract class ValueSource implements Serializable { } /** + * EXPERIMENTAL: This method is subject to change. + *
WARNING: Sorted function queries are not currently weighted. + *

* Get the SortField for this ValueSource. Uses the {@link #getValues(java.util.Map, org.apache.lucene.index.IndexReader)} * to populate the SortField. * - * @param reverse true if the order should be reversed. + * @param reverse true if this is a reverse sort. * @return The {@link org.apache.lucene.search.SortField} for the ValueSource * @throws IOException if there was a problem reading the values. */