public function getDocuments($index, $limit = 10)
    {
        Assertion::isInstanceOf(
            $index,
            '\Elastica\Index',
            'The given index must be of type \Elastica\Index !'
        );

        if (empty($limit)) {
            $limit = self::ALL_DOCUMENTS;
        }

        $search = new Search($index->getClient());
        $search->addIndex($index);

        $query = new Query(new MatchAll());
        $query->setSize($limit);

        $resultSet = $search->search($query);
        $results = $resultSet->getResults();

        return $this->decorator->denormalizeValue($this->extractData($results));
    }