public LuceneWriter(OutputContext output, IndexWriterFactory writerFactory, SearcherFactory searcherFactory)
 {
     _output           = output;
     _writerFactory    = writerFactory;
     _searcherFactory  = searcherFactory;
     _fieldSearchTypes = new FieldSearchTypes(output.Process, output.OutputFields).ToList();
     _primaryKey       = output.Entity.GetPrimaryKey();
 }
 public IndexReaderFactory(DirectoryFactory directoryFactory, IndexWriterFactory writerFactory)
 {
     _directoryFactory = directoryFactory;
     _writerFactory    = writerFactory;
 }