incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/11] Fixes to the pom file.
Date Thu, 10 Jan 2013 19:49:57 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Document.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Document.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Document.java
index d533c99..014af5a 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Document.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Document.java
@@ -370,14 +370,14 @@ public class Document implements org.apache.thrift.TBase<Document, Document._Fie
           case 1: // FIELDS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
-                struct.fields = new ArrayList<Field>(_list104.size);
-                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
+                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
+                struct.fields = new ArrayList<Field>(_list94.size);
+                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
                 {
-                  Field _elem106; // required
-                  _elem106 = new Field();
-                  _elem106.read(iprot);
-                  struct.fields.add(_elem106);
+                  Field _elem96; // required
+                  _elem96 = new Field();
+                  _elem96.read(iprot);
+                  struct.fields.add(_elem96);
                 }
                 iprot.readListEnd();
               }
@@ -405,9 +405,9 @@ public class Document implements org.apache.thrift.TBase<Document, Document._Fie
         oprot.writeFieldBegin(FIELDS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size()));
-          for (Field _iter107 : struct.fields)
+          for (Field _iter97 : struct.fields)
           {
-            _iter107.write(oprot);
+            _iter97.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -438,9 +438,9 @@ public class Document implements org.apache.thrift.TBase<Document, Document._Fie
       if (struct.isSetFields()) {
         {
           oprot.writeI32(struct.fields.size());
-          for (Field _iter108 : struct.fields)
+          for (Field _iter98 : struct.fields)
           {
-            _iter108.write(oprot);
+            _iter98.write(oprot);
           }
         }
       }
@@ -452,14 +452,14 @@ public class Document implements org.apache.thrift.TBase<Document, Document._Fie
       BitSet incoming = iprot.readBitSet(1);
       if (incoming.get(0)) {
         {
-          org.apache.thrift.protocol.TList _list109 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.fields = new ArrayList<Field>(_list109.size);
-          for (int _i110 = 0; _i110 < _list109.size; ++_i110)
+          org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.fields = new ArrayList<Field>(_list99.size);
+          for (int _i100 = 0; _i100 < _list99.size; ++_i100)
           {
-            Field _elem111; // required
-            _elem111 = new Field();
-            _elem111.read(iprot);
-            struct.fields.add(_elem111);
+            Field _elem101; // required
+            _elem101 = new Field();
+            _elem101.read(iprot);
+            struct.fields.add(_elem101);
           }
         }
         struct.setFieldsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FieldSchema.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FieldSchema.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FieldSchema.java
new file mode 100644
index 0000000..6953ca8
--- /dev/null
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FieldSchema.java
@@ -0,0 +1,760 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.0)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+package org.apache.blur.thrift.generated;
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * The field schema contains the name the type and some simple statistics about the field.
+ */
+public class FieldSchema implements org.apache.thrift.TBase<FieldSchema, FieldSchema._Fields>, java.io.Serializable, Cloneable {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("FieldSchema");
+
+  private static final org.apache.thrift.protocol.TField NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("name", org.apache.thrift.protocol.TType.STRING, (short)1);
+  private static final org.apache.thrift.protocol.TField TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("type", org.apache.thrift.protocol.TType.I32, (short)2);
+  private static final org.apache.thrift.protocol.TField NUMBER_OF_TERMS_ESTIMATE_FIELD_DESC = new org.apache.thrift.protocol.TField("numberOfTermsEstimate", org.apache.thrift.protocol.TType.I64, (short)3);
+  private static final org.apache.thrift.protocol.TField SHARD_EXISTENCE_FIELD_DESC = new org.apache.thrift.protocol.TField("shardExistence", org.apache.thrift.protocol.TType.I32, (short)4);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new FieldSchemaStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new FieldSchemaTupleSchemeFactory());
+  }
+
+  /**
+   * The name of the field.
+   */
+  public String name; // required
+  /**
+   * The type of the field.
+   * 
+   * @see TYPE
+   */
+  public TYPE type; // required
+  /**
+   * This is an estimate of the number of terms present in the index.  This is a naive
+   * estimate, it is a sum of all the terms in each of the segments in each of the shards.
+   */
+  public long numberOfTermsEstimate; // required
+  /**
+   * The number of shards in which this field exists.
+   */
+  public int shardExistence; // required
+
+  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+    /**
+     * The name of the field.
+     */
+    NAME((short)1, "name"),
+    /**
+     * The type of the field.
+     * 
+     * @see TYPE
+     */
+    TYPE((short)2, "type"),
+    /**
+     * This is an estimate of the number of terms present in the index.  This is a naive
+     * estimate, it is a sum of all the terms in each of the segments in each of the shards.
+     */
+    NUMBER_OF_TERMS_ESTIMATE((short)3, "numberOfTermsEstimate"),
+    /**
+     * The number of shards in which this field exists.
+     */
+    SHARD_EXISTENCE((short)4, "shardExistence");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // NAME
+          return NAME;
+        case 2: // TYPE
+          return TYPE;
+        case 3: // NUMBER_OF_TERMS_ESTIMATE
+          return NUMBER_OF_TERMS_ESTIMATE;
+        case 4: // SHARD_EXISTENCE
+          return SHARD_EXISTENCE;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  private static final int __NUMBEROFTERMSESTIMATE_ISSET_ID = 0;
+  private static final int __SHARDEXISTENCE_ISSET_ID = 1;
+  private byte __isset_bitfield = 0;
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.NAME, new org.apache.thrift.meta_data.FieldMetaData("name", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
+    tmpMap.put(_Fields.TYPE, new org.apache.thrift.meta_data.FieldMetaData("type", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TYPE.class)));
+    tmpMap.put(_Fields.NUMBER_OF_TERMS_ESTIMATE, new org.apache.thrift.meta_data.FieldMetaData("numberOfTermsEstimate", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
+    tmpMap.put(_Fields.SHARD_EXISTENCE, new org.apache.thrift.meta_data.FieldMetaData("shardExistence", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(FieldSchema.class, metaDataMap);
+  }
+
+  public FieldSchema() {
+  }
+
+  public FieldSchema(
+    String name,
+    TYPE type,
+    long numberOfTermsEstimate,
+    int shardExistence)
+  {
+    this();
+    this.name = name;
+    this.type = type;
+    this.numberOfTermsEstimate = numberOfTermsEstimate;
+    setNumberOfTermsEstimateIsSet(true);
+    this.shardExistence = shardExistence;
+    setShardExistenceIsSet(true);
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public FieldSchema(FieldSchema other) {
+    __isset_bitfield = other.__isset_bitfield;
+    if (other.isSetName()) {
+      this.name = other.name;
+    }
+    if (other.isSetType()) {
+      this.type = other.type;
+    }
+    this.numberOfTermsEstimate = other.numberOfTermsEstimate;
+    this.shardExistence = other.shardExistence;
+  }
+
+  public FieldSchema deepCopy() {
+    return new FieldSchema(this);
+  }
+
+  @Override
+  public void clear() {
+    this.name = null;
+    this.type = null;
+    setNumberOfTermsEstimateIsSet(false);
+    this.numberOfTermsEstimate = 0;
+    setShardExistenceIsSet(false);
+    this.shardExistence = 0;
+  }
+
+  /**
+   * The name of the field.
+   */
+  public String getName() {
+    return this.name;
+  }
+
+  /**
+   * The name of the field.
+   */
+  public FieldSchema setName(String name) {
+    this.name = name;
+    return this;
+  }
+
+  public void unsetName() {
+    this.name = null;
+  }
+
+  /** Returns true if field name is set (has been assigned a value) and false otherwise */
+  public boolean isSetName() {
+    return this.name != null;
+  }
+
+  public void setNameIsSet(boolean value) {
+    if (!value) {
+      this.name = null;
+    }
+  }
+
+  /**
+   * The type of the field.
+   * 
+   * @see TYPE
+   */
+  public TYPE getType() {
+    return this.type;
+  }
+
+  /**
+   * The type of the field.
+   * 
+   * @see TYPE
+   */
+  public FieldSchema setType(TYPE type) {
+    this.type = type;
+    return this;
+  }
+
+  public void unsetType() {
+    this.type = null;
+  }
+
+  /** Returns true if field type is set (has been assigned a value) and false otherwise */
+  public boolean isSetType() {
+    return this.type != null;
+  }
+
+  public void setTypeIsSet(boolean value) {
+    if (!value) {
+      this.type = null;
+    }
+  }
+
+  /**
+   * This is an estimate of the number of terms present in the index.  This is a naive
+   * estimate, it is a sum of all the terms in each of the segments in each of the shards.
+   */
+  public long getNumberOfTermsEstimate() {
+    return this.numberOfTermsEstimate;
+  }
+
+  /**
+   * This is an estimate of the number of terms present in the index.  This is a naive
+   * estimate, it is a sum of all the terms in each of the segments in each of the shards.
+   */
+  public FieldSchema setNumberOfTermsEstimate(long numberOfTermsEstimate) {
+    this.numberOfTermsEstimate = numberOfTermsEstimate;
+    setNumberOfTermsEstimateIsSet(true);
+    return this;
+  }
+
+  public void unsetNumberOfTermsEstimate() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __NUMBEROFTERMSESTIMATE_ISSET_ID);
+  }
+
+  /** Returns true if field numberOfTermsEstimate is set (has been assigned a value) and false otherwise */
+  public boolean isSetNumberOfTermsEstimate() {
+    return EncodingUtils.testBit(__isset_bitfield, __NUMBEROFTERMSESTIMATE_ISSET_ID);
+  }
+
+  public void setNumberOfTermsEstimateIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __NUMBEROFTERMSESTIMATE_ISSET_ID, value);
+  }
+
+  /**
+   * The number of shards in which this field exists.
+   */
+  public int getShardExistence() {
+    return this.shardExistence;
+  }
+
+  /**
+   * The number of shards in which this field exists.
+   */
+  public FieldSchema setShardExistence(int shardExistence) {
+    this.shardExistence = shardExistence;
+    setShardExistenceIsSet(true);
+    return this;
+  }
+
+  public void unsetShardExistence() {
+    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SHARDEXISTENCE_ISSET_ID);
+  }
+
+  /** Returns true if field shardExistence is set (has been assigned a value) and false otherwise */
+  public boolean isSetShardExistence() {
+    return EncodingUtils.testBit(__isset_bitfield, __SHARDEXISTENCE_ISSET_ID);
+  }
+
+  public void setShardExistenceIsSet(boolean value) {
+    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SHARDEXISTENCE_ISSET_ID, value);
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case NAME:
+      if (value == null) {
+        unsetName();
+      } else {
+        setName((String)value);
+      }
+      break;
+
+    case TYPE:
+      if (value == null) {
+        unsetType();
+      } else {
+        setType((TYPE)value);
+      }
+      break;
+
+    case NUMBER_OF_TERMS_ESTIMATE:
+      if (value == null) {
+        unsetNumberOfTermsEstimate();
+      } else {
+        setNumberOfTermsEstimate((Long)value);
+      }
+      break;
+
+    case SHARD_EXISTENCE:
+      if (value == null) {
+        unsetShardExistence();
+      } else {
+        setShardExistence((Integer)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case NAME:
+      return getName();
+
+    case TYPE:
+      return getType();
+
+    case NUMBER_OF_TERMS_ESTIMATE:
+      return Long.valueOf(getNumberOfTermsEstimate());
+
+    case SHARD_EXISTENCE:
+      return Integer.valueOf(getShardExistence());
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case NAME:
+      return isSetName();
+    case TYPE:
+      return isSetType();
+    case NUMBER_OF_TERMS_ESTIMATE:
+      return isSetNumberOfTermsEstimate();
+    case SHARD_EXISTENCE:
+      return isSetShardExistence();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof FieldSchema)
+      return this.equals((FieldSchema)that);
+    return false;
+  }
+
+  public boolean equals(FieldSchema that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_name = true && this.isSetName();
+    boolean that_present_name = true && that.isSetName();
+    if (this_present_name || that_present_name) {
+      if (!(this_present_name && that_present_name))
+        return false;
+      if (!this.name.equals(that.name))
+        return false;
+    }
+
+    boolean this_present_type = true && this.isSetType();
+    boolean that_present_type = true && that.isSetType();
+    if (this_present_type || that_present_type) {
+      if (!(this_present_type && that_present_type))
+        return false;
+      if (!this.type.equals(that.type))
+        return false;
+    }
+
+    boolean this_present_numberOfTermsEstimate = true;
+    boolean that_present_numberOfTermsEstimate = true;
+    if (this_present_numberOfTermsEstimate || that_present_numberOfTermsEstimate) {
+      if (!(this_present_numberOfTermsEstimate && that_present_numberOfTermsEstimate))
+        return false;
+      if (this.numberOfTermsEstimate != that.numberOfTermsEstimate)
+        return false;
+    }
+
+    boolean this_present_shardExistence = true;
+    boolean that_present_shardExistence = true;
+    if (this_present_shardExistence || that_present_shardExistence) {
+      if (!(this_present_shardExistence && that_present_shardExistence))
+        return false;
+      if (this.shardExistence != that.shardExistence)
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    return 0;
+  }
+
+  public int compareTo(FieldSchema other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+    FieldSchema typedOther = (FieldSchema)other;
+
+    lastComparison = Boolean.valueOf(isSetName()).compareTo(typedOther.isSetName());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetName()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.name, typedOther.name);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetType()).compareTo(typedOther.isSetType());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetType()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.type, typedOther.type);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetNumberOfTermsEstimate()).compareTo(typedOther.isSetNumberOfTermsEstimate());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetNumberOfTermsEstimate()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.numberOfTermsEstimate, typedOther.numberOfTermsEstimate);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    lastComparison = Boolean.valueOf(isSetShardExistence()).compareTo(typedOther.isSetShardExistence());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetShardExistence()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.shardExistence, typedOther.shardExistence);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("FieldSchema(");
+    boolean first = true;
+
+    sb.append("name:");
+    if (this.name == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.name);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("type:");
+    if (this.type == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.type);
+    }
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("numberOfTermsEstimate:");
+    sb.append(this.numberOfTermsEstimate);
+    first = false;
+    if (!first) sb.append(", ");
+    sb.append("shardExistence:");
+    sb.append(this.shardExistence);
+    first = false;
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
+      __isset_bitfield = 0;
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class FieldSchemaStandardSchemeFactory implements SchemeFactory {
+    public FieldSchemaStandardScheme getScheme() {
+      return new FieldSchemaStandardScheme();
+    }
+  }
+
+  private static class FieldSchemaStandardScheme extends StandardScheme<FieldSchema> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, FieldSchema struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // NAME
+            if (schemeField.type == org.apache.thrift.protocol.TType.STRING) {
+              struct.name = iprot.readString();
+              struct.setNameIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 2: // TYPE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.type = TYPE.findByValue(iprot.readI32());
+              struct.setTypeIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 3: // NUMBER_OF_TERMS_ESTIMATE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I64) {
+              struct.numberOfTermsEstimate = iprot.readI64();
+              struct.setNumberOfTermsEstimateIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          case 4: // SHARD_EXISTENCE
+            if (schemeField.type == org.apache.thrift.protocol.TType.I32) {
+              struct.shardExistence = iprot.readI32();
+              struct.setShardExistenceIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+
+      // check for required fields of primitive type, which can't be checked in the validate method
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, FieldSchema struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.name != null) {
+        oprot.writeFieldBegin(NAME_FIELD_DESC);
+        oprot.writeString(struct.name);
+        oprot.writeFieldEnd();
+      }
+      if (struct.type != null) {
+        oprot.writeFieldBegin(TYPE_FIELD_DESC);
+        oprot.writeI32(struct.type.getValue());
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldBegin(NUMBER_OF_TERMS_ESTIMATE_FIELD_DESC);
+      oprot.writeI64(struct.numberOfTermsEstimate);
+      oprot.writeFieldEnd();
+      oprot.writeFieldBegin(SHARD_EXISTENCE_FIELD_DESC);
+      oprot.writeI32(struct.shardExistence);
+      oprot.writeFieldEnd();
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class FieldSchemaTupleSchemeFactory implements SchemeFactory {
+    public FieldSchemaTupleScheme getScheme() {
+      return new FieldSchemaTupleScheme();
+    }
+  }
+
+  private static class FieldSchemaTupleScheme extends TupleScheme<FieldSchema> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, FieldSchema struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      BitSet optionals = new BitSet();
+      if (struct.isSetName()) {
+        optionals.set(0);
+      }
+      if (struct.isSetType()) {
+        optionals.set(1);
+      }
+      if (struct.isSetNumberOfTermsEstimate()) {
+        optionals.set(2);
+      }
+      if (struct.isSetShardExistence()) {
+        optionals.set(3);
+      }
+      oprot.writeBitSet(optionals, 4);
+      if (struct.isSetName()) {
+        oprot.writeString(struct.name);
+      }
+      if (struct.isSetType()) {
+        oprot.writeI32(struct.type.getValue());
+      }
+      if (struct.isSetNumberOfTermsEstimate()) {
+        oprot.writeI64(struct.numberOfTermsEstimate);
+      }
+      if (struct.isSetShardExistence()) {
+        oprot.writeI32(struct.shardExistence);
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, FieldSchema struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      BitSet incoming = iprot.readBitSet(4);
+      if (incoming.get(0)) {
+        struct.name = iprot.readString();
+        struct.setNameIsSet(true);
+      }
+      if (incoming.get(1)) {
+        struct.type = TYPE.findByValue(iprot.readI32());
+        struct.setTypeIsSet(true);
+      }
+      if (incoming.get(2)) {
+        struct.numberOfTermsEstimate = iprot.readI64();
+        struct.setNumberOfTermsEstimateIsSet(true);
+      }
+      if (incoming.get(3)) {
+        struct.shardExistence = iprot.readI32();
+        struct.setShardExistenceIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/QueryArgs.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/QueryArgs.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/QueryArgs.java
index 46451f0..2989759 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/QueryArgs.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/QueryArgs.java
@@ -1282,13 +1282,13 @@ public class QueryArgs implements org.apache.thrift.TBase<QueryArgs, QueryArgs._
           case 10: // SHARD_INDEXES
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list80 = iprot.readListBegin();
-                struct.shardIndexes = new ArrayList<Integer>(_list80.size);
-                for (int _i81 = 0; _i81 < _list80.size; ++_i81)
+                org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
+                struct.shardIndexes = new ArrayList<Integer>(_list70.size);
+                for (int _i71 = 0; _i71 < _list70.size; ++_i71)
                 {
-                  int _elem82; // required
-                  _elem82 = iprot.readI32();
-                  struct.shardIndexes.add(_elem82);
+                  int _elem72; // required
+                  _elem72 = iprot.readI32();
+                  struct.shardIndexes.add(_elem72);
                 }
                 iprot.readListEnd();
               }
@@ -1351,9 +1351,9 @@ public class QueryArgs implements org.apache.thrift.TBase<QueryArgs, QueryArgs._
         oprot.writeFieldBegin(SHARD_INDEXES_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.shardIndexes.size()));
-          for (int _iter83 : struct.shardIndexes)
+          for (int _iter73 : struct.shardIndexes)
           {
-            oprot.writeI32(_iter83);
+            oprot.writeI32(_iter73);
           }
           oprot.writeListEnd();
         }
@@ -1438,9 +1438,9 @@ public class QueryArgs implements org.apache.thrift.TBase<QueryArgs, QueryArgs._
       if (struct.isSetShardIndexes()) {
         {
           oprot.writeI32(struct.shardIndexes.size());
-          for (int _iter84 : struct.shardIndexes)
+          for (int _iter74 : struct.shardIndexes)
           {
-            oprot.writeI32(_iter84);
+            oprot.writeI32(_iter74);
           }
         }
       }
@@ -1491,13 +1491,13 @@ public class QueryArgs implements org.apache.thrift.TBase<QueryArgs, QueryArgs._
       }
       if (incoming.get(9)) {
         {
-          org.apache.thrift.protocol.TList _list85 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
-          struct.shardIndexes = new ArrayList<Integer>(_list85.size);
-          for (int _i86 = 0; _i86 < _list85.size; ++_i86)
+          org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
+          struct.shardIndexes = new ArrayList<Integer>(_list75.size);
+          for (int _i76 = 0; _i76 < _list75.size; ++_i76)
           {
-            int _elem87; // required
-            _elem87 = iprot.readI32();
-            struct.shardIndexes.add(_elem87);
+            int _elem77; // required
+            _elem77 = iprot.readI32();
+            struct.shardIndexes.add(_elem77);
           }
         }
         struct.setShardIndexesIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ScoreDoc.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ScoreDoc.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ScoreDoc.java
index a0592bd..a440de6 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ScoreDoc.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ScoreDoc.java
@@ -526,13 +526,13 @@ public class ScoreDoc implements org.apache.thrift.TBase<ScoreDoc, ScoreDoc._Fie
           case 4: // FIELDS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list72 = iprot.readListBegin();
-                struct.fields = new ArrayList<ByteBuffer>(_list72.size);
-                for (int _i73 = 0; _i73 < _list72.size; ++_i73)
+                org.apache.thrift.protocol.TList _list62 = iprot.readListBegin();
+                struct.fields = new ArrayList<ByteBuffer>(_list62.size);
+                for (int _i63 = 0; _i63 < _list62.size; ++_i63)
                 {
-                  ByteBuffer _elem74; // required
-                  _elem74 = iprot.readBinary();
-                  struct.fields.add(_elem74);
+                  ByteBuffer _elem64; // required
+                  _elem64 = iprot.readBinary();
+                  struct.fields.add(_elem64);
                 }
                 iprot.readListEnd();
               }
