incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [11/13] Renamed Lucene interface to ShardServer.
Date Fri, 09 Nov 2012 02:16:01 GMT
http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7facf5a2/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Document.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Document.java
b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Document.java
index 52244c2..eb58daa 100644
--- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Document.java
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Document.java
@@ -60,10 +60,16 @@ public class Document implements org.apache.thrift.TBase<Document,
Document._Fie
     schemes.put(TupleScheme.class, new DocumentTupleSchemeFactory());
   }
 
+  /**
+   * 
+   */
   public List<Field> 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 {
+    /**
+     * 
+     */
     FIELDS((short)1, "fields");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -178,10 +184,16 @@ public class Document implements org.apache.thrift.TBase<Document,
Document._Fie
     this.fields.add(elem);
   }
 
+  /**
+   * 
+   */
   public List<Field> getFields() {
     return this.fields;
   }
 
+  /**
+   * 
+   */
   public Document setFields(List<Field> fields) {
     this.fields = fields;
     return this;

http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/7facf5a2/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Field.java
----------------------------------------------------------------------
diff --git a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Field.java b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Field.java
index 7d51828..07dd352 100644
--- a/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Field.java
+++ b/src/blur-thrift/src/main/java/org/apache/blur/thrift/generated/Field.java
@@ -63,24 +63,44 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
     schemes.put(TupleScheme.class, new FieldTupleSchemeFactory());
   }
 
+  /**
+   * The name of the field.
+   */
   public String name; // required
+  /**
+   * The value of the field in binary form.  If the value is a string, the string should
be in UTF-8 format.
+   */
   public ByteBuffer value; // required
   /**
+   * The type of the field, this represents how the data is stored and the default indexing
schema for the data.
    * 
    * @see TYPE
    */
   public TYPE type; // required
+  /**
+   * The boost of the field.  Default of 1.0 for no change to the boost.
+   */
   public double boost; // 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 value of the field in binary form.  If the value is a string, the string should
be in UTF-8 format.
+     */
     VALUE((short)2, "value"),
     /**
+     * The type of the field, this represents how the data is stored and the default indexing
schema for the data.
      * 
      * @see TYPE
      */
     TYPE((short)3, "type"),
+    /**
+     * The boost of the field.  Default of 1.0 for no change to the boost.
+     */
     BOOST((short)4, "boost");
 
     private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
@@ -211,10 +231,16 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
 
   }
 
+  /**
+   * The name of the field.
+   */
   public String getName() {
     return this.name;
   }
 
+  /**
+   * The name of the field.
+   */
   public Field setName(String name) {
     this.name = name;
     return this;
@@ -235,6 +261,9 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
     }
   }
 
+  /**
+   * The value of the field in binary form.  If the value is a string, the string should
be in UTF-8 format.
+   */
   public byte[] getValue() {
     setValue(org.apache.thrift.TBaseHelper.rightSize(value));
     return value == null ? null : value.array();
@@ -244,6 +273,9 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
     return value;
   }
 
+  /**
+   * The value of the field in binary form.  If the value is a string, the string should
be in UTF-8 format.
+   */
   public Field setValue(byte[] value) {
     setValue(value == null ? (ByteBuffer)null : ByteBuffer.wrap(value));
     return this;
@@ -270,6 +302,7 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
   }
 
   /**
+   * The type of the field, this represents how the data is stored and the default indexing
schema for the data.
    * 
    * @see TYPE
    */
@@ -278,6 +311,7 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
   }
 
   /**
+   * The type of the field, this represents how the data is stored and the default indexing
schema for the data.
    * 
    * @see TYPE
    */
@@ -301,10 +335,16 @@ public class Field implements org.apache.thrift.TBase<Field, Field._Fields>,
jav
     }
   }
 
+  /**
+   * The boost of the field.  Default of 1.0 for no change to the boost.
+   */
   public double getBoost() {
     return this.boost;
   }
 
+  /**
+   * The boost of the field.  Default of 1.0 for no change to the boost.
+   */
   public Field setBoost(double boost) {
     this.boost = boost;
     setBoostIsSet(true);


Mime
View raw message