Support » Plugin: Search Unleashed » How to add custom Stop Words to Lucene?

  • Hi,
    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?

  • The topic ‘How to add custom Stop Words to Lucene?’ is closed to new replies.