コード例 #1
0
 public override void Run()
 {
     try
     {
         try
         {
             TestCase.TestTermsOneThread(FieldsSource, Options, MaxTestOptions, MaxIndexOptions, AlwaysTestMax);
         }
         catch (Exception t)
         {
             throw new Exception(t.Message, t);
         }
     }
     finally
     {
         FieldsSource = null;
         TestCase = null;
     }
 }
コード例 #2
0
 public TestThread(BasePostingsFormatTestCase testCase, Fields fieldsSource, ISet<Option> options, FieldInfo.IndexOptions maxTestOptions, FieldInfo.IndexOptions maxIndexOptions, bool alwaysTestMax)
 {
     this.FieldsSource = fieldsSource;
     this.Options = options;
     this.MaxTestOptions = maxTestOptions;
     this.MaxIndexOptions = maxIndexOptions;
     this.AlwaysTestMax = alwaysTestMax;
     this.TestCase = testCase;
 }