public Query getQuery() {
   return mainWeight.getQuery();
 }
 protected CachingWeightWrapper(Weight in) {
   super(in.getQuery());
   this.in = in;
 }