Apache Lucene open-source search software
doc: warn about sorting by function
Yonik Seeleya0464f402fd8
diff --git a/src/java/org/apache/solr/search/function/ValueSource.java b/src/java/org/apache/solr/search/function/ValueSource.javaindex 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.+ * <br>WARNING: Sorted function queries are not currently weighted.+ * <p>* 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.*/