Class LuceneAppointmentIndexFactory


  • public class LuceneAppointmentIndexFactory
    extends Object
    • Constructor Detail

      • LuceneAppointmentIndexFactory

        public LuceneAppointmentIndexFactory()
    • Method Detail

      • getIndexWriter

        public org.apache.lucene.index.IndexWriter getIndexWriter​(Boolean bCreateIndex)
        Create the IndexWriter with its configuration
        Parameters:
        bCreateIndex - The boolean which tell if the index must be created
        Returns:
        the created IndexWriter
        Throws:
        IOException - - if there is a low level IO error
      • getDirectory

        public org.apache.lucene.store.Directory getDirectory()
                                                       throws IOException
        Return the Directory to use for the search
        Returns:
        the Directory to use for the search
        Throws:
        IOException - - if the path string cannot be converted to a Path