public function testRangeQueryExclusive() { $this->assertEquals('field:{1 TO 2}', $this->helper->rangeQuery('field', 1, 2, false)); $this->assertEquals('store:{45,-94 TO 46,-93}', $this->helper->rangeQuery('store', '45,-94', '46,-93', false)); }
public function testRangeQueryExclusiveNullValues() { $this->assertEquals('field:{1 TO *}', $this->helper->rangeQuery('field', 1, null, false)); $this->assertEquals('store:{* TO 46,-93}', $this->helper->rangeQuery('store', null, '46,-93', false)); }