diff --git a/solr/contrib/velocity/build.xml b/solr/contrib/velocity/build.xml deleted file mode 100644 index 5ff1321885b..00000000000 --- a/solr/contrib/velocity/build.xml +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - - - - - - - Solritas: Velocity Response Writer - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Tests failed! - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/velocity/solr-velocity-pom.xml.template b/solr/contrib/velocity/solr-velocity-pom.xml.template deleted file mode 100644 index 8e78fa5029a..00000000000 --- a/solr/contrib/velocity/solr-velocity-pom.xml.template +++ /dev/null @@ -1,61 +0,0 @@ - - - - - 4.0.0 - - - org.apache.solr - solr-parent - @version@ - - - org.apache.solr - solr-velocity - Apache Solr Velocity Extension - @version@ - Apache Solr Velocity Extension adds support for integrating Solr and Velocity - jar - - - - commons-lang - commons-lang - 2.4 - - - commons-beanutils - commons-beanutils - 1.7.0 - - - org.apache.velocity - velocity - 1.6.1 - - - org.apache.velocity - velocity-tools - 2.0-beta3 - - - diff --git a/solr/contrib/velocity/src/main/java/footer.vm b/solr/contrib/velocity/src/main/java/footer.vm deleted file mode 100644 index ad6b4b356e9..00000000000 --- a/solr/contrib/velocity/src/main/java/footer.vm +++ /dev/null @@ -1,8 +0,0 @@ -## This template currently lives in the java src/ tree as an example of templates being loaded from the classpath - -#if($params.getBool("debugQuery",false)) - #parse("debug.vm") -#end - -
-Generated by VelocityResponseWriter \ No newline at end of file diff --git a/solr/contrib/velocity/src/main/solr/conf/admin-extra.html b/solr/contrib/velocity/src/main/solr/conf/admin-extra.html deleted file mode 100644 index aa739da862c..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/admin-extra.html +++ /dev/null @@ -1,31 +0,0 @@ - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/elevate.xml b/solr/contrib/velocity/src/main/solr/conf/elevate.xml deleted file mode 100644 index 7630ebe20fb..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/elevate.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/protwords.txt b/solr/contrib/velocity/src/main/solr/conf/protwords.txt deleted file mode 100644 index 1dfc0abecbf..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/protwords.txt +++ /dev/null @@ -1,21 +0,0 @@ -# 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 - diff --git a/solr/contrib/velocity/src/main/solr/conf/schema.xml b/solr/contrib/velocity/src/main/solr/conf/schema.xml deleted file mode 100755 index 72e167de7e4..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/schema.xml +++ /dev/null @@ -1,521 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - id - - - text - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/scripts.conf b/solr/contrib/velocity/src/main/solr/conf/scripts.conf deleted file mode 100644 index f58b262ae0c..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/scripts.conf +++ /dev/null @@ -1,24 +0,0 @@ -# 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. - -user= -solr_hostname=localhost -solr_port=8983 -rsyncd_port=18983 -data_dir= -webapp_name=solr -master_host= -master_data_dir= -master_status_dir= diff --git a/solr/contrib/velocity/src/main/solr/conf/solrconfig.xml b/solr/contrib/velocity/src/main/solr/conf/solrconfig.xml deleted file mode 100755 index 16f498d1fbf..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/solrconfig.xml +++ /dev/null @@ -1,779 +0,0 @@ - - - - - - ${solr.abortOnConfigurationError:true} - - - ${solr.data.dir:./solr/data} - - - - - false - - 10 - - - - 32 - 2147483647 - 10000 - 1000 - 10000 - - - - - - - - - single - - - - - false - 32 - 10 - - - 2147483647 - 10000 - - - false - - - - - false - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - 1024 - - - - - - - - - - - - - true - - - - - - - - 50 - - - 200 - - - - - - - - - solr 0 10 - rocks 0 10 - static newSearcher warming query from solrconfig.xml - - - - - - - fast_warm 0 10 - static firstSearcher warming query from solrconfig.xml - - - - - false - - - 2 - - - - - - - - - - - - - - - - - - - - - - - explicit - - - - - - - - - - - browse - velocity.properties - Solritas - - velocity - dismax - *:* - 10 - *,score - on - cat - 1 - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - - - - - - - - - - - - - - - dismax - explicit - 0.01 - - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 - - - text^0.2 features^1.1 name^1.5 manu^1.4 manu_exact^1.9 - - - ord(popularity)^0.5 recip(rord(price),1,1000,1000)^0.3 - - - id,name,price,score - - - 2<-1 5<-2 6<90% - - 100 - *:* - - text features name - - 0 - - name - regex - - - - - - - dismax - explicit - text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 - 2<-1 5<-2 6<90% - - incubationdate_dt:[* TO NOW/DAY-1MONTH]^2.2 - - - - inStock:true - - - - cat - manu_exact - price:[* TO 500] - price:[500 TO *] - - - - - - - - - - textSpell - - - default - spell - ./spellchecker1 - - - - jarowinkler - spell - - org.apache.lucene.search.spell.JaroWinklerDistance - ./spellchecker2 - - - - - solr.FileBasedSpellChecker - file - spellings.txt - UTF-8 - ./spellcheckerFile - - - - - - - - false - - false - - 1 - - - spellcheck - - - - - - - - true - - - tvComponent - - - - - - - - string - elevate.xml - - - - - - explicit - - - elevator - - - - - - - - - - - - - - - - - - - - - - standard - solrpingquery - all - - - - - - - explicit - true - - - - - - - - - 100 - - - - - - - - 70 - - 0.5 - - [-\w ,/\n\"']{20,200} - - - - - - - ]]> - ]]> - - - - - - - - - - - - 5 - - - - - - - - - - solr - - - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/spellings.txt b/solr/contrib/velocity/src/main/solr/conf/spellings.txt deleted file mode 100644 index d7ede6f5611..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/spellings.txt +++ /dev/null @@ -1,2 +0,0 @@ -pizza -history \ No newline at end of file diff --git a/solr/contrib/velocity/src/main/solr/conf/stopwords.txt b/solr/contrib/velocity/src/main/solr/conf/stopwords.txt deleted file mode 100644 index b5824da3263..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/stopwords.txt +++ /dev/null @@ -1,58 +0,0 @@ -# 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 -s -such -t -that -the -their -then -there -these -they -this -to -was -will -with - diff --git a/solr/contrib/velocity/src/main/solr/conf/synonyms.txt b/solr/contrib/velocity/src/main/solr/conf/synonyms.txt deleted file mode 100644 index b0e31cb7ec8..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/synonyms.txt +++ /dev/null @@ -1,31 +0,0 @@ -# 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 -aaa => aaaa -bbb => bbbb1 bbbb2 -ccc => cccc1,cccc2 -a\=>a => b\=>b -a\,a => b\,b -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 - diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity.properties b/solr/contrib/velocity/src/main/solr/conf/velocity.properties deleted file mode 100644 index 5017c0637d8..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity.properties +++ /dev/null @@ -1,3 +0,0 @@ -# if the encoding of your velocity template is other than ISO-8859-1, -# set the input.encoding property. -#input.encoding = UTF-8 diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/browse.vm b/solr/contrib/velocity/src/main/solr/conf/velocity/browse.vm deleted file mode 100644 index 17687bdc4d9..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity/browse.vm +++ /dev/null @@ -1,67 +0,0 @@ -#set($searcher=$request.searcher) -#set($params=$request.params) - - - #param('title') - - - - - - -
- #parse("header.vm") - - #set($filter_queries = $params.getParams('fq')) - #foreach($fq in $filter_queries) - > $fq - #end -
- -
-
- Query: -
-
- - -
- #foreach($field in $response.facetFields) - $field.name - - #end -
- - - -
- #foreach($doc in $response.results) - #parse("hit.vm") - #end -
- - - -
- #parse("footer.vm") -
- - - \ No newline at end of file diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/debug.vm b/solr/contrib/velocity/src/main/solr/conf/velocity/debug.vm deleted file mode 100644 index 91e110e79b9..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity/debug.vm +++ /dev/null @@ -1,9 +0,0 @@ -

