From 326e5201ce957aa24bb1f5b811b29cbba62a0b88 Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Tue, 15 Dec 2009 11:14:33 +0000 Subject: [PATCH] SOLR-1654 Add TikaEntityProcessor example to the DIHExample git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@890761 13f79535-47bb-0310-9956-ffa450edef68 --- contrib/dataimporthandler/CHANGES.txt | 2 + example/example-DIH/solr/solr.xml | 7 +- example/example-DIH/solr/tika/conf/schema.xml | 203 +++++++++ .../example-DIH/solr/tika/conf/solrconfig.xml | 410 ++++++++++++++++++ .../solr/tika/conf/tika-data-config.xml | 10 + 5 files changed, 629 insertions(+), 3 deletions(-) create mode 100644 example/example-DIH/solr/tika/conf/schema.xml create mode 100644 example/example-DIH/solr/tika/conf/solrconfig.xml create mode 100644 example/example-DIH/solr/tika/conf/tika-data-config.xml diff --git a/contrib/dataimporthandler/CHANGES.txt b/contrib/dataimporthandler/CHANGES.txt index 102fdf0dc5d..1b1823d7684 100644 --- a/contrib/dataimporthandler/CHANGES.txt +++ b/contrib/dataimporthandler/CHANGES.txt @@ -31,6 +31,8 @@ New Features * SOLR-1358 : Integration of Tika and DataImportHandler ( Akshay Ukey, noble) +* SOLR-1654 : TikaEntityProcessor example added DIHExample (Akshay Ukey via noble) + Optimizations ---------------------- diff --git a/example/example-DIH/solr/solr.xml b/example/example-DIH/solr/solr.xml index f5c8ea9be8c..39defb1f00d 100644 --- a/example/example-DIH/solr/solr.xml +++ b/example/example-DIH/solr/solr.xml @@ -1,8 +1,9 @@ - - - + + + + diff --git a/example/example-DIH/solr/tika/conf/schema.xml b/example/example-DIH/solr/tika/conf/schema.xml new file mode 100644 index 00000000000..0be581f386a --- /dev/null +++ b/example/example-DIH/solr/tika/conf/schema.xml @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text + + + + + diff --git a/example/example-DIH/solr/tika/conf/solrconfig.xml b/example/example-DIH/solr/tika/conf/solrconfig.xml new file mode 100644 index 00000000000..990c8022a77 --- /dev/null +++ b/example/example-DIH/solr/tika/conf/solrconfig.xml @@ -0,0 +1,410 @@ + + + + + + ${solr.abortOnConfigurationError:true} + + + + + + ${solr.data.dir:./solr/data} + + + + + false + + 10 + + + + 32 + 2147483647 + 10000 + 1000 + 10000 + + + + + + + + + + + single + + + + + false + 32 + 10 + + + 2147483647 + 10000 + + + false + + + + + + + + + 100000 + + + + + + + 1024 + + + + + + + + + + + + + true + + + + + + + + 50 + + + 200 + + + + + + + + + solr 0 10 + rocks 0 10 + static newSearcher warming query from solrconfig.xml + + + + + + + + + + + false + + + 4 + + + + + + + + + + + + + + + + + + + + + + + explicit + + + + + + + tika-data-config.xml + + + + + + + + explicit + + + + + + + + + + + + *:* + + + + + + diff --git a/example/example-DIH/solr/tika/conf/tika-data-config.xml b/example/example-DIH/solr/tika/conf/tika-data-config.xml new file mode 100644 index 00000000000..a7fa4e0db03 --- /dev/null +++ b/example/example-DIH/solr/tika/conf/tika-data-config.xml @@ -0,0 +1,10 @@ + + + + + + + + + +