You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2014/08/19 16:56:27 UTC

svn commit: r1618878 - in /lucene/dev/trunk/solr: ./ example/example-DIH/ example/example-DIH/hsqldb/ example/example-DIH/solr/solr/conf/ example/example-DIH/solr/tika/conf/ example/exampledocs/

Author: ehatcher
Date: Tue Aug 19 14:56:26 2014
New Revision: 1618878

URL: http://svn.apache.org/r1618878
Log:
SOLR-6378: Fixed example/example-DIH/ issues with "tika" and "solr" configurations, and tidied up README.txt


Added:
    lucene/dev/trunk/solr/example/exampledocs/solr-word.pdf   (with props)
Modified:
    lucene/dev/trunk/solr/CHANGES.txt
    lucene/dev/trunk/solr/example/example-DIH/README.txt
    lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.log
    lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.properties
    lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/solr-data-config.xml
    lucene/dev/trunk/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml

Modified: lucene/dev/trunk/solr/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/CHANGES.txt?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
--- lucene/dev/trunk/solr/CHANGES.txt (original)
+++ lucene/dev/trunk/solr/CHANGES.txt Tue Aug 19 14:56:26 2014
@@ -294,6 +294,9 @@ Bug Fixes
 
 * SOLR-6314: Multi-threaded facet counts differ when SolrCloud has >1 shard (Erick Erickson)
 
+* SOLR-6378: Fixed example/example-DIH/ issues with "tika" and "solr" configurations, and tidied up README.txt
+  (Daniel Shchyokin via ehatcher)
+
 Optimizations
 ---------------------
 

Modified: lucene/dev/trunk/solr/example/example-DIH/README.txt
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/README.txt?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/README.txt (original)
+++ lucene/dev/trunk/solr/example/example-DIH/README.txt Tue Aug 19 14:56:26 2014
@@ -21,26 +21,30 @@ Change to the parent (example) directory
 > cd ..
 > java -Dsolr.solr.home="./example-DIH/solr/" -jar start.jar
 
-in this directory, and when Solr is started connect to 
+in this directory, and when Solr is started connect to:
 
   http://localhost:8983/solr/
 
-To import data from the hsqldb database, connect to
+* To import data from the hsqldb database, connect to:
 
   http://localhost:8983/solr/db/dataimport?command=full-import
 
-To import data from the slashdot feed, connect to
+* To import data from an RSS feed, connect to:
 
   http://localhost:8983/solr/rss/dataimport?command=full-import
 
-To import data from your imap server
+* To import data from your IMAP server:
 
-1. Edit the example-DIH/solr/mail/conf/mail-data-config.xml and add details about username, password, imap server
-2. Connect to http://localhost:8983/solr/mail/dataimport?command=full-import
+  1. Edit the example-DIH/solr/mail/conf/mail-data-config.xml and add details about username, password, IMAP server
+  2. Connect to http://localhost:8983/solr/mail/dataimport?command=full-import
 
-To copy data from db Solr core, connect to
+* To copy data from db Solr core, connect to:
 
- http://localhost:8983/solr/solr/dataimport?command=full-import
+  http://localhost:8983/solr/solr/dataimport?command=full-import
+
+* To index a full text document using Tika integration:
+
+  http://localhost:8983/solr/tika/dataimport?command=full-import
 
 See also README.txt in the solr subdirectory, and check
 http://wiki.apache.org/solr/DataImportHandler for detailed

Modified: lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.log
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.log?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
Binary files - no diff available.

Modified: lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.properties
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.properties?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.properties (original)
+++ lucene/dev/trunk/solr/example/example-DIH/hsqldb/ex.properties Tue Aug 19 14:56:26 2014
@@ -1,5 +1,5 @@
-#HSQL Database Engine 1.8.0.5
-#Fri Aug 29 10:24:33 IST 2008
+#HSQL Database Engine 1.8.0.10
+#Tue Aug 19 10:31:19 EDT 2014
 hsqldb.script_format=0
 runtime.gc_interval=0
 sql.enforce_strict_size=false

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/solr-data-config.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/solr-data-config.xml?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/solr-data-config.xml (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/solr/conf/solr-data-config.xml Tue Aug 19 14:56:26 2014
@@ -17,6 +17,9 @@
 
 <dataConfig>
   <document>
-    <entity name="sep" processor="SolrEntityProcessor" url="http://127.0.0.1:8983/solr/db " query="*:*"/>
+    <entity name="sep" processor="SolrEntityProcessor"
+            url="http://127.0.0.1:8983/solr/db "
+            query="*:*"
+            fl="*,orig_version_l:_version_"/>
   </document>
 </dataConfig>

Modified: lucene/dev/trunk/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml?rev=1618878&r1=1618877&r2=1618878&view=diff
==============================================================================
--- lucene/dev/trunk/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml (original)
+++ lucene/dev/trunk/solr/example/example-DIH/solr/tika/conf/tika-data-config.xml Tue Aug 19 14:56:26 2014
@@ -2,7 +2,7 @@
     <dataSource type="BinFileDataSource" />
     <document>
         <entity name="tika-test" processor="TikaEntityProcessor"
-                url="../contrib/extraction/src/test-files/extraction/solr-word.pdf" format="text">
+                url="exampledocs/solr-word.pdf" format="text">
                 <field column="Author" name="author" meta="true"/>
                 <field column="title" name="title" meta="true"/>
                 <field column="text" name="text"/>

Added: lucene/dev/trunk/solr/example/exampledocs/solr-word.pdf
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/example/exampledocs/solr-word.pdf?rev=1618878&view=auto
==============================================================================
Binary file - no diff available.