@@ -566,9 +566,9 @@ public class ScoreDoc implements org.apache.thrift.TBase<ScoreDoc, ScoreDoc._Fie
         oprot.writeFieldBegin(FIELDS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fields.size()));
-          for (ByteBuffer _iter75 : struct.fields)
+          for (ByteBuffer _iter65 : struct.fields)
           {
-            oprot.writeBinary(_iter75);
+            oprot.writeBinary(_iter65);
           }
           oprot.writeListEnd();
         }
@@ -611,9 +611,9 @@ public class ScoreDoc implements org.apache.thrift.TBase<ScoreDoc, ScoreDoc._Fie
       if (struct.isSetFields()) {
         {
           oprot.writeI32(struct.fields.size());
-          for (ByteBuffer _iter76 : struct.fields)
+          for (ByteBuffer _iter66 : struct.fields)
           {
-            oprot.writeBinary(_iter76);
+            oprot.writeBinary(_iter66);
           }
         }
       }
@@ -633,13 +633,13 @@ public class ScoreDoc implements org.apache.thrift.TBase<ScoreDoc, ScoreDoc._Fie
       }
       if (incoming.get(2)) {
         {
-          org.apache.thrift.protocol.TList _list77 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.fields = new ArrayList<ByteBuffer>(_list77.size);
-          for (int _i78 = 0; _i78 < _list77.size; ++_i78)
+          org.apache.thrift.protocol.TList _list67 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+          struct.fields = new ArrayList<ByteBuffer>(_list67.size);
+          for (int _i68 = 0; _i68 < _list67.size; ++_i68)
           {
-            ByteBuffer _elem79; // required
-            _elem79 = iprot.readBinary();
-            struct.fields.add(_elem79);
+            ByteBuffer _elem69; // required
+            _elem69 = iprot.readBinary();
+            struct.fields.add(_elem69);
           }
         }
         struct.setFieldsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ShardLayout.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ShardLayout.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ShardLayout.java
index f4c359e..04ab0c0 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ShardLayout.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ShardLayout.java
@@ -467,13 +467,13 @@ public class ShardLayout implements org.apache.thrift.TBase<ShardLayout, ShardLa
           case 2: // SHARDS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list120 = iprot.readListBegin();
-                struct.shards = new ArrayList<Integer>(_list120.size);
-                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
+                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
+                struct.shards = new ArrayList<Integer>(_list110.size);
+                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
                 {
-                  int _elem122; // required
-                  _elem122 = iprot.readI32();
-                  struct.shards.add(_elem122);
+                  int _elem112; // required
+                  _elem112 = iprot.readI32();
+                  struct.shards.add(_elem112);
                 }
                 iprot.readListEnd();
               }
