Skip to content

Commit

Permalink
refactor Searcher to Search
Browse files Browse the repository at this point in the history
  • Loading branch information
sitepark-veltrup committed Mar 22, 2024
1 parent 1a2081d commit 3d819f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Searcher.php → src/Search.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/**
* The service interface for a search with full-text, filter and facet support.
*/
interface Searcher
interface Search
{
public function search(SearchQuery $query): SearchResult;
}
4 changes: 2 additions & 2 deletions src/Service/Search/SolrSearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use Atoolo\Search\Dto\Search\Result\Facet;
use Atoolo\Search\Dto\Search\Result\FacetGroup;
use Atoolo\Search\Dto\Search\Result\SearchResult;
use Atoolo\Search\Searcher;
use Atoolo\Search\Search;
use Atoolo\Search\Service\IndexName;
use Atoolo\Search\Service\SolrClientFactory;
use InvalidArgumentException;
Expand All @@ -31,7 +31,7 @@
/**
* Implementation of the searcher on the basis of a Solr index.
*/
class SolrSearch implements Searcher
class SolrSearch implements Search
{
/**
* @param iterable<SolrQueryModifier> $solrQueryModifierList
Expand Down

0 comments on commit 3d819f0

Please sign in to comment.