public LuceneReader(
     IConnectionContext context,
     IEnumerable <Field> fields,
     SearcherFactory searcherFactory,
     Analyzer analyzer,
     IndexReaderFactory readerFactory,
     IRowFactory rowFactory,
     ReadFrom readFrom)
 {
     _context         = context;
     _fields          = fields;
     _searcherFactory = searcherFactory;
     _analyzer        = analyzer;
     _readerFactory   = readerFactory;
     _rowFactory      = rowFactory;
     _readFrom        = readFrom;
 }
Exemple #2
0
 public LuceneOutputController(
     OutputContext context,
     IAction initializer,
     IVersionDetector inputVersionDetector,
     IVersionDetector outputVersionDetector,
     SearcherFactory searcherFactory,
     IndexReaderFactory readerFactory
     ) : base(
         context,
         initializer,
         inputVersionDetector,
         outputVersionDetector
         )
 {
     _searcherFactory = searcherFactory;
     _readerFactory   = readerFactory;
     _stopWatch       = new Stopwatch();
 }
 public SearcherFactory(IndexReaderFactory readerFactory)
 {
     _readerFactory = readerFactory;
 }