mirror of https://github.com/apache/lucene.git
LUCENE-6547: side-step OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f3c02b08a5
commit
b7c1b093dd
|
@ -217,8 +217,8 @@ public class TestGeoPointQuery extends LuceneTestCase {
|
|||
|
||||
@Test
|
||||
public void testGeoDistanceQuery() throws Exception {
|
||||
TopDocs td = geoDistanceQuery(-96.4538113027811, 32.94823588839368, 600000, 20);
|
||||
assertEquals("GeoDistanceQuery failed", 6, td.totalHits);
|
||||
TopDocs td = geoDistanceQuery(-96.4538113027811, 32.94823588839368, 6000, 20);
|
||||
assertEquals("GeoDistanceQuery failed", 1, td.totalHits);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in New Issue