TeamTNT\TNTSearch\TNTSearch::getAllDocumentsForKeyword PHP Method

getAllDocumentsForKeyword() public method

public getAllDocumentsForKeyword ( $keyword, $noLimit = false, $isLastKeyword = false )
    public function getAllDocumentsForKeyword($keyword, $noLimit = false, $isLastKeyword = false)
    {
        $word = $this->getWordlistByKeyword($keyword, $isLastKeyword);
        if (!isset($word[0])) {
            return new Collection([]);
        }
        if ($this->fuzziness) {
            return $this->getAllDocumentsForFuzzyKeyword($word, $noLimit);
        }
        return $this->getAllDocumentsForStrictKeyword($word, $noLimit);
    }