incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [04/17] Adding more documentation and cleaning up the api a little bit.
Date Fri, 16 Aug 2013 20:09:03 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
index f3e953d..d541ec8 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurQuery.java
@@ -50,16 +50,15 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ * The Blur Query object that contains the query that needs to be executed along
+ * with the query options.
  */
 public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurQuery, BlurQuery._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurQuery");
 
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField SIMPLE_QUERY_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("simpleQuery", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)1);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField EXPERT_QUERY_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("expertQuery", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)2);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField FACETS_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("facets", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST, (short)3);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField SELECTOR_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("selector", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, (short)4);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField ALLOW_STALE_DATA_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("allowStaleData", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)5);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField USE_CACHE_IF_PRESENT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("useCacheIfPresent", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)6);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField START_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("start", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)7);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField FETCH_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("fetch", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I32, (short)8);
@@ -69,7 +68,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField USER_CONTEXT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("userContext", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)12);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField CACHE_RESULT_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("cacheResult", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)13);
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField START_TIME_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("startTime", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64, (short)14);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField MODIFY_FILE_CACHES_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("modifyFileCaches", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL, (short)15);
 
   private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
   static {
@@ -78,15 +76,11 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * The query information.
    */
   public SimpleQuery simpleQuery; // required
   /**
-   * 
-   */
-  public ExpertQuery expertQuery; // required
-  /**
-   * 
+   * A list of Facets to execute with the given query.
    */
   public List<Facet> facets; // required
   /**
@@ -94,62 +88,52 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
    */
   public Selector selector; // required
   /**
-   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
-   */
-  public boolean allowStaleData; // required
-  /**
-   * 
+   * Enabled by default to use a cached result if the query matches a previous run query with the
+   * configured amount of time.
    */
   public boolean useCacheIfPresent; // required
   /**
-   * 
+   * The starting result position, 0 by default.
    */
   public long start; // required
   /**
-   * 
+   * The number of fetched results, 10 by default.
    */
   public int fetch; // required
   /**
-   * 
+   * The minimum number of results to find before returning.
    */
   public long minimumNumberOfResults; // required
   /**
-   * 
+   * The maximum amount of time the query should execute before timing out.
    */
   public long maxQueryTime; // required
   /**
-   * 
+   * Sets the uuid of this query, this is normal set by the client so that the status
+   * of a running query can be found or the query can be canceled.
    */
   public long uuid; // required
   /**
-   * 
+   * Sets a user context, only used for logging at this point.
    */
   public String userContext; // required
   /**
-   * 
+   * Enabled by default to cache this result.  False would not cache the result.
    */
   public boolean cacheResult; // required
   /**
-   * 
+   * Sets the start time, if 0 the controller sets the time.
    */
   public long startTime; // required
-  /**
-   * 
-   */
-  public boolean modifyFileCaches; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
     /**
-     * 
+     * The query information.
      */
     SIMPLE_QUERY((short)1, "simpleQuery"),
     /**
-     * 
-     */
-    EXPERT_QUERY((short)2, "expertQuery"),
-    /**
-     * 
+     * A list of Facets to execute with the given query.
      */
     FACETS((short)3, "facets"),
     /**
@@ -157,49 +141,43 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
      */
     SELECTOR((short)4, "selector"),
     /**
-     * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
-     */
-    ALLOW_STALE_DATA((short)5, "allowStaleData"),
-    /**
-     * 
+     * Enabled by default to use a cached result if the query matches a previous run query with the
+     * configured amount of time.
      */
     USE_CACHE_IF_PRESENT((short)6, "useCacheIfPresent"),
     /**
-     * 
+     * The starting result position, 0 by default.
      */
     START((short)7, "start"),
     /**
-     * 
+     * The number of fetched results, 10 by default.
      */
     FETCH((short)8, "fetch"),
     /**
-     * 
+     * The minimum number of results to find before returning.
      */
     MINIMUM_NUMBER_OF_RESULTS((short)9, "minimumNumberOfResults"),
     /**
-     * 
+     * The maximum amount of time the query should execute before timing out.
      */
     MAX_QUERY_TIME((short)10, "maxQueryTime"),
     /**
-     * 
+     * Sets the uuid of this query, this is normal set by the client so that the status
+     * of a running query can be found or the query can be canceled.
      */
     UUID((short)11, "uuid"),
     /**
-     * 
+     * Sets a user context, only used for logging at this point.
      */
     USER_CONTEXT((short)12, "userContext"),
     /**
-     * 
+     * Enabled by default to cache this result.  False would not cache the result.
      */
     CACHE_RESULT((short)13, "cacheResult"),
     /**
-     * 
+     * Sets the start time, if 0 the controller sets the time.
      */
-    START_TIME((short)14, "startTime"),
-    /**
-     * 
-     */
-    MODIFY_FILE_CACHES((short)15, "modifyFileCaches");
+    START_TIME((short)14, "startTime");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
 
@@ -216,14 +194,10 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       switch(fieldId) {
         case 1: // SIMPLE_QUERY
           return SIMPLE_QUERY;
-        case 2: // EXPERT_QUERY
-          return EXPERT_QUERY;
         case 3: // FACETS
           return FACETS;
         case 4: // SELECTOR
           return SELECTOR;
-        case 5: // ALLOW_STALE_DATA
-          return ALLOW_STALE_DATA;
         case 6: // USE_CACHE_IF_PRESENT
           return USE_CACHE_IF_PRESENT;
         case 7: // START
@@ -242,8 +216,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
           return CACHE_RESULT;
         case 14: // START_TIME
           return START_TIME;
-        case 15: // MODIFY_FILE_CACHES
-          return MODIFY_FILE_CACHES;
         default:
           return null;
       }
@@ -284,31 +256,25 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   // isset id assignments
-  private static final int __ALLOWSTALEDATA_ISSET_ID = 0;
-  private static final int __USECACHEIFPRESENT_ISSET_ID = 1;
-  private static final int __START_ISSET_ID = 2;
-  private static final int __FETCH_ISSET_ID = 3;
-  private static final int __MINIMUMNUMBEROFRESULTS_ISSET_ID = 4;
-  private static final int __MAXQUERYTIME_ISSET_ID = 5;
-  private static final int __UUID_ISSET_ID = 6;
-  private static final int __CACHERESULT_ISSET_ID = 7;
-  private static final int __STARTTIME_ISSET_ID = 8;
-  private static final int __MODIFYFILECACHES_ISSET_ID = 9;
-  private short __isset_bitfield = 0;
+  private static final int __USECACHEIFPRESENT_ISSET_ID = 0;
+  private static final int __START_ISSET_ID = 1;
+  private static final int __FETCH_ISSET_ID = 2;
+  private static final int __MINIMUMNUMBEROFRESULTS_ISSET_ID = 3;
+  private static final int __MAXQUERYTIME_ISSET_ID = 4;
+  private static final int __UUID_ISSET_ID = 5;
+  private static final int __CACHERESULT_ISSET_ID = 6;
+  private static final int __STARTTIME_ISSET_ID = 7;
+  private byte __isset_bitfield = 0;
   public static final Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
   static {
     Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
     tmpMap.put(_Fields.SIMPLE_QUERY, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("simpleQuery", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, SimpleQuery.class)));
-    tmpMap.put(_Fields.EXPERT_QUERY, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("expertQuery", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, ExpertQuery.class)));
     tmpMap.put(_Fields.FACETS, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("facets", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.ListMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST, 
             new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, Facet.class))));
     tmpMap.put(_Fields.SELECTOR, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("selector", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.StructMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, Selector.class)));
