コード例 #1
0
ファイル: TestIndex.cs プロジェクト: ic4f/oldcode
        public void SetUp()
        {
            string sourcePath = @"C:\_current\development\data\isr\testindex\source\";
            string indexPath  = @"C:\_current\development\data\isr\testindex\index\";

            i.DataLoader   dataLoader   = new i.DataLoader(sourcePath);
            i.IndexBuilder indexBuilder = new i.IndexBuilder(dataLoader, indexPath);
            indexBuilder.BuildIndex();
            index = new d.Index(indexPath);
        }
コード例 #2
0
 public void SetUp()
 {
     ib = new d.IndexBuilder(
         new d.DataLoader(EnvironmentBuilder.SOURCE_DIRECTORY), EnvironmentBuilder.INDEX_DIRECTORY);
     ib.BuildIndex();
 }