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 @@ + + + + + + + + + +