Class LuceneAppointmentIndexFactory


  • public class LuceneAppointmentIndexFactory
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.apache.lucene.store.Directory getDirectory()
      Return the Directory to use for the search
      org.apache.lucene.index.IndexWriter getIndexWriter​(java.lang.Boolean bCreateIndex)
      Create the IndexWriter with its configuration
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LuceneAppointmentIndexFactory

        public LuceneAppointmentIndexFactory()
    • Method Detail

      • getIndexWriter

        public org.apache.lucene.index.IndexWriter getIndexWriter​(java.lang.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:
        java.io.IOException - - if there is a low level IO error
      • getDirectory

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