Exemplo n.º 1
0
 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;
 }
 public LuceneOutputController(
     OutputContext context,
     IAction initializer,
     IInputProvider inputProvider,
     IOutputProvider outputProvider,
     SearcherFactory searcherFactory,
     IndexReaderFactory readerFactory
     ) : base(
         context,
         initializer,
         inputProvider,
         outputProvider
         )
 {
     _searcherFactory = searcherFactory;
     _readerFactory   = readerFactory;
     _stopWatch       = new Stopwatch();
 }
Exemplo n.º 3
0
 public SearcherFactory(IndexReaderFactory readerFactory)
 {
     _readerFactory = readerFactory;
 }