コード例 #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;
 }
コード例 #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();
 }
コード例 #3
0
 public SearcherFactory(IndexReaderFactory readerFactory)
 {
     _readerFactory = readerFactory;
 }