Skip to content

Commit

Permalink
Wording into the code of the fulltext query builder.
Browse files Browse the repository at this point in the history
  • Loading branch information
Aurélien FOUCRET committed Jul 12, 2016
1 parent b88a60c commit 183b295
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function create(ContainerConfigurationInterface $containerConfig, $queryT
$fuzzySpellingTypes = [SpellcheckerInterface::SPELLING_TYPE_FUZZY, SpellcheckerInterface::SPELLING_TYPE_MOST_FUZZY];

if ($spellingType == SpellcheckerInterface::SPELLING_TYPE_PURE_STOPWORDS) {
$query = $this->getPurewordsQuery($containerConfig, $queryText, $boost);
$query = $this->getPureStopwordsQuery($containerConfig, $queryText, $boost);
} elseif (in_array($spellingType, $fuzzySpellingTypes)) {
$query = $this->getSpellcheckedQuery($containerConfig, $queryText, $spellingType, $boost);
}
Expand Down Expand Up @@ -147,7 +147,7 @@ private function getWeightedSearchQuery(ContainerConfigurationInterface $contain
*
* @return QueryInterface
*/
private function getPurewordsQuery(ContainerConfigurationInterface $containerConfig, $queryText, $boost)
private function getPureStopwordsQuery(ContainerConfigurationInterface $containerConfig, $queryText, $boost)
{
$relevanceConfig = $containerConfig->getRelevanceConfig();

Expand Down

0 comments on commit 183b295

Please sign in to comment.