The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Search Unleashed
How to add custom Stop Words to Lucene? (1 post)

  1. Dhanu
    Posted 5 years ago #

    I would like to add my own list of stop words to the system.
    I went to the following file /wp-content/plugins/search-unleashed/engines/Zend/Search/Lucene/Analysis/TokenFilter/StopWords.php

    Then I copied the following line (line 27)
    $stopwords = array('the' => 1, 'an' => '1'); and pasted it right before private $_stopSet; in line 44.

    When I try to run a new index it returns a message saying there was an error.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic