Skip to content

Commit

Permalink
Uncomment unrelated code
Browse files Browse the repository at this point in the history
  • Loading branch information
samwilson committed Sep 28, 2021
1 parent 8925fc2 commit 02c3f9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Build.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
if ($input->getOption('lunr')) {
static::writeln('Building search index...');
$lunrBuilder = new BuildLunrIndex();
// $lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::trimmer');
// $lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::stop_word_filter');
// $lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::stemmer');
$lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::trimmer');
$lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::stop_word_filter');
$lunrBuilder->addPipeline('LunrPHP\LunrDefaultPipelines::stemmer');
$lunrBuilder->ref(Database::COL_NAME_ID);
foreach ($db->getColumns($site) as $column) {
$lunrBuilder->field($column);
Expand Down

0 comments on commit 02c3f9c

Please sign in to comment.