You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gora.apache.org by le...@apache.org on 2014/06/25 23:19:16 UTC
svn commit: r1605605 - /gora/site/trunk/content/current/gora-solr.md
Author: lewismc
Date: Wed Jun 25 21:19:16 2014
New Revision: 1605605
URL: http://svn.apache.org/r1605605
Log:
GORA-349 Update Datastore specific mapping documentation with new default root element
Modified:
gora/site/trunk/content/current/gora-solr.md
Modified: gora/site/trunk/content/current/gora-solr.md
URL: http://svn.apache.org/viewvc/gora/site/trunk/content/current/gora-solr.md?rev=1605605&r1=1605604&r2=1605605&view=diff
==============================================================================
--- gora/site/trunk/content/current/gora-solr.md (original)
+++ gora/site/trunk/content/current/gora-solr.md Wed Jun 25 21:19:16 2014
@@ -18,7 +18,7 @@ module enables [Apache Solr](http://luce
##Gora Solr mappings
Say we wished to map some Employee data and store it into the SolrStore.
- <gora-orm>
+ <gora-otd>
<class name="org.apache.gora.examples.generated.Employee" keyClass="java.lang.String" table="Employee">
<primarykey column="ssn"/>
<field name="name" column="name"/>
@@ -27,10 +27,10 @@ Say we wished to map some Employee data
<field name="boss" column="boss"/>
<field name="webpage" column="webpage"/>
</class>
- </gora-orm>
+ </gora-otd>
Here you can see that we require the definition of only one child element within the
-<code>gora-orm</code> mapping configuration, namely;
+<code>gora-otd</code> mapping configuration, namely;
The class element where we specify of persistent fields which values should map to. This contains;