com.atlassian.jira.util
Class LuceneUtils

java.lang.Object
  extended bycom.atlassian.jira.util.LuceneUtils

public class LuceneUtils
extends java.lang.Object

A simple utility class for our common Lucene usage methods.


Constructor Summary
LuceneUtils()
           
 
Method Summary
static org.apache.lucene.index.IndexReader getIndexReader(java.lang.String path)
           
static org.apache.lucene.index.IndexWriter getIndexWriter(java.lang.String path, boolean create, org.apache.lucene.analysis.Analyzer analyzer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneUtils

public LuceneUtils()
Method Detail

getIndexReader

public static org.apache.lucene.index.IndexReader getIndexReader(java.lang.String path)
                                                          throws IndexException
Throws:
IndexException

getIndexWriter

public static org.apache.lucene.index.IndexWriter getIndexWriter(java.lang.String path,
                                                                 boolean create,
                                                                 org.apache.lucene.analysis.Analyzer analyzer)
                                                          throws IndexException
Throws:
IndexException


Copyright © 2002-2005 Atlassian. All Rights Reserved.