Save This Page
Home » cocoon-2.1.11-src » org.apache » cocoon » components » search » [javadoc | source]
org.apache.cocoon.components.search
public class: LuceneCocoonHelper [javadoc | source]
java.lang.Object
   org.apache.cocoon.components.search.LuceneCocoonHelper
This class encapsulates some helper methods.
Method from org.apache.cocoon.components.search.LuceneCocoonHelper Summary:
getAnalyzer,   getDirectory,   getIndexReader,   getIndexWriter
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cocoon.components.search.LuceneCocoonHelper Detail:
 public static Analyzer getAnalyzer(String analyzer_class_name) 
    Gets the analyzer attribute of the LuceneCocoonHelper class
 public static Directory getDirectory(File directory,
    boolean create) throws IOException 
    Gets the directory attribute of the LuceneCocoonHelper class
 public static IndexReader getIndexReader(Directory directory) throws IOException 
    Gets the indexReader attribute of the LuceneCocoonHelper class
 public static IndexWriter getIndexWriter(Directory index,
    Analyzer analyzer,
    boolean create) throws IOException 
    Gets the indexWriter attribute of the LuceneCocoonHelper class