Exemple #1
0
 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();
 }
Exemple #2
0
 public IndexReaderFactory(DirectoryFactory directoryFactory, IndexWriterFactory writerFactory)
 {
     _directoryFactory = directoryFactory;
     _writerFactory    = writerFactory;
 }