How to add custom Stop Words to Lucene?
I would like to add my own list of stop words to the system.
I went to the following file
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.
- The topic ‘How to add custom Stop Words to Lucene?’ is closed to new replies.