From 730a04723ff6d6475ffac9ed1586ced02941fa15 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Mon, 18 Apr 2016 08:51:41 -0400 Subject: [PATCH] don't use DirectPostingsFormat for Legacy geopoint tests: it just uses tons of RAM --- .../lucene/spatial/geopoint/search/TestLegacyGeoPointQuery.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lucene/spatial/src/test/org/apache/lucene/spatial/geopoint/search/TestLegacyGeoPointQuery.java b/lucene/spatial/src/test/org/apache/lucene/spatial/geopoint/search/TestLegacyGeoPointQuery.java index e56e28b0fd4..8766c0e1ce4 100644 --- a/lucene/spatial/src/test/org/apache/lucene/spatial/geopoint/search/TestLegacyGeoPointQuery.java +++ b/lucene/spatial/src/test/org/apache/lucene/spatial/geopoint/search/TestLegacyGeoPointQuery.java @@ -24,12 +24,14 @@ import org.apache.lucene.geo.Polygon; import org.apache.lucene.geo.Rectangle; import org.apache.lucene.spatial.geopoint.document.GeoPointField; import org.apache.lucene.spatial.geopoint.document.GeoPointField.TermEncoding; +import org.apache.lucene.util.LuceneTestCase.SuppressCodecs; /** * random testing for GeoPoint query logic (with deprecated numeric encoding) * @deprecated remove this when TermEncoding.NUMERIC is removed */ @Deprecated +@SuppressCodecs("Direct") // can easily create too many postings and blow direct sky high public class TestLegacyGeoPointQuery extends BaseGeoPointTestCase { @Override