newSlowBoxQuery

fun newSlowBoxQuery(field: String?, minLatitude: Double, maxLatitude: Double, minLongitude: Double, maxLongitude: Double): Query

Create a query for matching a bounding box using doc values. This query is usually slow as it does not use an index structure and needs to verify documents one-by-one in order to know whether they match. It is best used wrapped in an IndexOrDocValuesQuery alongside a LatLonPoint.newBoxQuery.