-    tmpMap.put(_Fields.ALLOW_STALE_DATA, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("allowStaleData", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL)));
     tmpMap.put(_Fields.USE_CACHE_IF_PRESENT, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("useCacheIfPresent", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL)));
     tmpMap.put(_Fields.START, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("start", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
@@ -327,15 +293,11 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL)));
     tmpMap.put(_Fields.START_TIME, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("startTime", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
         new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.I64)));
-    tmpMap.put(_Fields.MODIFY_FILE_CACHES, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("modifyFileCaches", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL)));
     metaDataMap = Collections.unmodifiableMap(tmpMap);
     org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(BlurQuery.class, metaDataMap);
   }
 
   public BlurQuery() {
-    this.allowStaleData = false;
-
     this.useCacheIfPresent = true;
 
     this.start = 0L;
@@ -350,16 +312,12 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
 
     this.startTime = 0L;
 
-    this.modifyFileCaches = true;
-
   }
 
   public BlurQuery(
     SimpleQuery simpleQuery,
-    ExpertQuery expertQuery,
     List<Facet> facets,
     Selector selector,
-    boolean allowStaleData,
     boolean useCacheIfPresent,
     long start,
     int fetch,
@@ -368,16 +326,12 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     long uuid,
     String userContext,
     boolean cacheResult,
-    long startTime,
-    boolean modifyFileCaches)
+    long startTime)
   {
     this();
     this.simpleQuery = simpleQuery;
-    this.expertQuery = expertQuery;
     this.facets = facets;
     this.selector = selector;
-    this.allowStaleData = allowStaleData;
-    setAllowStaleDataIsSet(true);
     this.useCacheIfPresent = useCacheIfPresent;
     setUseCacheIfPresentIsSet(true);
     this.start = start;
@@ -395,8 +349,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     setCacheResultIsSet(true);
     this.startTime = startTime;
     setStartTimeIsSet(true);
-    this.modifyFileCaches = modifyFileCaches;
-    setModifyFileCachesIsSet(true);
   }
 
   /**
@@ -407,9 +359,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     if (other.isSetSimpleQuery()) {
       this.simpleQuery = new SimpleQuery(other.simpleQuery);
     }
-    if (other.isSetExpertQuery()) {
-      this.expertQuery = new ExpertQuery(other.expertQuery);
-    }
     if (other.isSetFacets()) {
       List<Facet> __this__facets = new ArrayList<Facet>();
       for (Facet other_element : other.facets) {
@@ -420,7 +369,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     if (other.isSetSelector()) {
       this.selector = new Selector(other.selector);
     }
-    this.allowStaleData = other.allowStaleData;
     this.useCacheIfPresent = other.useCacheIfPresent;
     this.start = other.start;
     this.fetch = other.fetch;
@@ -432,7 +380,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     }
     this.cacheResult = other.cacheResult;
     this.startTime = other.startTime;
-    this.modifyFileCaches = other.modifyFileCaches;
   }
 
   public BlurQuery deepCopy() {
@@ -442,11 +389,8 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   @Override
   public void clear() {
     this.simpleQuery = null;
-    this.expertQuery = null;
     this.facets = null;
     this.selector = null;
-    this.allowStaleData = false;
-
     this.useCacheIfPresent = true;
 
     this.start = 0L;
@@ -464,19 +408,17 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
 
     this.startTime = 0L;
 
-    this.modifyFileCaches = true;
-
   }
 
   /**
-   * 
+   * The query information.
    */
   public SimpleQuery getSimpleQuery() {
     return this.simpleQuery;
   }
 
   /**
-   * 
+   * The query information.
    */
   public BlurQuery setSimpleQuery(SimpleQuery simpleQuery) {
     this.simpleQuery = simpleQuery;
@@ -498,36 +440,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     }
   }
 
-  /**
-   * 
-   */
-  public ExpertQuery getExpertQuery() {
-    return this.expertQuery;
-  }
-
-  /**
-   * 
-   */
-  public BlurQuery setExpertQuery(ExpertQuery expertQuery) {
-    this.expertQuery = expertQuery;
-    return this;
-  }
-
-  public void unsetExpertQuery() {
-    this.expertQuery = null;
-  }
-
-  /** Returns true if field expertQuery is set (has been assigned a value) and false otherwise */
-  public boolean isSetExpertQuery() {
-    return this.expertQuery != null;
-  }
-
-  public void setExpertQueryIsSet(boolean value) {
-    if (!value) {
-      this.expertQuery = null;
-    }
-  }
-
   public int getFacetsSize() {
     return (this.facets == null) ? 0 : this.facets.size();
   }