@@ -506,9 +506,9 @@ public class ShardLayout implements org.apache.thrift.TBase<ShardLayout, ShardLa
         oprot.writeFieldBegin(SHARDS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.shards.size()));
-          for (int _iter123 : struct.shards)
+          for (int _iter113 : struct.shards)
           {
-            oprot.writeI32(_iter123);
+            oprot.writeI32(_iter113);
           }
           oprot.writeListEnd();
         }
@@ -545,9 +545,9 @@ public class ShardLayout implements org.apache.thrift.TBase<ShardLayout, ShardLa
       if (struct.isSetShards()) {
         {
           oprot.writeI32(struct.shards.size());
-          for (int _iter124 : struct.shards)
+          for (int _iter114 : struct.shards)
           {
-            oprot.writeI32(_iter124);
+            oprot.writeI32(_iter114);
           }
         }
       }
@@ -563,13 +563,13 @@ public class ShardLayout implements org.apache.thrift.TBase<ShardLayout, ShardLa
       }
       if (incoming.get(1)) {
         {
-          org.apache.thrift.protocol.TList _list125 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
-          struct.shards = new ArrayList<Integer>(_list125.size);
-          for (int _i126 = 0; _i126 < _list125.size; ++_i126)
+          org.apache.thrift.protocol.TList _list115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32());
+          struct.shards = new ArrayList<Integer>(_list115.size);
+          for (int _i116 = 0; _i116 < _list115.size; ++_i116)
           {
-            int _elem127; // required
-            _elem127 = iprot.readI32();
-            struct.shards.add(_elem127);
+            int _elem117; // required
+            _elem117 = iprot.readI32();
+            struct.shards.add(_elem117);
           }
         }
         struct.setShardsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Sort.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Sort.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Sort.java
