[
https://issues.apache.org/jira/browse/SOLR-5937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Rowe updated SOLR-5937:
-----------------------------
Attachment: SOLR-5937.branch_4x.patch
4.x patch.
Config sets for all of the {{example-DIH}} cores except {{tika}} are upgraded
to the latest main example config set, with changes required for each.
As previously, the {{tika}} config set is minimal. I started with the main
example config set and then cut everything out of {{tika/conf/schema.xml}} that
refers to resources that aren't there.
Run the following svn script before applying the patch:
{noformat}
svn mv solr/example/example-DIH/solr/mail/conf/{,mail-}data-config.xml
for a in mail solr rss db tika ; do
for b in solrconfig.xml schema.xml admin-extra*.html ; do
(svn rm solr/example/example-DIH/solr/$a/conf/$b &&
svn cp solr/example/solr/collection1/conf/$b
solr/example/example-DIH/solr/$a/conf/)
done
done
for a in solr rss db ; do
svn rm solr/example/example-DIH/solr/$a/conf/elevate.xml
done
for a in mail solr rss db ; do
for b in stopwords.txt synonyms.txt ; do
svn rm solr/example/example-DIH/solr/$a/conf/$b
done
done
for a in mail solr rss db ; do
for b in elevate.xml stopwords.txt synonyms.txt currency.xml ; do
svn cp solr/example/solr/collection1/conf/$b
solr/example/example-DIH/solr/$a/conf/
done
done
svn cp solr/example/solr/collection1/conf/scripts.conf
solr/example/example-DIH/solr/mail/conf/
svn rm solr/example/example-DIH/solr/db/conf/xslt
for a in mail solr rss db ; do
for b in clustering lang velocity xslt mapping-*.txt update-script.js
spellings.txt ; do
svn cp solr/example/solr/collection1/conf/$b
solr/example/example-DIH/solr/$a/conf/
done
done
{noformat}
> Modernize the DIH example config sets
> -------------------------------------
>
> Key: SOLR-5937
> URL: https://issues.apache.org/jira/browse/SOLR-5937
> Project: Solr
> Issue Type: Sub-task
> Components: Schema and Analysis
> Reporter: Steve Rowe
> Priority: Minor
> Fix For: 4.8, 5.0
>
> Attachments: SOLR-5937.branch_4x.patch
>
>
> The DIH example schemas should be modified to include trie numeric/date
> fields, and add comments about the non-trie numeric/date fields being
> deprecated and removed in 5.0.
> The DIH example {{solrconfig.xml}} files are also showing their age - they
> should be copied from the main example {{solrconfig.xml}} and have the config
> they need added back.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]