@@ -544,14 +456,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * A list of Facets to execute with the given query.
    */
   public List<Facet> getFacets() {
     return this.facets;
   }
 
   /**
-   * 
+   * A list of Facets to execute with the given query.
    */
   public BlurQuery setFacets(List<Facet> facets) {
     this.facets = facets;
@@ -604,43 +516,16 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
-   */
-  public boolean isAllowStaleData() {
-    return this.allowStaleData;
-  }
-
-  /**
-   * @deprecated This value is no longer used.  This allows the query to see the most current data that has been added to the table.
-   */
-  public BlurQuery setAllowStaleData(boolean allowStaleData) {
-    this.allowStaleData = allowStaleData;
-    setAllowStaleDataIsSet(true);
-    return this;
-  }
-
-  public void unsetAllowStaleData() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ALLOWSTALEDATA_ISSET_ID);
-  }
-
-  /** Returns true if field allowStaleData is set (has been assigned a value) and false otherwise */
-  public boolean isSetAllowStaleData() {
-    return EncodingUtils.testBit(__isset_bitfield, __ALLOWSTALEDATA_ISSET_ID);
-  }
-
-  public void setAllowStaleDataIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ALLOWSTALEDATA_ISSET_ID, value);
-  }
-
-  /**
-   * 
+   * Enabled by default to use a cached result if the query matches a previous run query with the
+   * configured amount of time.
    */
   public boolean isUseCacheIfPresent() {
     return this.useCacheIfPresent;
   }
 
   /**
-   * 
+   * Enabled by default to use a cached result if the query matches a previous run query with the
+   * configured amount of time.
    */
   public BlurQuery setUseCacheIfPresent(boolean useCacheIfPresent) {
     this.useCacheIfPresent = useCacheIfPresent;
@@ -662,14 +547,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * The starting result position, 0 by default.
    */
   public long getStart() {
     return this.start;
   }
 
   /**
-   * 
+   * The starting result position, 0 by default.
    */
   public BlurQuery setStart(long start) {
     this.start = start;
@@ -691,14 +576,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * The number of fetched results, 10 by default.
    */
   public int getFetch() {
     return this.fetch;
   }
 
   /**
-   * 
+   * The number of fetched results, 10 by default.
    */
   public BlurQuery setFetch(int fetch) {
     this.fetch = fetch;
@@ -720,14 +605,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * The minimum number of results to find before returning.
    */
   public long getMinimumNumberOfResults() {
     return this.minimumNumberOfResults;
   }
 
   /**
-   * 
+   * The minimum number of results to find before returning.
    */
   public BlurQuery setMinimumNumberOfResults(long minimumNumberOfResults) {
     this.minimumNumberOfResults = minimumNumberOfResults;
@@ -749,14 +634,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * The maximum amount of time the query should execute before timing out.
    */
   public long getMaxQueryTime() {
     return this.maxQueryTime;
   }
 
   /**
-   * 
+   * The maximum amount of time the query should execute before timing out.
    */
   public BlurQuery setMaxQueryTime(long maxQueryTime) {
     this.maxQueryTime = maxQueryTime;
@@ -778,14 +663,16 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * Sets the uuid of this query, this is normal set by the client so that the status
+   * of a running query can be found or the query can be canceled.
    */
   public long getUuid() {
     return this.uuid;
   }
 
   /**
-   * 
+   * Sets the uuid of this query, this is normal set by the client so that the status
+   * of a running query can be found or the query can be canceled.
    */
   public BlurQuery setUuid(long uuid) {
     this.uuid = uuid;
@@ -807,14 +694,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * Sets a user context, only used for logging at this point.
    */
   public String getUserContext() {
     return this.userContext;
   }
 
   /**
-   * 
+   * Sets a user context, only used for logging at this point.
    */
   public BlurQuery setUserContext(String userContext) {
     this.userContext = userContext;
@@ -837,14 +724,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * Enabled by default to cache this result.  False would not cache the result.
    */
   public boolean isCacheResult() {
     return this.cacheResult;
   }
 
   /**
-   * 
+   * Enabled by default to cache this result.  False would not cache the result.
    */
   public BlurQuery setCacheResult(boolean cacheResult) {
     this.cacheResult = cacheResult;
@@ -866,14 +753,14 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
   }
 
   /**
-   * 
+   * Sets the start time, if 0 the controller sets the time.
    */
   public long getStartTime() {
     return this.startTime;
   }
 
   /**
-   * 
+   * Sets the start time, if 0 the controller sets the time.
    */
   public BlurQuery setStartTime(long startTime) {
     this.startTime = startTime;
@@ -894,35 +781,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __STARTTIME_ISSET_ID, value);
   }
 
-  /**
-   * 
-   */
-  public boolean isModifyFileCaches() {
-    return this.modifyFileCaches;
-  }
-
-  /**
-   * 
-   */
-  public BlurQuery setModifyFileCaches(boolean modifyFileCaches) {
-    this.modifyFileCaches = modifyFileCaches;
-    setModifyFileCachesIsSet(true);
-    return this;
-  }
-
-  public void unsetModifyFileCaches() {
-    __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __MODIFYFILECACHES_ISSET_ID);
-  }
-
-  /** Returns true if field modifyFileCaches is set (has been assigned a value) and false otherwise */
-  public boolean isSetModifyFileCaches() {
-    return EncodingUtils.testBit(__isset_bitfield, __MODIFYFILECACHES_ISSET_ID);
-  }
-
-  public void setModifyFileCachesIsSet(boolean value) {
-    __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __MODIFYFILECACHES_ISSET_ID, value);
-  }
-
   public void setFieldValue(_Fields field, Object value) {
     switch (field) {
     case SIMPLE_QUERY:
@@ -933,14 +791,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       }
       break;
 
-    case EXPERT_QUERY:
-      if (value == null) {
-        unsetExpertQuery();
-      } else {
-        setExpertQuery((ExpertQuery)value);
-      }
-      break;
-
     case FACETS:
       if (value == null) {
         unsetFacets();
@@ -957,14 +807,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       }
       break;
 
-    case ALLOW_STALE_DATA:
-      if (value == null) {
-        unsetAllowStaleData();
-      } else {
-        setAllowStaleData((Boolean)value);
-      }
-      break;
-
     case USE_CACHE_IF_PRESENT:
       if (value == null) {
         unsetUseCacheIfPresent();
@@ -1037,14 +879,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       }
       break;
 
-    case MODIFY_FILE_CACHES:
-      if (value == null) {
-        unsetModifyFileCaches();
-      } else {
-        setModifyFileCaches((Boolean)value);
-      }
-      break;
-
     }
   }
 
@@ -1053,18 +887,12 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     case SIMPLE_QUERY:
       return getSimpleQuery();
 
-    case EXPERT_QUERY:
-      return getExpertQuery();
-
     case FACETS:
       return getFacets();
 
     case SELECTOR:
       return getSelector();
 
-    case ALLOW_STALE_DATA:
-      return Boolean.valueOf(isAllowStaleData());
-
     case USE_CACHE_IF_PRESENT:
       return Boolean.valueOf(isUseCacheIfPresent());
 
@@ -1092,9 +920,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     case START_TIME:
       return Long.valueOf(getStartTime());
 
-    case MODIFY_FILE_CACHES:
-      return Boolean.valueOf(isModifyFileCaches());
-
     }
     throw new IllegalStateException();
   }
@@ -1108,14 +933,10 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     switch (field) {
     case SIMPLE_QUERY:
       return isSetSimpleQuery();
-    case EXPERT_QUERY:
-      return isSetExpertQuery();
     case FACETS:
       return isSetFacets();
     case SELECTOR:
       return isSetSelector();
-    case ALLOW_STALE_DATA:
-      return isSetAllowStaleData();
     case USE_CACHE_IF_PRESENT:
       return isSetUseCacheIfPresent();
     case START:
@@ -1134,8 +955,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       return isSetCacheResult();
     case START_TIME:
       return isSetStartTime();
-    case MODIFY_FILE_CACHES:
-      return isSetModifyFileCaches();
     }
     throw new IllegalStateException();
   }
@@ -1162,15 +981,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return false;
     }
 
-    boolean this_present_expertQuery = true && this.isSetExpertQuery();
-    boolean that_present_expertQuery = true && that.isSetExpertQuery();
-    if (this_present_expertQuery || that_present_expertQuery) {
-      if (!(this_present_expertQuery && that_present_expertQuery))
-        return false;
-      if (!this.expertQuery.equals(that.expertQuery))
-        return false;
-    }
-
     boolean this_present_facets = true && this.isSetFacets();
     boolean that_present_facets = true && that.isSetFacets();
     if (this_present_facets || that_present_facets) {
@@ -1189,15 +999,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return false;
     }
 