index 3dcf8b9..d8647f5 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Sort.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Sort.java
@@ -358,14 +358,14 @@ public class Sort implements org.apache.thrift.TBase<Sort, Sort._Fields>, java.i
           case 1: // FIELDS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list64 = iprot.readListBegin();
-                struct.fields = new ArrayList<SortField>(_list64.size);
-                for (int _i65 = 0; _i65 < _list64.size; ++_i65)
+                org.apache.thrift.protocol.TList _list54 = iprot.readListBegin();
+                struct.fields = new ArrayList<SortField>(_list54.size);
+                for (int _i55 = 0; _i55 < _list54.size; ++_i55)
                 {
-                  SortField _elem66; // required
-                  _elem66 = new SortField();
-                  _elem66.read(iprot);
-                  struct.fields.add(_elem66);
+                  SortField _elem56; // required
+                  _elem56 = new SortField();
+                  _elem56.read(iprot);
+                  struct.fields.add(_elem56);
                 }
                 iprot.readListEnd();
               }
@@ -393,9 +393,9 @@ public class Sort implements org.apache.thrift.TBase<Sort, Sort._Fields>, java.i
         oprot.writeFieldBegin(FIELDS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size()));
-          for (SortField _iter67 : struct.fields)
+          for (SortField _iter57 : struct.fields)
           {
-            _iter67.write(oprot);
+            _iter57.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -426,9 +426,9 @@ public class Sort implements org.apache.thrift.TBase<Sort, Sort._Fields>, java.i
       if (struct.isSetFields()) {
         {
           oprot.writeI32(struct.fields.size());
-          for (SortField _iter68 : struct.fields)
+          for (SortField _iter58 : struct.fields)
           {
-            _iter68.write(oprot);
+            _iter58.write(oprot);
           }
         }
       }
@@ -440,14 +440,14 @@ public class Sort implements org.apache.thrift.TBase<Sort, Sort._Fields>, java.i
       BitSet incoming = iprot.readBitSet(1);
       if (incoming.get(0)) {
         {
-          org.apache.thrift.protocol.TList _list69 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.fields = new ArrayList<SortField>(_list69.size);
-          for (int _i70 = 0; _i70 < _list69.size; ++_i70)
+          org.apache.thrift.protocol.TList _list59 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.fields = new ArrayList<SortField>(_list59.size);
+          for (int _i60 = 0; _i60 < _list59.size; ++_i60)
           {
-            SortField _elem71; // required
-            _elem71 = new SortField();
-            _elem71.read(iprot);
-            struct.fields.add(_elem71);
+            SortField _elem61; // required
+            _elem61 = new SortField();
+            _elem61.read(iprot);
+            struct.fields.add(_elem61);
           }
         }
         struct.setFieldsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
index 0776df6..e5a267a 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableDescriptor.java
@@ -1074,15 +1074,15 @@ public class TableDescriptor implements org.apache.thrift.TBase<TableDescriptor,
           case 8: // PROPERTIES
             if (schemeField.type == org.apache.thrift.protocol.TType.MAP) {
               {
-                org.apache.thrift.protocol.TMap _map54 = iprot.readMapBegin();
-                struct.properties = new HashMap<String,String>(2*_map54.size);
-                for (int _i55 = 0; _i55 < _map54.size; ++_i55)
+                org.apache.thrift.protocol.TMap _map44 = iprot.readMapBegin();
+                struct.properties = new HashMap<String,String>(2*_map44.size);
+                for (int _i45 = 0; _i45 < _map44.size; ++_i45)
                 {
-                  String _key56; // required
-                  String _val57; // optional
-                  _key56 = iprot.readString();
-                  _val57 = iprot.readString();
-                  struct.properties.put(_key56, _val57);
+                  String _key46; // required
+                  String _val47; // optional
+                  _key46 = iprot.readString();
+                  _val47 = iprot.readString();
+                  struct.properties.put(_key46, _val47);
                 }
                 iprot.readMapEnd();
               }
@@ -1139,10 +1139,10 @@ public class TableDescriptor implements org.apache.thrift.TBase<TableDescriptor,
         oprot.writeFieldBegin(PROPERTIES_FIELD_DESC);
         {
           oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size()));
-          for (Map.Entry<String, String> _iter58 : struct.properties.entrySet())
+          for (Map.Entry<String, String> _iter48 : struct.properties.entrySet())
           {
-            oprot.writeString(_iter58.getKey());
-            oprot.writeString(_iter58.getValue());
+            oprot.writeString(_iter48.getKey());
+            oprot.writeString(_iter48.getValue());
           }
           oprot.writeMapEnd();
         }
@@ -1215,10 +1215,10 @@ public class TableDescriptor implements org.apache.thrift.TBase<TableDescriptor,
       if (struct.isSetProperties()) {
         {
           oprot.writeI32(struct.properties.size());
-          for (Map.Entry<String, String> _iter59 : struct.properties.entrySet())
+          for (Map.Entry<String, String> _iter49 : struct.properties.entrySet())
           {
-            oprot.writeString(_iter59.getKey());
-            oprot.writeString(_iter59.getValue());
+            oprot.writeString(_iter49.getKey());
+            oprot.writeString(_iter49.getValue());
           }
         }
       }
@@ -1259,15 +1259,15 @@ public class TableDescriptor implements org.apache.thrift.TBase<TableDescriptor,
       }
       if (incoming.get(7)) {
         {
-          org.apache.thrift.protocol.TMap _map60 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
-          struct.properties = new HashMap<String,String>(2*_map60.size);
-          for (int _i61 = 0; _i61 < _map60.size; ++_i61)
+          org.apache.thrift.protocol.TMap _map50 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32());
+          struct.properties = new HashMap<String,String>(2*_map50.size);
+          for (int _i51 = 0; _i51 < _map50.size; ++_i51)
           {
-            String _key62; // required
-            String _val63; // optional
-            _key62 = iprot.readString();
-            _val63 = iprot.readString();
-            struct.properties.put(_key62, _val63);
+            String _key52; // required
+            String _val53; // optional
+            _key52 = iprot.readString();
+            _val53 = iprot.readString();
+            struct.properties.put(_key52, _val53);
           }
         }
         struct.setPropertiesIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableSchema.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableSchema.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableSchema.java
