From 7478e610d99d1f2fb383ecbfa0b70d72eae27f81 Mon Sep 17 00:00:00 2001 From: server Date: Tue, 10 Dec 2019 18:12:37 -0500 Subject: solr changes --- .../solr/atom/conf/atom-data-config.xml | 35 +++++++ .../solr/atom/conf/lang/stopwords_en.txt | 54 +++++++++++ .../example-DIH/solr/atom/conf/managed-schema | 106 +++++++++++++++++++++ .../example-DIH/solr/atom/conf/protwords.txt | 17 ++++ .../example-DIH/solr/atom/conf/solrconfig.xml | 64 +++++++++++++ .../example-DIH/solr/atom/conf/synonyms.txt | 29 ++++++ .../example-DIH/solr/atom/conf/url_types.txt | 1 + .../example/example-DIH/solr/atom/core.properties | 1 + 8 files changed, 307 insertions(+) create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/atom-data-config.xml create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/lang/stopwords_en.txt create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/managed-schema create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/protwords.txt create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/solrconfig.xml create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/synonyms.txt create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/conf/url_types.txt create mode 100644 solr-8.3.1/example/example-DIH/solr/atom/core.properties (limited to 'solr-8.3.1/example/example-DIH/solr/atom') diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/atom-data-config.xml b/solr-8.3.1/example/example-DIH/solr/atom/conf/atom-data-config.xml new file mode 100644 index 000000000..b7de812d0 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/atom-data-config.xml @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/lang/stopwords_en.txt b/solr-8.3.1/example/example-DIH/solr/atom/conf/lang/stopwords_en.txt new file mode 100644 index 000000000..2c164c0b2 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/lang/stopwords_en.txt @@ -0,0 +1,54 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# a couple of test stopwords to test that the words are really being +# configured from this file: +stopworda +stopwordb + +# Standard english stop words taken from Lucene's StopAnalyzer +a +an +and +are +as +at +be +but +by +for +if +in +into +is +it +no +not +of +on +or +such +that +the +their +then +there +these +they +this +to +was +will +with diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/managed-schema b/solr-8.3.1/example/example-DIH/solr/atom/conf/managed-schema new file mode 100644 index 000000000..58751520d --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/managed-schema @@ -0,0 +1,106 @@ + + + + + id + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/protwords.txt b/solr-8.3.1/example/example-DIH/solr/atom/conf/protwords.txt new file mode 100644 index 000000000..1303e42a0 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/protwords.txt @@ -0,0 +1,17 @@ +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#----------------------------------------------------------------------- +# Use a protected word file to protect against the stemmer reducing two +# unrelated words to the same base word. + +lucene diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/solrconfig.xml b/solr-8.3.1/example/example-DIH/solr/atom/conf/solrconfig.xml new file mode 100644 index 000000000..3694c1531 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/solrconfig.xml @@ -0,0 +1,64 @@ + + + + + + + + 8.3.1 + + + + + + explicit + text + + + + + + + atom-data-config.xml + trim_text + + + + + text_en_splitting + + + diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/synonyms.txt b/solr-8.3.1/example/example-DIH/solr/atom/conf/synonyms.txt new file mode 100644 index 000000000..eab4ee875 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/synonyms.txt @@ -0,0 +1,29 @@ +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +#----------------------------------------------------------------------- +#some test synonym mappings unlikely to appear in real input text +aaafoo => aaabar +bbbfoo => bbbfoo bbbbar +cccfoo => cccbar cccbaz +fooaaa,baraaa,bazaaa + +# Some synonym groups specific to this example +GB,gib,gigabyte,gigabytes +MB,mib,megabyte,megabytes +Television, Televisions, TV, TVs +#notice we use "gib" instead of "GiB" so any WordDelimiterGraphFilter coming +#after us won't split it into two words. + +# Synonym mappings can be used for spelling correction too +pixima => pixma + diff --git a/solr-8.3.1/example/example-DIH/solr/atom/conf/url_types.txt b/solr-8.3.1/example/example-DIH/solr/atom/conf/url_types.txt new file mode 100644 index 000000000..808f31384 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/conf/url_types.txt @@ -0,0 +1 @@ + diff --git a/solr-8.3.1/example/example-DIH/solr/atom/core.properties b/solr-8.3.1/example/example-DIH/solr/atom/core.properties new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/solr-8.3.1/example/example-DIH/solr/atom/core.properties @@ -0,0 +1 @@ + -- cgit v1.2.3-70-g09d2