-    boolean this_present_allowStaleData = true;
-    boolean that_present_allowStaleData = true;
-    if (this_present_allowStaleData || that_present_allowStaleData) {
-      if (!(this_present_allowStaleData && that_present_allowStaleData))
-        return false;
-      if (this.allowStaleData != that.allowStaleData)
-        return false;
-    }
-
     boolean this_present_useCacheIfPresent = true;
     boolean that_present_useCacheIfPresent = true;
     if (this_present_useCacheIfPresent || that_present_useCacheIfPresent) {
@@ -1279,15 +1080,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return false;
     }
 
-    boolean this_present_modifyFileCaches = true;
-    boolean that_present_modifyFileCaches = true;
-    if (this_present_modifyFileCaches || that_present_modifyFileCaches) {
-      if (!(this_present_modifyFileCaches && that_present_modifyFileCaches))
-        return false;
-      if (this.modifyFileCaches != that.modifyFileCaches)
-        return false;
-    }
-
     return true;
   }
 
@@ -1314,16 +1106,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetExpertQuery()).compareTo(typedOther.isSetExpertQuery());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetExpertQuery()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.expertQuery, typedOther.expertQuery);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     lastComparison = Boolean.valueOf(isSetFacets()).compareTo(typedOther.isSetFacets());
     if (lastComparison != 0) {
       return lastComparison;
@@ -1344,16 +1126,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetAllowStaleData()).compareTo(typedOther.isSetAllowStaleData());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetAllowStaleData()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.allowStaleData, typedOther.allowStaleData);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     lastComparison = Boolean.valueOf(isSetUseCacheIfPresent()).compareTo(typedOther.isSetUseCacheIfPresent());
     if (lastComparison != 0) {
       return lastComparison;
@@ -1444,16 +1216,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         return lastComparison;
       }
     }
-    lastComparison = Boolean.valueOf(isSetModifyFileCaches()).compareTo(typedOther.isSetModifyFileCaches());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetModifyFileCaches()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.modifyFileCaches, typedOther.modifyFileCaches);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
     return 0;
   }
 
@@ -1482,14 +1244,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     }
     first = false;
     if (!first) sb.append(", ");
-    sb.append("expertQuery:");
-    if (this.expertQuery == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.expertQuery);
-    }
-    first = false;
-    if (!first) sb.append(", ");
     sb.append("facets:");
     if (this.facets == null) {
       sb.append("null");
@@ -1506,10 +1260,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     }
     first = false;
     if (!first) sb.append(", ");
-    sb.append("allowStaleData:");
-    sb.append(this.allowStaleData);
-    first = false;
-    if (!first) sb.append(", ");
     sb.append("useCacheIfPresent:");
     sb.append(this.useCacheIfPresent);
     first = false;
@@ -1549,10 +1299,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     sb.append("startTime:");
     sb.append(this.startTime);
     first = false;
-    if (!first) sb.append(", ");
-    sb.append("modifyFileCaches:");
-    sb.append(this.modifyFileCaches);
-    first = false;
     sb.append(")");
     return sb.toString();
   }
@@ -1563,9 +1309,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
     if (simpleQuery != null) {
       simpleQuery.validate();
     }
-    if (expertQuery != null) {
-      expertQuery.validate();
-    }
     if (selector != null) {
       selector.validate();
     }
@@ -1616,15 +1359,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 2: // EXPERT_QUERY
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT) {
-              struct.expertQuery = new ExpertQuery();
-              struct.expertQuery.read(iprot);
-              struct.setExpertQueryIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           case 3: // FACETS
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
               {
@@ -1653,14 +1387,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 5: // ALLOW_STALE_DATA
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL) {
-              struct.allowStaleData = iprot.readBool();
-              struct.setAllowStaleDataIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           case 6: // USE_CACHE_IF_PRESENT
             if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL) {
               struct.useCacheIfPresent = iprot.readBool();
@@ -1733,14 +1459,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
               org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
             }
             break;
-          case 15: // MODIFY_FILE_CACHES
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.BOOL) {
-              struct.modifyFileCaches = iprot.readBool();
-              struct.setModifyFileCachesIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
           default:
             org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
         }
@@ -1761,11 +1479,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         struct.simpleQuery.write(oprot);
         oprot.writeFieldEnd();
       }
-      if (struct.expertQuery != null) {
-        oprot.writeFieldBegin(EXPERT_QUERY_FIELD_DESC);
-        struct.expertQuery.write(oprot);
-        oprot.writeFieldEnd();
-      }
       if (struct.facets != null) {
         oprot.writeFieldBegin(FACETS_FIELD_DESC);
         {
@@ -1783,9 +1496,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         struct.selector.write(oprot);
         oprot.writeFieldEnd();
       }
-      oprot.writeFieldBegin(ALLOW_STALE_DATA_FIELD_DESC);
-      oprot.writeBool(struct.allowStaleData);
-      oprot.writeFieldEnd();
       oprot.writeFieldBegin(USE_CACHE_IF_PRESENT_FIELD_DESC);
       oprot.writeBool(struct.useCacheIfPresent);
       oprot.writeFieldEnd();
@@ -1815,9 +1525,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       oprot.writeFieldBegin(START_TIME_FIELD_DESC);
       oprot.writeI64(struct.startTime);
       oprot.writeFieldEnd();
-      oprot.writeFieldBegin(MODIFY_FILE_CACHES_FIELD_DESC);
-      oprot.writeBool(struct.modifyFileCaches);
-      oprot.writeFieldEnd();
       oprot.writeFieldStop();
       oprot.writeStructEnd();
     }
@@ -1839,55 +1546,43 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       if (struct.isSetSimpleQuery()) {
         optionals.set(0);
       }
-      if (struct.isSetExpertQuery()) {
-        optionals.set(1);
-      }
       if (struct.isSetFacets()) {
-        optionals.set(2);
+        optionals.set(1);
       }
       if (struct.isSetSelector()) {
-        optionals.set(3);
-      }
-      if (struct.isSetAllowStaleData()) {
-        optionals.set(4);
+        optionals.set(2);
       }
       if (struct.isSetUseCacheIfPresent()) {
-        optionals.set(5);
+        optionals.set(3);
       }
       if (struct.isSetStart()) {
-        optionals.set(6);
+        optionals.set(4);
       }
       if (struct.isSetFetch()) {
-        optionals.set(7);
+        optionals.set(5);
       }
       if (struct.isSetMinimumNumberOfResults()) {
-        optionals.set(8);
+        optionals.set(6);
       }
       if (struct.isSetMaxQueryTime()) {
-        optionals.set(9);
+        optionals.set(7);
       }
       if (struct.isSetUuid()) {
-        optionals.set(10);
+        optionals.set(8);
       }
       if (struct.isSetUserContext()) {
-        optionals.set(11);
+        optionals.set(9);
       }
       if (struct.isSetCacheResult()) {
-        optionals.set(12);
+        optionals.set(10);
       }
       if (struct.isSetStartTime()) {
-        optionals.set(13);
-      }
-      if (struct.isSetModifyFileCaches()) {
-        optionals.set(14);
+        optionals.set(11);
       }
-      oprot.writeBitSet(optionals, 15);
+      oprot.writeBitSet(optionals, 12);
       if (struct.isSetSimpleQuery()) {
         struct.simpleQuery.write(oprot);
       }