new file mode 100644
index 0000000..bb04c34
--- /dev/null
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TableSchema.java
@@ -0,0 +1,474 @@
+/**
+ * Autogenerated by Thrift Compiler (0.9.0)
+ *
+ * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
+ *  @generated
+ */
+package org.apache.blur.thrift.generated;
+
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+
+
+import org.apache.thrift.scheme.IScheme;
+import org.apache.thrift.scheme.SchemeFactory;
+import org.apache.thrift.scheme.StandardScheme;
+
+import org.apache.thrift.scheme.TupleScheme;
+import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
+import org.apache.thrift.EncodingUtils;
+import org.apache.thrift.TException;
+import java.util.List;
+import java.util.ArrayList;
+import java.util.Map;
+import java.util.HashMap;
+import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
+import java.util.EnumSet;
+import java.util.Collections;
+import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+/**
+ * TableSchema contains field information that describes the a table.
+ */
+public class TableSchema implements org.apache.thrift.TBase<TableSchema, TableSchema._Fields>, java.io.Serializable, Cloneable {
+  private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TableSchema");
+
+  private static final org.apache.thrift.protocol.TField FIELDS_FIELD_DESC = new org.apache.thrift.protocol.TField("fields", org.apache.thrift.protocol.TType.LIST, (short)1);
+
+  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
+  static {
+    schemes.put(StandardScheme.class, new TableSchemaStandardSchemeFactory());
+    schemes.put(TupleScheme.class, new TableSchemaTupleSchemeFactory());
+  }
+
+  /**
+   * List of field information for a table.
+   */
+  public List<FieldSchema> fields; // required
+
+  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
+  public enum _Fields implements org.apache.thrift.TFieldIdEnum {
+    /**
+     * List of field information for a table.
+     */
+    FIELDS((short)1, "fields");
+
+    private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
+
+    static {
+      for (_Fields field : EnumSet.allOf(_Fields.class)) {
+        byName.put(field.getFieldName(), field);
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, or null if its not found.
+     */
+    public static _Fields findByThriftId(int fieldId) {
+      switch(fieldId) {
+        case 1: // FIELDS
+          return FIELDS;
+        default:
+          return null;
+      }
+    }
+
+    /**
+     * Find the _Fields constant that matches fieldId, throwing an exception
+     * if it is not found.
+     */
+    public static _Fields findByThriftIdOrThrow(int fieldId) {
+      _Fields fields = findByThriftId(fieldId);
+      if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
+      return fields;
+    }
+
+    /**
+     * Find the _Fields constant that matches name, or null if its not found.
+     */
+    public static _Fields findByName(String name) {
+      return byName.get(name);
+    }
+
+    private final short _thriftId;
+    private final String _fieldName;
+
+    _Fields(short thriftId, String fieldName) {
+      _thriftId = thriftId;
+      _fieldName = fieldName;
+    }
+
+    public short getThriftFieldId() {
+      return _thriftId;
+    }
+
+    public String getFieldName() {
+      return _fieldName;
+    }
+  }
+
+  // isset id assignments
+  public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
+  static {
+    Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
+    tmpMap.put(_Fields.FIELDS, new org.apache.thrift.meta_data.FieldMetaData("fields", org.apache.thrift.TFieldRequirementType.DEFAULT, 
+        new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
+            new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FieldSchema.class))));
+    metaDataMap = Collections.unmodifiableMap(tmpMap);
+    org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TableSchema.class, metaDataMap);
+  }
+
+  public TableSchema() {
+  }
+
+  public TableSchema(
+    List<FieldSchema> fields)
+  {
+    this();
+    this.fields = fields;
+  }
+
+  /**
+   * Performs a deep copy on <i>other</i>.
+   */
+  public TableSchema(TableSchema other) {
+    if (other.isSetFields()) {
+      List<FieldSchema> __this__fields = new ArrayList<FieldSchema>();
+      for (FieldSchema other_element : other.fields) {
+        __this__fields.add(new FieldSchema(other_element));
+      }
+      this.fields = __this__fields;
+    }
+  }
+
+  public TableSchema deepCopy() {
+    return new TableSchema(this);
+  }
+
+  @Override
+  public void clear() {
+    this.fields = null;
+  }
+
+  public int getFieldsSize() {
+    return (this.fields == null) ? 0 : this.fields.size();
+  }
+
+  public java.util.Iterator<FieldSchema> getFieldsIterator() {
+    return (this.fields == null) ? null : this.fields.iterator();
+  }
+
+  public void addToFields(FieldSchema elem) {
+    if (this.fields == null) {
+      this.fields = new ArrayList<FieldSchema>();
+    }
+    this.fields.add(elem);
+  }
+
+  /**
+   * List of field information for a table.
+   */
+  public List<FieldSchema> getFields() {
+    return this.fields;
+  }
+
+  /**
+   * List of field information for a table.
+   */
+  public TableSchema setFields(List<FieldSchema> fields) {
+    this.fields = fields;
+    return this;
+  }
+
+  public void unsetFields() {
+    this.fields = null;
+  }
+
+  /** Returns true if field fields is set (has been assigned a value) and false otherwise */
+  public boolean isSetFields() {
+    return this.fields != null;
+  }
+
+  public void setFieldsIsSet(boolean value) {
+    if (!value) {
+      this.fields = null;
+    }
+  }
+
+  public void setFieldValue(_Fields field, Object value) {
+    switch (field) {
+    case FIELDS:
+      if (value == null) {
+        unsetFields();
+      } else {
+        setFields((List<FieldSchema>)value);
+      }
+      break;
+
+    }
+  }
+
+  public Object getFieldValue(_Fields field) {
+    switch (field) {
+    case FIELDS:
+      return getFields();
+
+    }
+    throw new IllegalStateException();
+  }
+
+  /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
+  public boolean isSet(_Fields field) {
+    if (field == null) {
+      throw new IllegalArgumentException();
+    }
+
+    switch (field) {
+    case FIELDS:
+      return isSetFields();
+    }
+    throw new IllegalStateException();
+  }
+
+  @Override
+  public boolean equals(Object that) {
+    if (that == null)
+      return false;
+    if (that instanceof TableSchema)
+      return this.equals((TableSchema)that);
+    return false;
+  }
+
+  public boolean equals(TableSchema that) {
+    if (that == null)
+      return false;
+
+    boolean this_present_fields = true && this.isSetFields();
+    boolean that_present_fields = true && that.isSetFields();
+    if (this_present_fields || that_present_fields) {
+      if (!(this_present_fields && that_present_fields))
+        return false;
+      if (!this.fields.equals(that.fields))
+        return false;
+    }
+
+    return true;
+  }
+
+  @Override
+  public int hashCode() {
+    return 0;
+  }
+
+  public int compareTo(TableSchema other) {
+    if (!getClass().equals(other.getClass())) {
+      return getClass().getName().compareTo(other.getClass().getName());
+    }
+
+    int lastComparison = 0;
+    TableSchema typedOther = (TableSchema)other;
+
+    lastComparison = Boolean.valueOf(isSetFields()).compareTo(typedOther.isSetFields());
+    if (lastComparison != 0) {
+      return lastComparison;
+    }
+    if (isSetFields()) {
+      lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.fields, typedOther.fields);
+      if (lastComparison != 0) {
+        return lastComparison;
+      }
+    }
+    return 0;
+  }
+
+  public _Fields fieldForId(int fieldId) {
+    return _Fields.findByThriftId(fieldId);
+  }
+
+  public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
+    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
+  }
+
+  public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
+    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
+  }
+
+  @Override
+  public String toString() {
+    StringBuilder sb = new StringBuilder("TableSchema(");
+    boolean first = true;
+
+    sb.append("fields:");
+    if (this.fields == null) {
+      sb.append("null");
+    } else {
+      sb.append(this.fields);
+    }
+    first = false;
+    sb.append(")");
+    return sb.toString();
+  }
+
+  public void validate() throws org.apache.thrift.TException {
+    // check for required fields
+    // check for sub-struct validity
+  }
+
+  private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
+    try {
+      write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
+    try {
+      read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
+    } catch (org.apache.thrift.TException te) {
+      throw new java.io.IOException(te);
+    }
+  }
+
+  private static class TableSchemaStandardSchemeFactory implements SchemeFactory {
+    public TableSchemaStandardScheme getScheme() {
+      return new TableSchemaStandardScheme();
+    }
+  }
+
+  private static class TableSchemaStandardScheme extends StandardScheme<TableSchema> {
+
+    public void read(org.apache.thrift.protocol.TProtocol iprot, TableSchema struct) throws org.apache.thrift.TException {
+      org.apache.thrift.protocol.TField schemeField;
+      iprot.readStructBegin();
+      while (true)
+      {
+        schemeField = iprot.readFieldBegin();
+        if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { 
+          break;
+        }
+        switch (schemeField.id) {
+          case 1: // FIELDS
+            if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
+              {
+                org.apache.thrift.protocol.TList _list10 = iprot.readListBegin();
+                struct.fields = new ArrayList<FieldSchema>(_list10.size);
+                for (int _i11 = 0; _i11 < _list10.size; ++_i11)
+                {
+                  FieldSchema _elem12; // required
+                  _elem12 = new FieldSchema();
+                  _elem12.read(iprot);
+                  struct.fields.add(_elem12);
+                }
+                iprot.readListEnd();
+              }
+              struct.setFieldsIsSet(true);
+            } else { 
+              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+            }
+            break;
+          default:
+            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type);
+        }
+        iprot.readFieldEnd();
+      }
+      iprot.readStructEnd();
+
+      // check for required fields of primitive type, which can't be checked in the validate method
+      struct.validate();
+    }
+
+    public void write(org.apache.thrift.protocol.TProtocol oprot, TableSchema struct) throws org.apache.thrift.TException {
+      struct.validate();
+
+      oprot.writeStructBegin(STRUCT_DESC);
+      if (struct.fields != null) {
+        oprot.writeFieldBegin(FIELDS_FIELD_DESC);
+        {
+          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size()));
+          for (FieldSchema _iter13 : struct.fields)
+          {
+            _iter13.write(oprot);
+          }
+          oprot.writeListEnd();
+        }
+        oprot.writeFieldEnd();
+      }
+      oprot.writeFieldStop();
+      oprot.writeStructEnd();
+    }
+
+  }
+
+  private static class TableSchemaTupleSchemeFactory implements SchemeFactory {
+    public TableSchemaTupleScheme getScheme() {
+      return new TableSchemaTupleScheme();
+    }
+  }
+
+  private static class TableSchemaTupleScheme extends TupleScheme<TableSchema> {
+
+    @Override
+    public void write(org.apache.thrift.protocol.TProtocol prot, TableSchema struct) throws org.apache.thrift.TException {
+      TTupleProtocol oprot = (TTupleProtocol) prot;
+      BitSet optionals = new BitSet();
+      if (struct.isSetFields()) {
+        optionals.set(0);
+      }
+      oprot.writeBitSet(optionals, 1);
+      if (struct.isSetFields()) {
+        {
+          oprot.writeI32(struct.fields.size());
+          for (FieldSchema _iter14 : struct.fields)
+          {
+            _iter14.write(oprot);
+          }
+        }
+      }
+    }
+
+    @Override
+    public void read(org.apache.thrift.protocol.TProtocol prot, TableSchema struct) throws org.apache.thrift.TException {
+      TTupleProtocol iprot = (TTupleProtocol) prot;
+      BitSet incoming = iprot.readBitSet(1);
+      if (incoming.get(0)) {
+        {
+          org.apache.thrift.protocol.TList _list15 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.fields = new ArrayList<FieldSchema>(_list15.size);
+          for (int _i16 = 0; _i16 < _list15.size; ++_i16)
+          {
+            FieldSchema _elem17; // required
+            _elem17 = new FieldSchema();
+            _elem17.read(iprot);
+            struct.fields.add(_elem17);
+          }
+        }
+        struct.setFieldsIsSet(true);
+      }
+    }
+  }
+
+}
+

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TopFieldDocs.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TopFieldDocs.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TopFieldDocs.java
index 8fa57e0..9c68b18 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TopFieldDocs.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/TopFieldDocs.java
@@ -694,14 +694,14 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
           case 3: // SCORE_DOCS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list88 = iprot.readListBegin();
