src/Sherlock/requests/IndexRequest.php
public function index($index)
    {
        $this->params['index'] = array();
        $args                  = func_get_args();
        foreach ($args as $arg) {
            $this->params['index'][] = $arg;
        }

        return $this;
    }
public function index($index)
    {
        $this->params['index'] = array();
        $args                  = func_get_args();
        foreach ($args as $arg) {
            $this->params['index'][] = $arg;
        }

        return $this;
    }
Set the index to operate on

@param  string       $index     indices to operate on
@param  string       $index,... indices to operate on

@return IndexRequest