-      if (struct.isSetExpertQuery()) {
-        struct.expertQuery.write(oprot);
-      }
       if (struct.isSetFacets()) {
         {
           oprot.writeI32(struct.facets.size());
@@ -1900,9 +1595,6 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       if (struct.isSetSelector()) {
         struct.selector.write(oprot);
       }
-      if (struct.isSetAllowStaleData()) {
-        oprot.writeBool(struct.allowStaleData);
-      }
       if (struct.isSetUseCacheIfPresent()) {
         oprot.writeBool(struct.useCacheIfPresent);
       }
@@ -1930,26 +1622,18 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
       if (struct.isSetStartTime()) {
         oprot.writeI64(struct.startTime);
       }
-      if (struct.isSetModifyFileCaches()) {
-        oprot.writeBool(struct.modifyFileCaches);
-      }
     }
 
     @Override
     public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, BlurQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
       TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(15);
+      BitSet incoming = iprot.readBitSet(12);
       if (incoming.get(0)) {
         struct.simpleQuery = new SimpleQuery();
         struct.simpleQuery.read(iprot);
         struct.setSimpleQueryIsSet(true);
       }
       if (incoming.get(1)) {
-        struct.expertQuery = new ExpertQuery();
-        struct.expertQuery.read(iprot);
-        struct.setExpertQueryIsSet(true);
-      }
-      if (incoming.get(2)) {
         {
           org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list47 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRUCT, iprot.readI32());
           struct.facets = new ArrayList<Facet>(_list47.size);
@@ -1963,55 +1647,47 @@ public class BlurQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<
         }
         struct.setFacetsIsSet(true);
       }