-                struct.scoreDocs = new ArrayList<ScoreDoc>(_list88.size);
-                for (int _i89 = 0; _i89 < _list88.size; ++_i89)
+                org.apache.thrift.protocol.TList _list78 = iprot.readListBegin();
+                struct.scoreDocs = new ArrayList<ScoreDoc>(_list78.size);
+                for (int _i79 = 0; _i79 < _list78.size; ++_i79)
                 {
-                  ScoreDoc _elem90; // required
-                  _elem90 = new ScoreDoc();
-                  _elem90.read(iprot);
-                  struct.scoreDocs.add(_elem90);
+                  ScoreDoc _elem80; // required
+                  _elem80 = new ScoreDoc();
+                  _elem80.read(iprot);
+                  struct.scoreDocs.add(_elem80);
                 }
                 iprot.readListEnd();
               }
@@ -721,14 +721,14 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
           case 5: // FIELDS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list91 = iprot.readListBegin();
-                struct.fields = new ArrayList<SortField>(_list91.size);
-                for (int _i92 = 0; _i92 < _list91.size; ++_i92)
+                org.apache.thrift.protocol.TList _list81 = iprot.readListBegin();
+                struct.fields = new ArrayList<SortField>(_list81.size);
+                for (int _i82 = 0; _i82 < _list81.size; ++_i82)
                 {
-                  SortField _elem93; // required
-                  _elem93 = new SortField();
-                  _elem93.read(iprot);
-                  struct.fields.add(_elem93);
+                  SortField _elem83; // required
+                  _elem83 = new SortField();
+                  _elem83.read(iprot);
+                  struct.fields.add(_elem83);
                 }
                 iprot.readListEnd();
               }
