* @return the stream
*/
@Override
public TokenStream tokenStream(final String fieldName, final Reader reader)
{
TokenStream tokenStream = new HTMLStripStandardTokenizerFactory().create(reader);
TokenStream result = new StandardFilter(tokenStream);
result = new LowerCaseFilter(result);
result = new StopFilter(result, StopAnalyzer.ENGLISH_STOP_WORDS);
result = new SynonymTokenFilter(result, SynonymMapFactory.getSynonymMap(), MAX_NUMBER_OF_SYNONYMS);
result = new EnglishPorterFilterFactory().create(result);