incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject svn commit: r1517975 - in /incubator/blur/site/trunk/content/blur/docs/0.2.0: data-model.html getting-started.html using-blur.base.html using-blur.html
Date Tue, 27 Aug 2013 20:37:54 GMT
Author: amccurry
Date: Tue Aug 27 20:37:54 2013
New Revision: 1517975

URL: http://svn.apache.org/r1517975
Log:
More documentation updates.

Modified:
    incubator/blur/site/trunk/content/blur/docs/0.2.0/data-model.html
    incubator/blur/site/trunk/content/blur/docs/0.2.0/getting-started.html
    incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.base.html
    incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.html

Modified: incubator/blur/site/trunk/content/blur/docs/0.2.0/data-model.html
URL: http://svn.apache.org/viewvc/incubator/blur/site/trunk/content/blur/docs/0.2.0/data-model.html?rev=1517975&r1=1517974&r2=1517975&view=diff
==============================================================================
--- incubator/blur/site/trunk/content/blur/docs/0.2.0/data-model.html (original)
+++ incubator/blur/site/trunk/content/blur/docs/0.2.0/data-model.html Tue Aug 27 20:37:54
2013
@@ -300,7 +300,8 @@ To run a query to find all the rows that
 <pre><code class="json">text</code></pre>
               <h5>Property Options:</h5>
               <ul>
-              <li>None</li>
+              <li>&quot;stopWordPath&quot; -Optional- default value is no stop
words.  This should be a HDFS path.
+	<br/>This will load stop words into the StandardAnalyzer for this field, one term
per line.</li>
               </ul>
 		  </p>
               <h3 id="string_type">String</h3>

Modified: incubator/blur/site/trunk/content/blur/docs/0.2.0/getting-started.html
URL: http://svn.apache.org/viewvc/incubator/blur/site/trunk/content/blur/docs/0.2.0/getting-started.html?rev=1517975&r1=1517974&r2=1517975&view=diff
==============================================================================
--- incubator/blur/site/trunk/content/blur/docs/0.2.0/getting-started.html (original)
+++ incubator/blur/site/trunk/content/blur/docs/0.2.0/getting-started.html Tue Aug 27 20:37:54
2013
@@ -190,14 +190,14 @@ localhost: Stopping ZooKeeper with pid [
 <h3 id="shell-create">Create Table</h3>
 <p>
             <pre><code class="bash">blur> #Creates a table called testtable
in the local directory of /data/testtable with 11 shards
-blur> create testtable file:///data/testtable 11
+blur> create -t testtable -c 11 -l file:///data/testtable
 </code></pre>
 </p>
 <h3 id="shell-mutate">Mutate</h3>
 <p>
 <pre><code class="bash">
 blur> #Adds a row to testtable
-blur> mutate testtable rowid1 recordid1 fam0 col1 value1
+blur> mutate testtable rowid1 recordid1 fam0 col1:value1
 </code></pre>
 </p>
 <h3 id="shell-query">Query</h3>

Modified: incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.base.html
URL: http://svn.apache.org/viewvc/incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.base.html?rev=1517975&r1=1517974&r2=1517975&view=diff
==============================================================================
--- incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.base.html (original)
+++ incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.base.html Tue Aug 27 20:37:54
2013
@@ -340,7 +340,24 @@ default text files.
             <div class="page-header">
               <h1 id="jdbc">JDBC</h1>
             </div>
-            <p>TODO</p>
+            <p>
+The JDBC driver is very experimental and is currently read-only.  It has a very basic SQL-ish
+language that should allow for most Blur queries.
+
+Basic SQL syntax will work for example:<br/>
+<pre><code class="bash">select * from testtable where fam1.col1 = 'val1'</code></pre>
+
+You may also use Lucene syntax by wrapping the Lucene query in a &quot;query()&quot;
function:<br/>
+<pre><code class="bash">select * from testtable where query(fam1.col1:val?)</code></pre>
+
+Here is a screenshot of the JDBC driver in SQuirrel:
+
+<img src="resources/img/SQuirrel.png">
+<br/>
+<br/>
+<br/>
+<br/>
+</p>
           </section>
         </div>
       </div>

Modified: incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.html
URL: http://svn.apache.org/viewvc/incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.html?rev=1517975&r1=1517974&r2=1517975&view=diff
==============================================================================
--- incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.html (original)
+++ incubator/blur/site/trunk/content/blur/docs/0.2.0/using-blur.html Tue Aug 27 20:37:54
2013
@@ -318,7 +318,7 @@ The following rules are used when intera
 <pre><code class="bash">get &lt;tablename&gt; &lt;rowid&gt;</code></pre></p>
 <h4 id="shell_command_mutate">mutate</h4>
 <p>Description: Mutate the specified row.<br/>
-<pre><code class="bash">mutate &lt;tablename&gt; &lt;rowid&gt;
&lt;recordid&gt; &lt;columnfamily&gt; &lt;columnname&gt; &lt;value&gt;</code></pre></p>
+<pre><code class="bash">mutate &lt;tablename&gt; &lt;rowid&gt;
&lt;recordid&gt; &lt;columnfamily&gt; &lt;columnname&gt;:&lt;value&gt;*</code></pre></p>
 <h4 id="shell_command_delete">delete</h4>
 <p>Description: Delete the specified row.<br/>
 <pre><code class="bash">delete &lt;tablename&gt; &lt;rowid&gt;</code></pre></p>



Mime
View raw message