| java.lang.Object org.apache.cocoon.components.search.LuceneCocoonHelper
LuceneCocoonHelper | public class LuceneCocoonHelper (Code) | | This class encapsulates some helper methods.
author: Bernhard Huber version: CVS $Id: LuceneCocoonHelper.java 433543 2006-08-22 06:22:54Z crossley $ |
getAnalyzer | public static Analyzer getAnalyzer(String analyzer_class_name)(Code) | | Gets the analyzer attribute of the LuceneCocoonHelper class
Parameters: analyzer_class_name - Description of Parameter The analyzer value |
getDirectory | public static Directory getDirectory(File directory, boolean create) throws IOException(Code) | | Gets the directory attribute of the LuceneCocoonHelper class
Parameters: directory - Description of Parameter Parameters: create - Description of Parameter The directory value exception: IOException - Description of Exception |
getIndexReader | public static IndexReader getIndexReader(Directory directory) throws IOException(Code) | | Gets the indexReader attribute of the LuceneCocoonHelper class
Parameters: directory - Description of Parameter The indexReader value exception: IOException - Description of Exception |
getIndexWriter | public static IndexWriter getIndexWriter(Directory index, Analyzer analyzer, boolean create) throws IOException(Code) | | Gets the indexWriter attribute of the LuceneCocoonHelper class
Parameters: index - Description of Parameter Parameters: analyzer - Description of Parameter Parameters: create - Description of Parameter The indexWriter value exception: IOException - Description of Exception |
|
|