Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3FD70200CAC for ; Sun, 4 Jun 2017 19:01:38 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3EC5D160BE3; Sun, 4 Jun 2017 17:01:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id AC175160BBE for ; Sun, 4 Jun 2017 19:01:35 +0200 (CEST) Received: (qmail 64533 invoked by uid 500); 4 Jun 2017 17:01:34 -0000 Mailing-List: contact commits-help@gora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@gora.apache.org Delivered-To: mailing list commits@gora.apache.org Received: (qmail 64388 invoked by uid 99); 4 Jun 2017 17:01:33 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2017 17:01:33 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4C108DFBC6; Sun, 4 Jun 2017 17:01:33 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: djkevincr@apache.org To: commits@gora.apache.org Date: Sun, 04 Jun 2017 17:01:45 -0000 Message-Id: <53d84edaf6dd49a8bb097c8e9c0c12ed@git.apache.org> In-Reply-To: <2c3a0239fdd2482c8dbd3f4e4bfe66f4@git.apache.org> References: <2c3a0239fdd2482c8dbd3f4e4bfe66f4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [14/20] gora git commit: Remove old solr module and Rename solr5 module into solr module archived-at: Sun, 04 Jun 2017 17:01:38 -0000 http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/solrconfig.xml ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/solrconfig.xml b/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/solrconfig.xml new file mode 100644 index 0000000..a75b607 --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/solrconfig.xml @@ -0,0 +1,1411 @@ + + + + + + + + + 6.5.1 + + + + + + + + + + + + + + + + + + + + ${solr.data.dir:} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${solr.lock.type:native} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ${solr.ulog.dir:} + ${solr.ulog.numVersionBuckets:65536} + + + + + ${solr.autoCommit.maxTime:15000} + false + + + + + + ${solr.autoSoftCommit.maxTime:-1} + + + + + + + + + + + + + + + + 1024 + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + 20 + + + 200 + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + explicit + 10 + + + + + + + + + + + + + + + explicit + json + true + + + + + + + + explicit + + + + + + _text_ + + + + + + + + + true + ignored_ + _text_ + + + + + + + + text_general + + + + + + default + _text_ + solr.DirectSolrSpellChecker + + internal + + 0.5 + + 2 + + 1 + + 5 + + 4 + + 0.01 + + + + + + + + + + + + default + on + true + 10 + 5 + 5 + true + true + 10 + 5 + + + spellcheck + + + + + + + + + + true + + + tvComponent + + + + + + + + + + + + true + false + + + terms + + + + + + + + string + elevate.xml + + + + + + explicit + + + elevator + + + + + + + + + + + 100 + + + + + + + + 70 + + 0.5 + + [-\w ,/\n\"']{20,200} + + + + + + + ]]> + ]]> + + + + + + + + + + + + + + + + + + + + + + + + ,, + ,, + ,, + ,, + ,]]> + ]]> + + + + + + 10 + .,!? + + + + + + + WORD + + + en + US + + + + + + + + + + + + + + [^\w-\.] + _ + + + + + + + + + + + + + + + + + + + + + + + + + + + text/plain; charset=UTF-8 + + + + + ${velocity.template.base.dir:} + ${velocity.solr.resource.loader.enabled:true} + ${velocity.params.resource.loader.enabled:false} + + + + + 5 + + + + + + + + + + + + + + http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/synonyms.txt ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/synonyms.txt b/gora-solr/src/test/conf/solr-managed-schema/Employee/conf/synonyms.txt new file mode 100644 index 0000000..f00294b --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/Employee/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 WordDelimiterFilter coming +#after us won't split it into two words. + +# Synonym mappings can be used for spelling correction too +pixima => pixma + http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/elevate.xml ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/elevate.xml b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/elevate.xml new file mode 100644 index 0000000..ed6a886 --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/elevate.xml @@ -0,0 +1,42 @@ + + + + + + + + http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/lang/stopwords_en.txt ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/lang/stopwords_en.txt b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/lang/stopwords_en.txt new file mode 100644 index 0000000..224230c --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/WebPage/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 http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/managed-schema ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/managed-schema b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/managed-schema new file mode 100644 index 0000000..d7e0ea3 --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/managed-schema @@ -0,0 +1,34 @@ + + + + + + url + + + + + + + + + + + + + \ No newline at end of file http://git-wip-us.apache.org/repos/asf/gora/blob/3b2f282d/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/protwords.txt ---------------------------------------------------------------------- diff --git a/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/protwords.txt b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/protwords.txt new file mode 100644 index 0000000..5a32e50 --- /dev/null +++ b/gora-solr/src/test/conf/solr-managed-schema/WebPage/conf/protwords.txt @@ -0,0 +1,21 @@ +# 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. + +# Some non-words that normally won't be encountered, +# just to test that they won't be stemmed. +dontstems +zwhacky +