public override void SetUp()
		{
			base.SetUp();

			root = CreateOneItem<PersistableItem>(1, "The Root Page", null);
			indexer = new IndexerClient(new Configuration.DatabaseSection());
			searcher = new SearcherClient(persister, new Configuration.DatabaseSection());
			extractor = new TextExtractor();
		}
示例#2
0
		public ContentIndexer(IIndexer indexer, TextExtractor extractor)
		{
			this.extractor = extractor;
			this.indexer = indexer;
		}
示例#3
0
		public LuceneIndexer(LuceneAccesor accessor, TextExtractor extractor)
		{
		    this.accessor = accessor;
			this.extractor = extractor;
		}
示例#4
0
 public ContentIndexer(IIndexer indexer, TextExtractor extractor)
 {
     this.extractor = extractor;
     this.indexer   = indexer;
 }