Apache Lucene open-source search software
update comment about queries silently failing
Mark Robert Miller64e6e196ac4c
diff --git a/lucene/src/java/org/apache/lucene/document/Fieldable.java b/lucene/src/java/org/apache/lucene/document/Fieldable.javaindex 3b48ad53350..3d753d76e91 100755--- a/lucene/src/java/org/apache/lucene/document/Fieldable.java+++ b/lucene/src/java/org/apache/lucene/document/Fieldable.java@@ -206,7 +206,7 @@ public interface Fieldable extends Serializable {* required in the index, it also means any query* requiring positional information, such as {@link* PhraseQuery} or {@link SpanQuery} subclasses will- * silently fail to find results.+ * fail with an exception.*/void setOmitTermFreqAndPositions(boolean omitTermFreqAndPositions);}