mirror of https://github.com/apache/lucene.git
don't use DirectPostingsFormat for Legacy geopoint tests: it just uses tons of RAM
This commit is contained in:
parent
c57db02580
commit
730a04723f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue