Paradox/Client.php
public function createGeoIndex($collection, $fields, $geoJson = null, $constraint = null, $ignoreNull = null)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createGeoIndex($collection, $fields, $geoJson, $constraint, $ignoreNull);
    }
public function createGeoIndex($collection, $fields, $geoJson = null, $constraint = null, $ignoreNull = null)
    {
        return $this->getToolbox($this->_currentConnection)->getCollectionManager()->createGeoIndex($collection, $fields, $geoJson, $constraint, $ignoreNull);
    }
Create a geo index on a collection.
@param  string       $collection The name of the collection.
@param  array|string $fields     An array of 2 fields representing the latitude and longitude, or 1 field representing a list attribute.
@param  boolean      $geoJson    Whether to use geoJson or not.
@param  boolean      $constraint Whether this is a constraint or not.
@param  boolean      $ignoreNull Whether to ignore null.
@link http://www.arangodb.org/manuals/current/IndexGeoHttp.html
@return int          Id of the index created.