first commit
This commit is contained in:
@@ -62,7 +62,7 @@ class DefaultResultParser extends AbstractResultParser {
|
||||
}
|
||||
|
||||
foreach ($documents as $searchResult) {
|
||||
$searchResultObject = $this->searchResultBuilder->fromApacheMeilisearchDocument($searchResult);
|
||||
$searchResultObject = $this->searchResultBuilder->fromMeilisearchDocument($searchResult);
|
||||
$searchResults[] = $searchResultObject;
|
||||
}
|
||||
|
||||
|
@@ -42,7 +42,7 @@ class SearchResultBuilder {
|
||||
* @throws \InvalidArgumentException
|
||||
* @return SearchResult
|
||||
*/
|
||||
public function fromApacheMeilisearchDocument(Document $originalDocument)
|
||||
public function fromMeilisearchDocument(Document $originalDocument)
|
||||
{
|
||||
|
||||
$searchResultClassName = $this->getResultClassName();
|
||||
|
@@ -431,7 +431,7 @@ class SearchResultSetService
|
||||
throw new \UnexpectedValueException("Response did not contain a valid Document object");
|
||||
}
|
||||
|
||||
return $this->searchResultBuilder->fromApacheMeilisearchDocument($resultDocument);
|
||||
return $this->searchResultBuilder->fromMeilisearchDocument($resultDocument);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user