org.hibernate.lucene
Class DocumentBuilder<T>
java.lang.Object
org.hibernate.lucene.DocumentBuilder<T>
public class DocumentBuilder<T>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DocumentBuilder
public DocumentBuilder(Class clazz,
org.apache.lucene.analysis.Analyzer analyzer,
File indexDir)
getDocument
public org.apache.lucene.document.Document getDocument(T instance,
Serializable id)
getTerm
public org.apache.lucene.index.Term getTerm(Serializable id)
getFile
public File getFile()
getAnalyzer
public org.apache.lucene.analysis.Analyzer getAnalyzer()