-      if (incoming.get(3)) {
+      if (incoming.get(2)) {
         struct.selector = new Selector();
         struct.selector.read(iprot);
         struct.setSelectorIsSet(true);
       }
-      if (incoming.get(4)) {
-        struct.allowStaleData = iprot.readBool();
-        struct.setAllowStaleDataIsSet(true);
-      }
-      if (incoming.get(5)) {
+      if (incoming.get(3)) {
         struct.useCacheIfPresent = iprot.readBool();
         struct.setUseCacheIfPresentIsSet(true);
       }
-      if (incoming.get(6)) {
+      if (incoming.get(4)) {
         struct.start = iprot.readI64();
         struct.setStartIsSet(true);
       }
-      if (incoming.get(7)) {
+      if (incoming.get(5)) {
         struct.fetch = iprot.readI32();
         struct.setFetchIsSet(true);
       }
-      if (incoming.get(8)) {
+      if (incoming.get(6)) {
         struct.minimumNumberOfResults = iprot.readI64();
         struct.setMinimumNumberOfResultsIsSet(true);
       }
-      if (incoming.get(9)) {
+      if (incoming.get(7)) {
         struct.maxQueryTime = iprot.readI64();
         struct.setMaxQueryTimeIsSet(true);
       }
-      if (incoming.get(10)) {
+      if (incoming.get(8)) {
         struct.uuid = iprot.readI64();
         struct.setUuidIsSet(true);
       }
-      if (incoming.get(11)) {
+      if (incoming.get(9)) {
         struct.userContext = iprot.readString();
         struct.setUserContextIsSet(true);
       }
-      if (incoming.get(12)) {
+      if (incoming.get(10)) {
         struct.cacheResult = iprot.readBool();
         struct.setCacheResultIsSet(true);
       }
-      if (incoming.get(13)) {
+      if (incoming.get(11)) {
         struct.startTime = iprot.readI64();
         struct.setStartTimeIsSet(true);
       }
-      if (incoming.get(14)) {
-        struct.modifyFileCaches = iprot.readBool();
-        struct.setModifyFileCachesIsSet(true);
-      }
     }
   }
 

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
index aaba1d5..ee5a70c 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/BlurResult.java
@@ -50,7 +50,7 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * 
+ *  
  */
 public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<BlurResult, BlurResult._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("BlurResult");
@@ -70,7 +70,7 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
    */
   public String locationId; // required
   /**
-   * 
+   *  
    */
   public double score; // required
   /**
@@ -85,7 +85,7 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
      */
     LOCATION_ID((short)1, "locationId"),
     /**
-     * 
+     *  
      */
     SCORE((short)2, "score"),
     /**
@@ -239,14 +239,14 @@ public class BlurResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase
   }
 
   /**
-   * 
+   *  
    */
   public double getScore() {
     return this.score;
   }
 
   /**
-   * 
+   *  
    */
   public BlurResult setScore(double score) {
     this.score = score;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
deleted file mode 100644
index 0097fe0..0000000
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ColumnPreCache.java
+++ /dev/null
@@ -1,472 +0,0 @@
-/**
- * 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.blur.thirdparty.thrift_0_9_0.scheme.IScheme;
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.SchemeFactory;
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.StandardScheme;
-
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.TupleScheme;
-import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TTupleProtocol;
-import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolException;
-import org.apache.blur.thirdparty.thrift_0_9_0.EncodingUtils;
-import org.apache.blur.thirdparty.thrift_0_9_0.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;
-
-/**
- * 
- */
-public class ColumnPreCache implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<ColumnPreCache, ColumnPreCache._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("ColumnPreCache");
-
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField PRE_CACHE_COLS_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("preCacheCols", org.apache.blur.thirdparty.thrift_0_9_0.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 ColumnPreCacheStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ColumnPreCacheTupleSchemeFactory());
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public List<String> preCacheCols; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-    /**
-     * This map sets what column families and columns to prefetch into block cache on shard open.
-     */
-    PRE_CACHE_COLS((short)1, "preCacheCols");
-
-    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: // PRE_CACHE_COLS
-          return PRE_CACHE_COLS;
-        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.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.PRE_CACHE_COLS, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("preCacheCols", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.ListMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST, 
-            new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING))));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(ColumnPreCache.class, metaDataMap);
-  }
-
-  public ColumnPreCache() {
-  }
-
-  public ColumnPreCache(
-    List<String> preCacheCols)
-  {
-    this();
-    this.preCacheCols = preCacheCols;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ColumnPreCache(ColumnPreCache other) {
-    if (other.isSetPreCacheCols()) {
-      List<String> __this__preCacheCols = new ArrayList<String>();
-      for (String other_element : other.preCacheCols) {
-        __this__preCacheCols.add(other_element);
-      }
-      this.preCacheCols = __this__preCacheCols;
-    }
-  }
-
-  public ColumnPreCache deepCopy() {
-    return new ColumnPreCache(this);
-  }
-
-  @Override
-  public void clear() {
-    this.preCacheCols = null;
-  }
-
-  public int getPreCacheColsSize() {
-    return (this.preCacheCols == null) ? 0 : this.preCacheCols.size();
-  }
-
-  public java.util.Iterator<String> getPreCacheColsIterator() {
-    return (this.preCacheCols == null) ? null : this.preCacheCols.iterator();
-  }
-
-  public void addToPreCacheCols(String elem) {
-    if (this.preCacheCols == null) {
-      this.preCacheCols = new ArrayList<String>();
-    }
-    this.preCacheCols.add(elem);
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public List<String> getPreCacheCols() {
-    return this.preCacheCols;
-  }
-
-  /**
-   * This map sets what column families and columns to prefetch into block cache on shard open.
-   */
-  public ColumnPreCache setPreCacheCols(List<String> preCacheCols) {
-    this.preCacheCols = preCacheCols;
-    return this;
-  }
-
-  public void unsetPreCacheCols() {
-    this.preCacheCols = null;
-  }
-
-  /** Returns true if field preCacheCols is set (has been assigned a value) and false otherwise */
-  public boolean isSetPreCacheCols() {
-    return this.preCacheCols != null;
-  }
-
-  public void setPreCacheColsIsSet(boolean value) {
-    if (!value) {
-      this.preCacheCols = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case PRE_CACHE_COLS:
-      if (value == null) {
-        unsetPreCacheCols();
-      } else {
-        setPreCacheCols((List<String>)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case PRE_CACHE_COLS:
-      return getPreCacheCols();
-
-    }
-    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 PRE_CACHE_COLS:
-      return isSetPreCacheCols();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ColumnPreCache)
-      return this.equals((ColumnPreCache)that);
-    return false;
-  }
-
-  public boolean equals(ColumnPreCache that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_preCacheCols = true && this.isSetPreCacheCols();
-    boolean that_present_preCacheCols = true && that.isSetPreCacheCols();
-    if (this_present_preCacheCols || that_present_preCacheCols) {
-      if (!(this_present_preCacheCols && that_present_preCacheCols))
-        return false;
-      if (!this.preCacheCols.equals(that.preCacheCols))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ColumnPreCache other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ColumnPreCache typedOther = (ColumnPreCache)other;
-
-    lastComparison = Boolean.valueOf(isSetPreCacheCols()).compareTo(typedOther.isSetPreCacheCols());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetPreCacheCols()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.preCacheCols, typedOther.preCacheCols);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ColumnPreCache(");
-    boolean first = true;
-
-    sb.append("preCacheCols:");
-    if (this.preCacheCols == null) {
-      sb.append("null");
-    } else {
-      sb.append(this.preCacheCols);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(out)));
-    } catch (org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(in)));
-    } catch (org.apache.blur.thirdparty.thrift_0_9_0.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ColumnPreCacheStandardSchemeFactory implements SchemeFactory {
-    public ColumnPreCacheStandardScheme getScheme() {
-      return new ColumnPreCacheStandardScheme();
-    }
-  }
-
-  private static class ColumnPreCacheStandardScheme extends StandardScheme<ColumnPreCache> {
-
-    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, ColumnPreCache struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // PRE_CACHE_COLS
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.LIST) {
-              {
-                org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list120 = iprot.readListBegin();
-                struct.preCacheCols = new ArrayList<String>(_list120.size);
-                for (int _i121 = 0; _i121 < _list120.size; ++_i121)
-                {
-                  String _elem122; // required
-                  _elem122 = iprot.readString();
-                  struct.preCacheCols.add(_elem122);
-                }
-                iprot.readListEnd();
-              }
-              struct.setPreCacheColsIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, ColumnPreCache struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.preCacheCols != null) {
-        oprot.writeFieldBegin(PRE_CACHE_COLS_FIELD_DESC);
-        {
-          oprot.writeListBegin(new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, struct.preCacheCols.size()));
-          for (String _iter123 : struct.preCacheCols)
-          {
-            oprot.writeString(_iter123);
-          }
-          oprot.writeListEnd();
-        }
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ColumnPreCacheTupleSchemeFactory implements SchemeFactory {
-    public ColumnPreCacheTupleScheme getScheme() {
-      return new ColumnPreCacheTupleScheme();
-    }
-  }
-
-  private static class ColumnPreCacheTupleScheme extends TupleScheme<ColumnPreCache> {
-
-    @Override
-    public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, ColumnPreCache struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetPreCacheCols()) {
-        optionals.set(0);
-      }
-      oprot.writeBitSet(optionals, 1);
-      if (struct.isSetPreCacheCols()) {
-        {
-          oprot.writeI32(struct.preCacheCols.size());
-          for (String _iter124 : struct.preCacheCols)
-          {
-            oprot.writeString(_iter124);
-          }
-        }
-      }
-    }
-
-    @Override
-    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, ColumnPreCache struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(1);
-      if (incoming.get(0)) {
-        {
-          org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList _list125 = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TList(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, iprot.readI32());
-          struct.preCacheCols = new ArrayList<String>(_list125.size);
-          for (int _i126 = 0; _i126 < _list125.size; ++_i126)
-          {
-            String _elem127; // required
-            _elem127 = iprot.readString();
-            struct.preCacheCols.add(_elem127);
-          }
-        }
-        struct.setPreCacheColsIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
deleted file mode 100644
index 1072974..0000000
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/ExpertQuery.java
+++ /dev/null
@@ -1,554 +0,0 @@
-/**
- * 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.blur.thirdparty.thrift_0_9_0.scheme.IScheme;
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.SchemeFactory;
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.StandardScheme;
-
-import org.apache.blur.thirdparty.thrift_0_9_0.scheme.TupleScheme;
-import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TTupleProtocol;
-import org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolException;
-import org.apache.blur.thirdparty.thrift_0_9_0.EncodingUtils;
-import org.apache.blur.thirdparty.thrift_0_9_0.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 expert query allows for submission of a serialized query and filter object to be executed against all the queries.
- */
-public class ExpertQuery implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<ExpertQuery, ExpertQuery._Fields>, java.io.Serializable, Cloneable {
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("ExpertQuery");
-
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField QUERY_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("query", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)1);
-  private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField FILTER_FIELD_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField("filter", org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING, (short)2);
-
-  private static final Map<Class<? extends IScheme>, SchemeFactory> schemes = new HashMap<Class<? extends IScheme>, SchemeFactory>();
-  static {
-    schemes.put(StandardScheme.class, new ExpertQueryStandardSchemeFactory());
-    schemes.put(TupleScheme.class, new ExpertQueryTupleSchemeFactory());
-  }
-
-  /**
-   * The serialized query.
-   */
-  public ByteBuffer query; // required
-  /**
-   * The serialized filter.
-   */
-  public ByteBuffer filter; // required
-
-  /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-  public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
-    /**
-     * The serialized query.
-     */
-    QUERY((short)1, "query"),
-    /**
-     * The serialized filter.
-     */
-    FILTER((short)2, "filter");
-
-    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: // QUERY
-          return QUERY;
-        case 2: // FILTER
-          return FILTER;
-        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.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> metaDataMap;
-  static {
-    Map<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData>(_Fields.class);
-    tmpMap.put(_Fields.QUERY, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("query", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING        , true)));
-    tmpMap.put(_Fields.FILTER, new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData("filter", org.apache.blur.thirdparty.thrift_0_9_0.TFieldRequirementType.DEFAULT, 
-        new org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldValueMetaData(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING        , true)));
-    metaDataMap = Collections.unmodifiableMap(tmpMap);
-    org.apache.blur.thirdparty.thrift_0_9_0.meta_data.FieldMetaData.addStructMetaDataMap(ExpertQuery.class, metaDataMap);
-  }
-
-  public ExpertQuery() {
-  }
-
-  public ExpertQuery(
-    ByteBuffer query,
-    ByteBuffer filter)
-  {
-    this();
-    this.query = query;
-    this.filter = filter;
-  }
-
-  /**
-   * Performs a deep copy on <i>other</i>.
-   */
-  public ExpertQuery(ExpertQuery other) {
-    if (other.isSetQuery()) {
-      this.query = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.copyBinary(other.query);
-;
-    }
-    if (other.isSetFilter()) {
-      this.filter = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.copyBinary(other.filter);
-;
-    }
-  }
-
-  public ExpertQuery deepCopy() {
-    return new ExpertQuery(this);
-  }
-
-  @Override
-  public void clear() {
-    this.query = null;
-    this.filter = null;
-  }
-
-  /**
-   * The serialized query.
-   */
-  public byte[] getQuery() {
-    setQuery(org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.rightSize(query));
-    return query == null ? null : query.array();
-  }
-
-  public ByteBuffer bufferForQuery() {
-    return query;
-  }
-
-  /**
-   * The serialized query.
-   */
-  public ExpertQuery setQuery(byte[] query) {
-    setQuery(query == null ? (ByteBuffer)null : ByteBuffer.wrap(query));
-    return this;
-  }
-
-  public ExpertQuery setQuery(ByteBuffer query) {
-    this.query = query;
-    return this;
-  }
-
-  public void unsetQuery() {
-    this.query = null;
-  }
-
-  /** Returns true if field query is set (has been assigned a value) and false otherwise */
-  public boolean isSetQuery() {
-    return this.query != null;
-  }
-
-  public void setQueryIsSet(boolean value) {
-    if (!value) {
-      this.query = null;
-    }
-  }
-
-  /**
-   * The serialized filter.
-   */
-  public byte[] getFilter() {
-    setFilter(org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.rightSize(filter));
-    return filter == null ? null : filter.array();
-  }
-
-  public ByteBuffer bufferForFilter() {
-    return filter;
-  }
-
-  /**
-   * The serialized filter.
-   */
-  public ExpertQuery setFilter(byte[] filter) {
-    setFilter(filter == null ? (ByteBuffer)null : ByteBuffer.wrap(filter));
-    return this;
-  }
-
-  public ExpertQuery setFilter(ByteBuffer filter) {
-    this.filter = filter;
-    return this;
-  }
-
-  public void unsetFilter() {
-    this.filter = null;
-  }
-
-  /** Returns true if field filter is set (has been assigned a value) and false otherwise */
-  public boolean isSetFilter() {
-    return this.filter != null;
-  }
-
-  public void setFilterIsSet(boolean value) {
-    if (!value) {
-      this.filter = null;
-    }
-  }
-
-  public void setFieldValue(_Fields field, Object value) {
-    switch (field) {
-    case QUERY:
-      if (value == null) {
-        unsetQuery();
-      } else {
-        setQuery((ByteBuffer)value);
-      }
-      break;
-
-    case FILTER:
-      if (value == null) {
-        unsetFilter();
-      } else {
-        setFilter((ByteBuffer)value);
-      }
-      break;
-
-    }
-  }
-
-  public Object getFieldValue(_Fields field) {
-    switch (field) {
-    case QUERY:
-      return getQuery();
-
-    case FILTER:
-      return getFilter();
-
-    }
-    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 QUERY:
-      return isSetQuery();
-    case FILTER:
-      return isSetFilter();
-    }
-    throw new IllegalStateException();
-  }
-
-  @Override
-  public boolean equals(Object that) {
-    if (that == null)
-      return false;
-    if (that instanceof ExpertQuery)
-      return this.equals((ExpertQuery)that);
-    return false;
-  }
-
-  public boolean equals(ExpertQuery that) {
-    if (that == null)
-      return false;
-
-    boolean this_present_query = true && this.isSetQuery();
-    boolean that_present_query = true && that.isSetQuery();
-    if (this_present_query || that_present_query) {
-      if (!(this_present_query && that_present_query))
-        return false;
-      if (!this.query.equals(that.query))
-        return false;
-    }
-
-    boolean this_present_filter = true && this.isSetFilter();
-    boolean that_present_filter = true && that.isSetFilter();
-    if (this_present_filter || that_present_filter) {
-      if (!(this_present_filter && that_present_filter))
-        return false;
-      if (!this.filter.equals(that.filter))
-        return false;
-    }
-
-    return true;
-  }
-
-  @Override
-  public int hashCode() {
-    return 0;
-  }
-
-  public int compareTo(ExpertQuery other) {
-    if (!getClass().equals(other.getClass())) {
-      return getClass().getName().compareTo(other.getClass().getName());
-    }
-
-    int lastComparison = 0;
-    ExpertQuery typedOther = (ExpertQuery)other;
-
-    lastComparison = Boolean.valueOf(isSetQuery()).compareTo(typedOther.isSetQuery());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetQuery()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.query, typedOther.query);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    lastComparison = Boolean.valueOf(isSetFilter()).compareTo(typedOther.isSetFilter());
-    if (lastComparison != 0) {
-      return lastComparison;
-    }
-    if (isSetFilter()) {
-      lastComparison = org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.compareTo(this.filter, typedOther.filter);
-      if (lastComparison != 0) {
-        return lastComparison;
-      }
-    }
-    return 0;
-  }
-
-  public _Fields fieldForId(int fieldId) {
-    return _Fields.findByThriftId(fieldId);
-  }
-
-  public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-    schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
-  }
-
-  public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-    schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
-  }
-
-  @Override
-  public String toString() {
-    StringBuilder sb = new StringBuilder("ExpertQuery(");
-    boolean first = true;
-
-    sb.append("query:");
-    if (this.query == null) {
-      sb.append("null");
-    } else {
-      org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.toString(this.query, sb);
-    }
-    first = false;
-    if (!first) sb.append(", ");
-    sb.append("filter:");
-    if (this.filter == null) {
-      sb.append("null");
-    } else {
-      org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper.toString(this.filter, sb);
-    }
-    first = false;
-    sb.append(")");
-    return sb.toString();
-  }
-
-  public void validate() throws org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(out)));
-    } catch (org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TCompactProtocol(new org.apache.blur.thirdparty.thrift_0_9_0.transport.TIOStreamTransport(in)));
-    } catch (org.apache.blur.thirdparty.thrift_0_9_0.TException te) {
-      throw new java.io.IOException(te);
-    }
-  }
-
-  private static class ExpertQueryStandardSchemeFactory implements SchemeFactory {
-    public ExpertQueryStandardScheme getScheme() {
-      return new ExpertQueryStandardScheme();
-    }
-  }
-
-  private static class ExpertQueryStandardScheme extends StandardScheme<ExpertQuery> {
-
-    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol iprot, ExpertQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      org.apache.blur.thirdparty.thrift_0_9_0.protocol.TField schemeField;
-      iprot.readStructBegin();
-      while (true)
-      {
-        schemeField = iprot.readFieldBegin();
-        if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STOP) { 
-          break;
-        }
-        switch (schemeField.id) {
-          case 1: // QUERY
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING) {
-              struct.query = iprot.readBinary();
-              struct.setQueryIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          case 2: // FILTER
-            if (schemeField.type == org.apache.blur.thirdparty.thrift_0_9_0.protocol.TType.STRING) {
-              struct.filter = iprot.readBinary();
-              struct.setFilterIsSet(true);
-            } else { 
-              org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocolUtil.skip(iprot, schemeField.type);
-            }
-            break;
-          default:
-            org.apache.blur.thirdparty.thrift_0_9_0.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.blur.thirdparty.thrift_0_9_0.protocol.TProtocol oprot, ExpertQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      struct.validate();
-
-      oprot.writeStructBegin(STRUCT_DESC);
-      if (struct.query != null) {
-        oprot.writeFieldBegin(QUERY_FIELD_DESC);
-        oprot.writeBinary(struct.query);
-        oprot.writeFieldEnd();
-      }
-      if (struct.filter != null) {
-        oprot.writeFieldBegin(FILTER_FIELD_DESC);
-        oprot.writeBinary(struct.filter);
-        oprot.writeFieldEnd();
-      }
-      oprot.writeFieldStop();
-      oprot.writeStructEnd();
-    }
-
-  }
-
-  private static class ExpertQueryTupleSchemeFactory implements SchemeFactory {
-    public ExpertQueryTupleScheme getScheme() {
-      return new ExpertQueryTupleScheme();
-    }
-  }
-
-  private static class ExpertQueryTupleScheme extends TupleScheme<ExpertQuery> {
-
-    @Override
-    public void write(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, ExpertQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      TTupleProtocol oprot = (TTupleProtocol) prot;
-      BitSet optionals = new BitSet();
-      if (struct.isSetQuery()) {
-        optionals.set(0);
-      }
-      if (struct.isSetFilter()) {
-        optionals.set(1);
-      }
-      oprot.writeBitSet(optionals, 2);
-      if (struct.isSetQuery()) {
-        oprot.writeBinary(struct.query);
-      }
-      if (struct.isSetFilter()) {
-        oprot.writeBinary(struct.filter);
-      }
-    }
-
-    @Override
-    public void read(org.apache.blur.thirdparty.thrift_0_9_0.protocol.TProtocol prot, ExpertQuery struct) throws org.apache.blur.thirdparty.thrift_0_9_0.TException {
-      TTupleProtocol iprot = (TTupleProtocol) prot;
-      BitSet incoming = iprot.readBitSet(2);
-      if (incoming.get(0)) {
-        struct.query = iprot.readBinary();
-        struct.setQueryIsSet(true);
-      }
-      if (incoming.get(1)) {
-        struct.filter = iprot.readBinary();
-        struct.setFilterIsSet(true);
-      }
-    }
-  }
-
-}
-

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Facet.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
index dc70fa2..b0794f0 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/Facet.java
@@ -64,12 +64,34 @@ public class Facet implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<Face
     schemes.put(TupleScheme.class, new FacetTupleSchemeFactory());
   }
 
+  /**
+   * The facet query.
+   */
   public String queryStr; // required
+  /**
+   * The minimum number of results before no longer processing the facet.  This
+   * is a good way to decrease the strain on the system while using many facets. For
+   * example if you set this attribute to 1000, then the shard server will stop
+   * processing the facet at the 1000 mark.  However because this is processed at
+   * the shard server level the controller will likely return more than the minimum
+   * because it sums the answers from the shard servers.
+   */
   public long minimumNumberOfBlurResults; // required
 
   /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
   public enum _Fields implements org.apache.blur.thirdparty.thrift_0_9_0.TFieldIdEnum {
+    /**
+     * The facet query.
+     */
     QUERY_STR((short)1, "queryStr"),
+    /**
+     * The minimum number of results before no longer processing the facet.  This
+     * is a good way to decrease the strain on the system while using many facets. For
+     * example if you set this attribute to 1000, then the shard server will stop
+     * processing the facet at the 1000 mark.  However because this is processed at
+     * the shard server level the controller will likely return more than the minimum
+     * because it sums the answers from the shard servers.
+     */
     MINIMUM_NUMBER_OF_BLUR_RESULTS((short)2, "minimumNumberOfBlurResults");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -179,10 +201,16 @@ public class Facet implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<Face
 
   }
 
+  /**
+   * The facet query.
+   */
   public String getQueryStr() {
     return this.queryStr;
   }
 
+  /**
+   * The facet query.
+   */
   public Facet setQueryStr(String queryStr) {
     this.queryStr = queryStr;
     return this;
@@ -203,10 +231,26 @@ public class Facet implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<Face
     }
   }
 
+  /**
+   * The minimum number of results before no longer processing the facet.  This
+   * is a good way to decrease the strain on the system while using many facets. For
+   * example if you set this attribute to 1000, then the shard server will stop
+   * processing the facet at the 1000 mark.  However because this is processed at
+   * the shard server level the controller will likely return more than the minimum
+   * because it sums the answers from the shard servers.
+   */
   public long getMinimumNumberOfBlurResults() {
     return this.minimumNumberOfBlurResults;
   }
 
+  /**
+   * The minimum number of results before no longer processing the facet.  This
+   * is a good way to decrease the strain on the system while using many facets. For
+   * example if you set this attribute to 1000, then the shard server will stop
+   * processing the facet at the 1000 mark.  However because this is processed at
+   * the shard server level the controller will likely return more than the minimum
+   * because it sums the answers from the shard servers.
+   */
   public Facet setMinimumNumberOfBlurResults(long minimumNumberOfBlurResults) {
     this.minimumNumberOfBlurResults = minimumNumberOfBlurResults;
     setMinimumNumberOfBlurResultsIsSet(true);

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/42c1afed/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FetchResult.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FetchResult.java b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FetchResult.java
index e00b2cc..7a71e98 100644
--- a/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FetchResult.java
+++ b/distribution/src/main/scripts/interface/gen-java/org/apache/blur/thrift/generated/FetchResult.java
@@ -50,7 +50,8 @@ import java.util.Arrays;
 //import org.slf4j.LoggerFactory;
 
 /**
- * FetchResult contains the row or record fetch result based if the Selector was going to fetch the entire row or a single record.
+ * FetchResult contains the row or record fetch result based if the Selector
+ * was going to fetch the entire row or a single record.
  */
 public class FetchResult implements org.apache.blur.thirdparty.thrift_0_9_0.TBase<FetchResult, FetchResult._Fields>, java.io.Serializable, Cloneable {
   private static final org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct STRUCT_DESC = new org.apache.blur.thirdparty.thrift_0_9_0.protocol.TStruct("FetchResult");


Mime
View raw message