public function createSchemaIndex($label, $property, $conn = null)
    {
        $statement = 'CREATE INDEX ON :'.$label.'('.$property.')';
        $this->sendCypherQuery($statement, array(), $conn = null, self::WRITE_QUERY);

        return new Index($label, $property);
    }
public function createSchemaIndex($label, $property, $conn = null)
    {
        $statement = 'CREATE INDEX ON :'.$label.'('.$property.')';
        $this->sendCypherQuery($statement, array(), $conn = null, self::WRITE_QUERY);

        return new Index($label, $property);
    }
public function createSchemaIndex ( $ label , $ property , $ conn = null ) { $ statement = 'CREATE INDEX ON :' . $ label . '(' . $ property . ')' ; $ this -> sendCypherQuery ( $ statement , array ( ) , $ conn = null , self :: WRITE_QUERY ) ; return new Index ( $ label , $ property ) ; }
Creates a Schema Index based on label and property.

@param string $label
@param string $property

@return \Neoxygen\NeoClient\Schema\Index
Creates a Schema Index based on label and property .