
/*
 * Carrot2 project.
 *
 * Copyright (C) 2002-2006, Dawid Weiss, Stanisław Osiński.
 * Portions (C) Contributors listed in "carrot2.CONTRIBUTORS" file.
 * All rights reserved.
 *
 * Refer to the full license file "carrot2.LICENSE"
 * in the root folder of the repository checkout or at:
 * http://www.carrot2.org/carrot2.LICENSE
 */

package org.carrot2.demo.index;

import java.io.Reader;

import org.apache.lucene.analysis.*;
import org.apache.lucene.analysis.standard.StandardAnalyzer;

/**
 * @author Stanislaw Osinski
 */
public class RawDocumentsLuceneIndexBase
{
    protected static final String [] SEARCH_FIELDS = new String []
    {
        "title", "body"
    };
    
    protected static Analyzer createPorterAnalyzer()
    {
        return new StandardAnalyzer()
        {
            public TokenStream tokenStream(String fieldName, Reader reader)
            {
                return new PorterStemFilter(super
                    .tokenStream(fieldName, reader));
            }
        };
    }
}

@@ -566,34 +566,24 @@
 xBase%0A%7B%0A    
-protected 
 static final

Package scope