com.mysema.query.lucene.session.impl
Class LuceneSessionFactoryImpl
java.lang.Object
com.mysema.query.lucene.session.impl.LuceneSessionFactoryImpl
- All Implemented Interfaces:
- LuceneSessionFactory
public class LuceneSessionFactoryImpl
- extends Object
- implements LuceneSessionFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneSessionFactoryImpl
public LuceneSessionFactoryImpl(String indexPath)
throws IOException
- Throws:
IOException
LuceneSessionFactoryImpl
public LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory)
LuceneSessionFactoryImpl
public LuceneSessionFactoryImpl(org.apache.lucene.store.Directory directory,
ReleaseListener releaseListener)
getCurrentSession
public LuceneSession getCurrentSession()
- Specified by:
getCurrentSession
in interface LuceneSessionFactory
openSession
public LuceneSession openSession(boolean readOnly)
- Specified by:
openSession
in interface LuceneSessionFactory
getWriter
public LuceneWriterImpl getWriter(boolean createNew)
leaseSearcher
public LuceneSearcher leaseSearcher()
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.