REQUEST

-
-$esc.html($request) -
- -

RESPONSE

-
-$esc.html($response) -
diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/header.vm b/solr/contrib/velocity/src/main/solr/conf/velocity/header.vm deleted file mode 100644 index e69de29bb2d..00000000000 diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/hit.vm b/solr/contrib/velocity/src/main/solr/conf/velocity/hit.vm deleted file mode 100644 index 2f31f22503f..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity/hit.vm +++ /dev/null @@ -1,16 +0,0 @@ -
- #foreach($fieldname in $doc.fieldNames) -

- $fieldname : - - #foreach($value in $doc.getFieldValues($fieldname)) - $value - #end - -

- #end - #if($params.getBool("debugQuery",false)) - toggle explain -
$response.getExplainMap().get($doc.getFirstValue('id'))
- #end -
diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/layout.vm b/solr/contrib/velocity/src/main/solr/conf/velocity/layout.vm deleted file mode 100644 index 28b3e32430f..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity/layout.vm +++ /dev/null @@ -1,8 +0,0 @@ - - - Solritas - - - $content - - \ No newline at end of file diff --git a/solr/contrib/velocity/src/main/solr/conf/velocity/main.css b/solr/contrib/velocity/src/main/solr/conf/velocity/main.css deleted file mode 100644 index 11f01716b3a..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/velocity/main.css +++ /dev/null @@ -1,96 +0,0 @@ -.array-field { - border: 2px solid #474747; - background: #FFE9D8; - padding: 5px; - margin: 5px; -} - -.array-field-list li { - list-style: circle; - margin-left: 20px; -} - -body { - font-family: Arial, Helvetica, sans-serif; - font-size: 10pt; -} - -.constraints-title { - background: gray; -} - -.facet-fields { - float: left; - margin: 5px; - margin-top: 0px; - background: #FEC293; - border: 2px solid #474747; - width: 185px; - padding: 2px; -} - -.facet-field { - font-weight: bold; -} - -.highlight { - color: white; - background-color: gray; - border: 1px black solid; -} - -.highlight-box { - margin-left: 15px; -} - -.field-name { - font-weight: bold; -} - -.highlighted-facet-field { - background: white; -} - -#logo { - margin: 10px; -} - -.query-box, .constraints { - padding: 5px; - margin: 5px; - border: 3px solid #474747; - color: white; - background: #FD9644; - font-weight: bold; - font-size: 16px; -} - -.query-box input { - margin-left: 8px; - width: 85%; -} - -.pagination { - padding-left: 33%; - font-weight: bold; - background: gray; - color: white; - margin: 5px; - margin-left: 200px; -} - -.result-document { - border: 3px solid #474747; - background: #FEC293; - padding: 5px; - margin: 5px; - margin-left: 200px; -} - -.selected-facet-field { - font-weight: bold; -} - -li.show { - list-style: disc; -} \ No newline at end of file diff --git a/solr/contrib/velocity/src/main/solr/conf/xslt/example.xsl b/solr/contrib/velocity/src/main/solr/conf/xslt/example.xsl deleted file mode 100644 index 6832a1d4cb3..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/xslt/example.xsl +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - - - - - - - - - - <xsl:value-of select="$title"/> - - - -

-
- This has been formatted by the sample "example.xsl" transform - - use your own XSLT to get a nicer page -
- - - -
- - - -
- - - - -
-
-
- - - - - - - - - - - - - - javascript:toggle("");? -
- - exp - - - - - -
- - -
- - - - - - - -
    - -
  • -
    -
- - -
- - - - - - - - - - - - - - - - - - - - -
diff --git a/solr/contrib/velocity/src/main/solr/conf/xslt/example_atom.xsl b/solr/contrib/velocity/src/main/solr/conf/xslt/example_atom.xsl deleted file mode 100644 index e1c7d5a2af2..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/xslt/example_atom.xsl +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - - - - - - - - - Example Solr Atom 1.0 Feed - - This has been formatted by the sample "example_atom.xsl" transform - - use your own XSLT to get a nicer Atom feed. - - - Apache Solr - solr-user@lucene.apache.org - - - - - - tag:localhost,2007:example - - - - - - - - - <xsl:value-of select="str[@name='name']"/> - - tag:localhost,2007: - - - - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/xslt/example_rss.xsl b/solr/contrib/velocity/src/main/solr/conf/xslt/example_rss.xsl deleted file mode 100644 index 3e09e654d5f..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/xslt/example_rss.xsl +++ /dev/null @@ -1,66 +0,0 @@ - - - - - - - - - - - - - Example Solr RSS 2.0 Feed - http://localhost:8983/solr - - This has been formatted by the sample "example_rss.xsl" transform - - use your own XSLT to get a nicer RSS feed. - - en-us - http://localhost:8983/solr - - - - - - - - - - - <xsl:value-of select="str[@name='name']"/> - - http://localhost:8983/solr/select?q=id: - - - - - - - http://localhost:8983/solr/select?q=id: - - - - diff --git a/solr/contrib/velocity/src/main/solr/conf/xslt/luke.xsl b/solr/contrib/velocity/src/main/solr/conf/xslt/luke.xsl deleted file mode 100644 index 6e9a064d7e0..00000000000 --- a/solr/contrib/velocity/src/main/solr/conf/xslt/luke.xsl +++ /dev/null @@ -1,337 +0,0 @@ - - - - - - - - - Solr Luke Request Handler Response - - - - - - - - - <xsl:value-of select="$title"/> - - - - - -

- -

-
- -
- -

Index Statistics

- -
- -

Field Statistics

- - - -

Document statistics

- - - - -
- - - - - -
- -
- - -
- -
- -
-
-
- - - - - - - - - - - - - - - - - - - - - -
-

- -

- -
- -
-
-
- - -
- - 50 - 800 - 160 - blue - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- background-color: ; width: px; height: px; -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - -
  • - -
  • -
    -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -