degu.index.ejb
Class LuceneIndexDescriptor

java.lang.Object
  extended by degu.index.ejb.LuceneIndexDescriptor

public final class LuceneIndexDescriptor
extends java.lang.Object

Data object which describes a lucene index. Used to ensure that the correct analyzer is used by the IndexReader


Field Summary
private  org.apache.lucene.analysis.Analyzer analyzer
           
private  java.io.File dir
           
 
Constructor Summary
LuceneIndexDescriptor()
           
 
Method Summary
 org.apache.lucene.analysis.Analyzer getAnalyzer()
           
 java.io.File getDir()
           
 void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
           
 void setDir(java.io.File dir)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dir

private java.io.File dir

analyzer

private org.apache.lucene.analysis.Analyzer analyzer
Constructor Detail

LuceneIndexDescriptor

public LuceneIndexDescriptor()
Method Detail

getAnalyzer

public org.apache.lucene.analysis.Analyzer getAnalyzer()

setAnalyzer

public void setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)

getDir

public java.io.File getDir()

setDir

public void setDir(java.io.File dir)