lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r768371 - /lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java
Date Fri, 24 Apr 2009 17:00:39 GMT
Author: markrmiller
Date: Fri Apr 24 17:00:39 2009
New Revision: 768371

URL: http://svn.apache.org/viewvc?rev=768371&view=rev
Log:
put in warning about fvhq not doing auto resolution on the SortFields passed to it

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java?rev=768371&r1=768370&r2=768371&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/FieldValueHitQueue.java Fri Apr 24
17:00:39 2009
@@ -28,6 +28,11 @@
  * Expert: A hit queue for sorting by hits by terms in more than one field.
  * Uses <code>FieldCache.DEFAULT</code> for maintaining
  * internal term lookup tables.
+ * 
+ * This class will not resolve SortField.AUTO types, and expects the type
+ * of all SortFields used for construction to already have been resolved. 
+ * {@link #detectFieldType(IndexReader, String)} is a utility method which
+ * may be used for field type detection.
  *
  * <b>NOTE:</b> This API is experimental and might change in
  * incompatible ways in the next release.



Mime
View raw message