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;
     }
 }
 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;
 }