Author: buildbot
Date: Tue Aug 27 01:46:23 2013
New Revision: 876312
Log:
Staging update by buildbot for blur
Modified:
websites/staging/blur/trunk/content/ (props changed)
websites/staging/blur/trunk/content/blur/docs/0.2.0/Blur.html
websites/staging/blur/trunk/content/blur/docs/0.2.0/data-model.html
Propchange: websites/staging/blur/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Aug 27 01:46:23 2013
@@ -1 +1 @@
-1517509
+1517738
Modified: websites/staging/blur/trunk/content/blur/docs/0.2.0/Blur.html
==============================================================================
--- websites/staging/blur/trunk/content/blur/docs/0.2.0/Blur.html (original)
+++ websites/staging/blur/trunk/content/blur/docs/0.2.0/Blur.html Tue Aug 27
01:46:23 2013
@@ -384,7 +384,7 @@ configured amount of time.
</td><td>default</td><td>9223372036854775807</td></tr>
<tr><td>10</td><td>maxQueryTime</td><td><code>i64</code></td><td>The maximum
amount of time the query should execute before timing out.
</td><td>default</td><td>9223372036854775807</td></tr>
-<tr><td>11</td><td>uuid</td><td><code>i64</code></td><td>Sets the uuid of this
query, this is normal set by the client so that the status
+<tr><td>11</td><td>uuid</td><td><code>string</code></td><td>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.
</td><td>default</td><td></td></tr>
<tr><td>12</td><td>userContext</td><td><code>string</code></td><td>Sets a user
context, only used for logging at this point.
@@ -464,7 +464,7 @@ the controller will aggregate all the sh
</td><td>default</td><td></td></tr>
<tr><td>5</td><td>state</td><td><code><a
href="Blur.html#Enum_QueryState">QueryState</a></code></td><td>The state of the
query. e.g. RUNNING, INTERRUPTED, COMPLETE
</td><td>default</td><td></td></tr>
-<tr><td>6</td><td>uuid</td><td><code>i64</code></td><td>The uuid of the query.
+<tr><td>6</td><td>uuid</td><td><code>string</code></td><td>The uuid of the
query.
</td><td>default</td><td></td></tr>
<tr><td>7</td><td>status</td><td><code><a
href="Blur.html#Enum_Status">Status</a></code></td><td>The status of the query
NOT_FOUND if uuid is not found else FOUND
</td><td>default</td><td></td></tr>
@@ -719,7 +719,7 @@ throws <code><a href="Blur.html#Struct_B
</td></tr>
</table></p></section><section><div class="page-header"><h4
id="Fn_Blur_cancelQuery">Function: Blur.cancelQuery</h4></div><p class="lead">
<pre><code>void</code> cancelQuery(<code>string</code> table,
-<code>i64</code> uuid)
+<code>string</code> uuid)
throws <code><a href="Blur.html#Struct_BlurException">BlurException</a></code>
</pre>Cancels a query that is executing against the given table with the given
uuid. Note, the
cancel call maybe take some time for the query actually stops executing.
@@ -729,7 +729,7 @@ cancel call maybe take some time for the
<tr><td>uuid</td><td>the uuid of the query.
</td></tr>
</table></p></section><section><div class="page-header"><h4
id="Fn_Blur_queryStatusIdList">Function: Blur.queryStatusIdList</h4></div><p
class="lead">
-<pre><code>list<<code>i64</code>></code>
queryStatusIdList(<code>string</code> table)
+<pre><code>list<<code>string</code>></code>
queryStatusIdList(<code>string</code> table)
throws <code><a href="Blur.html#Struct_BlurException">BlurException</a></code>
</pre>Returns a list of the query ids of queries that have recently been
executed for the given table.
@return list of all the uuids of the queries uuids.
@@ -738,7 +738,7 @@ throws <code><a href="Blur.html#Struct_B
</td></tr>
</table></p></section><section><div class="page-header"><h4
id="Fn_Blur_queryStatusById">Function: Blur.queryStatusById</h4></div><p
class="lead">
<pre><code><a
href="Blur.html#Struct_BlurQueryStatus">BlurQueryStatus</a></code>
queryStatusById(<code>string</code> table,
-<code>i64</code> uuid)
+<code>string</code> uuid)
throws <code><a href="Blur.html#Struct_BlurException">BlurException</a></code>
</pre>Returns the query status for the given table and query uuid.
@return fetches the BlurQueryStatus for the given table and uuid.
Modified: websites/staging/blur/trunk/content/blur/docs/0.2.0/data-model.html
==============================================================================
--- websites/staging/blur/trunk/content/blur/docs/0.2.0/data-model.html
(original)
+++ websites/staging/blur/trunk/content/blur/docs/0.2.0/data-model.html Tue Aug
27 01:46:23 2013
@@ -65,6 +65,7 @@
<li><a href="#text_query">Text</a></li>
<li><a href="#string_query">String</a></li>
<li><a href="#numeric_query">Numeric</a></li>
+ <li><a href="#date_query">Date</a></li>
<li><a href="#spatial_query">Spatial</a></li>
</ul>
</li>
@@ -77,6 +78,7 @@
<li><a href="#int_type">Integer</a></li>
<li><a href="#float_type">Float</a></li>
<li><a href="#double_type">Double</a></li>
+ <li><a href="#date_type">Date</a></li>
<li><a href="#stored_type">Stored</a></li>
<li><a href="#spatial_type">Spatial</a>
<ul class="nav">
@@ -238,6 +240,27 @@ To run a query to find all the rows that
To run a query to find all the rows that contain a column with a starting
value of "12345" and an ending values of "54321" where the
family is "docs" and the column is "id".
<pre><code class="json">docs.id:[12345 TO 54321]</code></pre>
</p>
+
+<h3 id="date_query">Date</h3>
+<p>Date types are basically a long field type with a date parser built-in.
+
+The date type can perform two types of queries:
+<ul>
+<li>Exact Match</li>
+<li>Range</li>
+</ul>
+</p>
+
+<h4>Examples:</h4>
+<p>
+To run a query to find all the rows that contain a column with a value of
"2012-09-11" where the family is "docs" and the column is
"published_date".
+<pre><code class="json">docs.published_date:2013-09-11</code></pre>
+</p>
+<p>
+To run a query to find all the rows that contain a column with a starting
value of "2012-09-11" and an ending values of "2013-09-11"
where the family is "docs" and the column is
"published_date".
+<pre><code class="json">docs.published_date:[2012-09-11 TO
2013-09-11]</code></pre>
+</p>
+
<h3 id="spatial_query">Spatial</h3>
<p>
Spatial queries are supported through the Lucene spatial module. There are
currently three
@@ -325,6 +348,18 @@ To run a query to find all the rows that
<li>"numericPrecisionStep" -Optional- default value is
"4"</li>
</ul>
</p>
+ <h3 id="date_type">Date</h3>
+ <p>
+ The Date Type has the type name of:
+ <pre><code class="json">date</code></pre>
+ <h5>Property Options:</h5>
+ <ul>
+ <li>"dateFormat" -Required- Examples:
"yyyy-MM-dd", "MM/dd/yyyy" or anything that
SimpleDateFormat can parse.</li>
+ <li>"timeUnit" -Optional-
Default is SECONDS. Other options (DAYS, HOURS, MINUTES, SECONDS,
MILLISECONDS)</li>
+ <li>"numericPrecisionStep"
-Optional- default value is "4"</li>
+ </ul>
+ </p>
+
<h3 id="stored_type">Stored</h3>
<p>
The Stored Type has the type name of: