gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r913835 - in /websites/staging/gora/trunk/content: ./ current/gora-solr.html
Date Wed, 25 Jun 2014 21:19:24 GMT
Author: buildbot
Date: Wed Jun 25 21:19:24 2014
New Revision: 913835

Log:
Staging update by buildbot for gora

Modified:
    websites/staging/gora/trunk/content/   (props changed)
    websites/staging/gora/trunk/content/current/gora-solr.html

Propchange: websites/staging/gora/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Wed Jun 25 21:19:24 2014
@@ -1 +1 @@
-1605603
+1605605

Modified: websites/staging/gora/trunk/content/current/gora-solr.html
==============================================================================
--- websites/staging/gora/trunk/content/current/gora-solr.html (original)
+++ websites/staging/gora/trunk/content/current/gora-solr.html Wed Jun 25 21:19:24 2014
@@ -172,7 +172,7 @@ module enables <a href="http://lucene.ap
 </ul>
 <h2 id="gora-solr-mappings">Gora Solr mappings</h2>
 <p>Say we wished to map some Employee data and store it into the SolrStore.</p>
-<div class="codehilite"><pre><span class="nt">&lt;gora-orm&gt;</span>
+<div class="codehilite"><pre><span class="nt">&lt;gora-otd&gt;</span>
     <span class="nt">&lt;class</span> <span class="na">name=</span><span
class="s">&quot;org.apache.gora.examples.generated.Employee&quot;</span>
<span class="na">keyClass=</span><span class="s">&quot;java.lang.String&quot;</span>
<span class="na">table=</span><span class="s">&quot;Employee&quot;</span><span
class="nt">&gt;</span>
       <span class="nt">&lt;primarykey</span> <span class="na">column=</span><span
class="s">&quot;ssn&quot;</span><span class="nt">/&gt;</span>
       <span class="nt">&lt;field</span> <span class="na">name=</span><span
class="s">&quot;name&quot;</span> <span class="na">column=</span><span
class="s">&quot;name&quot;</span><span class="nt">/&gt;</span>
@@ -181,12 +181,12 @@ module enables <a href="http://lucene.ap
       <span class="nt">&lt;field</span> <span class="na">name=</span><span
class="s">&quot;boss&quot;</span> <span class="na">column=</span><span
class="s">&quot;boss&quot;</span><span class="nt">/&gt;</span>
       <span class="nt">&lt;field</span> <span class="na">name=</span><span
class="s">&quot;webpage&quot;</span> <span class="na">column=</span><span
class="s">&quot;webpage&quot;</span><span class="nt">/&gt;</span>
     <span class="nt">&lt;/class&gt;</span>
-<span class="nt">&lt;/gora-orm&gt;</span>
+<span class="nt">&lt;/gora-otd&gt;</span>
 </pre></div>
 
 
 <p>Here you can see that we require the definition of only one child element within
the 
-<code>gora-orm</code> mapping configuration, namely;</p>
+<code>gora-otd</code> mapping configuration, namely;</p>
 <p>The class element where we specify of persistent fields which values should map
to. This contains;</p>
 <ol>
 <li>



Mime
View raw message