@@ -762,9 +762,9 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
         oprot.writeFieldBegin(SCORE_DOCS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.scoreDocs.size()));
-          for (ScoreDoc _iter94 : struct.scoreDocs)
+          for (ScoreDoc _iter84 : struct.scoreDocs)
           {
-            _iter94.write(oprot);
+            _iter84.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -777,9 +777,9 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
         oprot.writeFieldBegin(FIELDS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size()));
-          for (SortField _iter95 : struct.fields)
+          for (SortField _iter85 : struct.fields)
           {
-            _iter95.write(oprot);
+            _iter85.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -828,9 +828,9 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
       if (struct.isSetScoreDocs()) {
         {
           oprot.writeI32(struct.scoreDocs.size());
-          for (ScoreDoc _iter96 : struct.scoreDocs)
+          for (ScoreDoc _iter86 : struct.scoreDocs)
           {
-            _iter96.write(oprot);
+            _iter86.write(oprot);
           }
         }
       }
@@ -840,9 +840,9 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
       if (struct.isSetFields()) {
         {
           oprot.writeI32(struct.fields.size());
-          for (SortField _iter97 : struct.fields)
+          for (SortField _iter87 : struct.fields)
           {
-            _iter97.write(oprot);
+            _iter87.write(oprot);
           }
         }
       }
@@ -862,14 +862,14 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
       }
       if (incoming.get(2)) {
         {
-          org.apache.thrift.protocol.TList _list98 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.scoreDocs = new ArrayList<ScoreDoc>(_list98.size);
-          for (int _i99 = 0; _i99 < _list98.size; ++_i99)
+          org.apache.thrift.protocol.TList _list88 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.scoreDocs = new ArrayList<ScoreDoc>(_list88.size);
+          for (int _i89 = 0; _i89 < _list88.size; ++_i89)
           {
-            ScoreDoc _elem100; // required
-            _elem100 = new ScoreDoc();
-            _elem100.read(iprot);
-            struct.scoreDocs.add(_elem100);
+            ScoreDoc _elem90; // required
+            _elem90 = new ScoreDoc();
+            _elem90.read(iprot);
+            struct.scoreDocs.add(_elem90);
           }
         }
         struct.setScoreDocsIsSet(true);
@@ -880,14 +880,14 @@ public class TopFieldDocs implements org.apache.thrift.TBase<TopFieldDocs, TopFi
       }
       if (incoming.get(4)) {
         {
-          org.apache.thrift.protocol.TList _list101 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.fields = new ArrayList<SortField>(_list101.size);
-          for (int _i102 = 0; _i102 < _list101.size; ++_i102)
+          org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.fields = new ArrayList<SortField>(_list91.size);
+          for (int _i92 = 0; _i92 < _list91.size; ++_i92)
           {
-            SortField _elem103; // required
-            _elem103 = new SortField();
-            _elem103.read(iprot);
-            struct.fields.add(_elem103);
+            SortField _elem93; // required
+            _elem93 = new SortField();
+            _elem93.read(iprot);
+            struct.fields.add(_elem93);
           }
         }
         struct.setFieldsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/0e4ecb11/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/UpdatePackage.java
----------------------------------------------------------------------
diff --git a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/UpdatePackage.java b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/UpdatePackage.java
index 350bf5d..00e1da7 100644
--- a/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/UpdatePackage.java
+++ b/src/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/UpdatePackage.java
@@ -474,14 +474,14 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd
           case 2: // DOCUMENTS
             if (schemeField.type == org.apache.thrift.protocol.TType.LIST) {
               {
-                org.apache.thrift.protocol.TList _list112 = iprot.readListBegin();
-                struct.documents = new ArrayList<Document>(_list112.size);
-                for (int _i113 = 0; _i113 < _list112.size; ++_i113)
+                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
+                struct.documents = new ArrayList<Document>(_list102.size);
+                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
                 {
-                  Document _elem114; // required
-                  _elem114 = new Document();
-                  _elem114.read(iprot);
-                  struct.documents.add(_elem114);
+                  Document _elem104; // required
+                  _elem104 = new Document();
+                  _elem104.read(iprot);
+                  struct.documents.add(_elem104);
                 }
                 iprot.readListEnd();
               }
@@ -514,9 +514,9 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd
         oprot.writeFieldBegin(DOCUMENTS_FIELD_DESC);
         {
           oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.documents.size()));
-          for (Document _iter115 : struct.documents)
+          for (Document _iter105 : struct.documents)
           {
-            _iter115.write(oprot);
+            _iter105.write(oprot);
           }
           oprot.writeListEnd();
         }
@@ -553,9 +553,9 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd
       if (struct.isSetDocuments()) {
         {
           oprot.writeI32(struct.documents.size());
-          for (Document _iter116 : struct.documents)
+          for (Document _iter106 : struct.documents)
           {
-            _iter116.write(oprot);
+            _iter106.write(oprot);
           }
         }
       }
@@ -572,14 +572,14 @@ public class UpdatePackage implements org.apache.thrift.TBase<UpdatePackage, Upd
       }
       if (incoming.get(1)) {
         {
-          org.apache.thrift.protocol.TList _list117 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
-          struct.documents = new ArrayList<Document>(_list117.size);
-          for (int _i118 = 0; _i118 < _list117.size; ++_i118)
+          org.apache.thrift.protocol.TList _list107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32());
+          struct.documents = new ArrayList<Document>(_list107.size);
+          for (int _i108 = 0; _i108 < _list107.size; ++_i108)
           {
-            Document _elem119; // required
-            _elem119 = new Document();
-            _elem119.read(iprot);
-            struct.documents.add(_elem119);
+            Document _elem109; // required
+            _elem109 = new Document();
+            _elem109.read(iprot);
+            struct.documents.add(_elem109);
           }
         }
         struct.setDocumentsIsSet(true);


Mime
View raw message