Apache Lucene open-source search software
modernize javadocs
Robert Muir1a425dc57735
diff --git a/lucene/core/src/java/org/apache/lucene/search/QueryWrapperFilter.java b/lucene/core/src/java/org/apache/lucene/search/QueryWrapperFilter.javaindex 644ac2d5ef9..823b47b4355 100644--- a/lucene/core/src/java/org/apache/lucene/search/QueryWrapperFilter.java+++ b/lucene/core/src/java/org/apache/lucene/search/QueryWrapperFilter.java@@ -26,11 +26,10 @@ import org.apache.lucene.util.Bits;* Constrains search results to only match those which also match a provided* query.*- * <p> This could be used, for example, with a {@link TermRangeQuery} on a suitably+ * <p> This could be used, for example, with a {@link NumericRangeQuery} on a suitably* formatted date field to implement date filtering. One could re-use a single- * QueryFilter that matches, e.g., only documents modified within the last- * week. The QueryFilter and TermRangeQuery would only need to be reconstructed- * once per day.+ * CachingWrapperFilter(QueryWrapperFilter) that matches, e.g., only documents modified+ * within the last week. This would only need to be reconstructed once per day.*/public class QueryWrapperFilter extends Filter {private final Query query;