You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by yo...@apache.org on 2006/11/29 04:48:33 UTC

svn commit: r480379 - in /incubator/solr/trunk/example: exampledocs/post.sh solr/README.txt solr/conf/admin-extra.html solr/conf/protwords.txt solr/conf/stopwords.txt solr/conf/synonyms.txt

Author: yonik
Date: Tue Nov 28 19:48:31 2006
New Revision: 480379

URL: http://svn.apache.org/viewvc?view=rev&rev=480379
Log:
license updates

Modified:
    incubator/solr/trunk/example/exampledocs/post.sh
    incubator/solr/trunk/example/solr/README.txt
    incubator/solr/trunk/example/solr/conf/admin-extra.html
    incubator/solr/trunk/example/solr/conf/protwords.txt
    incubator/solr/trunk/example/solr/conf/stopwords.txt
    incubator/solr/trunk/example/solr/conf/synonyms.txt

Modified: incubator/solr/trunk/example/exampledocs/post.sh
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/exampledocs/post.sh?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/exampledocs/post.sh (original)
+++ incubator/solr/trunk/example/exampledocs/post.sh Tue Nov 28 19:48:31 2006
@@ -1,4 +1,19 @@
 #!/bin/sh
+# 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.
+
 FILES=$*
 URL=http://localhost:8983/solr/update
 

Modified: incubator/solr/trunk/example/solr/README.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/README.txt?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/solr/README.txt (original)
+++ incubator/solr/trunk/example/solr/README.txt Tue Nov 28 19:48:31 2006
@@ -1,3 +1,16 @@
+# 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.
+
+
 Example "Solr Home" Directory
 =============================
 

Modified: incubator/solr/trunk/example/solr/conf/admin-extra.html
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/admin-extra.html?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/solr/conf/admin-extra.html (original)
+++ incubator/solr/trunk/example/solr/conf/admin-extra.html Tue Nov 28 19:48:31 2006
@@ -1,3 +1,20 @@
+<!--
+ 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.
+-->
+
 <!-- The content of this page will be statically included into the top
 of the admin page.  Uncomment this as an example to see there the content
 will show up.

Modified: incubator/solr/trunk/example/solr/conf/protwords.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/protwords.txt?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/solr/conf/protwords.txt (original)
+++ incubator/solr/trunk/example/solr/conf/protwords.txt Tue Nov 28 19:48:31 2006
@@ -1,7 +1,21 @@
-#use a protected word file to protect against the stemmer reducing two
-#unrelated words to the same base word.
+# 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 non-words that would normally be stemmed:
+#-----------------------------------------------------------------------
+# 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
 

Modified: incubator/solr/trunk/example/solr/conf/stopwords.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/stopwords.txt?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/solr/conf/stopwords.txt (original)
+++ incubator/solr/trunk/example/solr/conf/stopwords.txt Tue Nov 28 19:48:31 2006
@@ -13,9 +13,9 @@
 # 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:
+#-----------------------------------------------------------------------
+# a couple of test stopwords to test that the words are really being
+# configured from this file:
 stopworda
 stopwordb
 

Modified: incubator/solr/trunk/example/solr/conf/synonyms.txt
URL: http://svn.apache.org/viewvc/incubator/solr/trunk/example/solr/conf/synonyms.txt?view=diff&rev=480379&r1=480378&r2=480379
==============================================================================
--- incubator/solr/trunk/example/solr/conf/synonyms.txt (original)
+++ incubator/solr/trunk/example/solr/conf/synonyms.txt Tue Nov 28 19:48:31 2006
@@ -1,5 +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.
 
-#some test synonym mappings for things unlikely to appear in input text
+#-----------------------------------------------------------------------
+#some test synonym mappings unlikely to appear in real input text
 aaa => aaaa
 bbb => bbbb1 bbbb2
 ccc => cccc1,cccc2
@@ -7,14 +19,13 @@
 a\,a => b\,b
 fooaaa,baraaa,bazaaa
 
-#synonyms, for our purposes
+# 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.
 
-#spelling correction
+# Synonym mappings can be used for spelling correction too
 pixima => pixma
-
-Television, Televisions, TV, TVs