Zend_Search_Lucene_Analysis_TokenFilter_StopWords::loadFromFile
Fills stopwords set from a text file. Each line contains one stopword, lines with '#' in the first column are ignored (as comments).
You can call this method one or more times. New stopwords are always added to current set.
Signature
public function loadFromFile([string
$filepath = NULL] )
Parameters
$filepath
— string- full path for text file with stopwords
Errors/Exceptions
-
Zend_Search_Exception
- When the file doesn`t exists or is not readable.