public IndexController(IndexConfiguration configuration, IFrameworkContext frameworkContext) { Configuration = configuration; FrameworkContext = frameworkContext; _manualResetter = new ManualResetEvent(false); Queue = new IndexModificationQueue(); }
public override void TestSetUp() { var serializer = new ServiceStackSerialiser(); _frameworkContext = new FakeFrameworkContext(serializer); _configuration = new IndexConfiguration(GetPathForTest()); var controller = new IndexController(_configuration, _frameworkContext); CacheProvider = new CacheProvider(controller, false); }
public IndexReader(IndexConfiguration indexConfiguration, global::Lucene.Net.Index.IndexReader indexReader) { _indexReader = indexReader; _indexConfiguration = indexConfiguration; }
public TransactionalIndexWorker(IndexConfiguration indexConfiguration, IndexWriter indexWriter) { this._indexConfiguration = indexConfiguration; this._indexWriter = indexWriter; }
public IndexController(IndexConfiguration configuration, Func<IFrameworkContext> frameworkContextGetter) : this(configuration, (IFrameworkContext)null) { _frameworkContextGetter = frameworkContextGetter; }