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 2013/07/10 21:56:33 UTC

svn commit: r1501943 - in /gora/trunk: CHANGES.txt gora-tutorial/conf/gora.properties gora-tutorial/pom.xml

Author: lewismc
Date: Wed Jul 10 19:56:33 2013
New Revision: 1501943

URL: http://svn.apache.org/r1501943
Log:
GORA-256 Add Gora store to gora-tutorial

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/gora-tutorial/conf/gora.properties
    gora/trunk/gora-tutorial/pom.xml

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1501943&r1=1501942&r2=1501943&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Wed Jul 10 19:56:33 2013
@@ -4,6 +4,8 @@
 
 Gora Change Log
 
+* GORA-256 Add Solr store to gora-tutorial (Scott Stults via lewismc)
+
 * GORA-9 Implement a Solr-based store (ab, lewismc, Scott Stults)
 
 * GORA-237 Gora Compiler usage message for LPGL v3 mentions v2.1 (David Medinets via lewismc)

Modified: gora/trunk/gora-tutorial/conf/gora.properties
URL: http://svn.apache.org/viewvc/gora/trunk/gora-tutorial/conf/gora.properties?rev=1501943&r1=1501942&r2=1501943&view=diff
==============================================================================
--- gora/trunk/gora-tutorial/conf/gora.properties (original)
+++ gora/trunk/gora-tutorial/conf/gora.properties Wed Jul 10 19:56:33 2013
@@ -18,6 +18,7 @@
 ##if it is not passed to the DataStoreFactory#createDataStore() method.
 gora.datastore.default=org.apache.gora.hbase.store.HBaseStore
 #gora.datastore.default=org.apache.gora.cassandra.store.CassandraStore
+#gora.datastore.default=org.apache.gora.solr.store.SolrStore
 
 #gora.datastore.default=org.apache.gora.avro.store.AvroStore
 #gora.avrostore.input.path=hdfs://localhost:9000/gora.avrostore.test.input
@@ -44,3 +45,7 @@ gora.sqlstore.jdbc.url=jdbc:hsqldb:file:
 #gora.sqlstore.jdbc.user=root
 #gora.sqlstore.jdbc.password=
 
+gora.solrstore.solr.url=http://localhost:8983/solr
+gora.solrstore.solr.commitwithin=0
+gora.solrstore.solr.batchsize=100
+

Modified: gora/trunk/gora-tutorial/pom.xml
URL: http://svn.apache.org/viewvc/gora/trunk/gora-tutorial/pom.xml?rev=1501943&r1=1501942&r2=1501943&view=diff
==============================================================================
--- gora/trunk/gora-tutorial/pom.xml (original)
+++ gora/trunk/gora-tutorial/pom.xml Wed Jul 10 19:56:33 2013
@@ -116,6 +116,11 @@
             <artifactId>gora-sql</artifactId>
         </dependency>
 
+        <dependency>
+            <groupId>org.apache.gora</groupId>
+            <artifactId>gora-solr</artifactId>
+        </dependency>
+
 		<!-- Hadoop Dependencies -->
 		<dependency>
             <groupId>org.apache.hadoop</groupId>