Permalink
Browse files

NUTCH-1440 reconfigure non-existent stopwords_en.txt in schema-solr4.xml

git-svn-id: https://svn.apache.org/repos/asf/nutch/trunk@1366342 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 54202be commit d09d6b408b501ba0ffa186fa7fe011ab3eaec590 Lewis John McGibbney committed Jul 27, 2012
Showing with 8 additions and 6 deletions.
  1. +2 −0 CHANGES.txt
  2. +6 −6 conf/schema-solr4.xml
View
@@ -2,6 +2,8 @@ Nutch Change Log
(trunk) Current Development:
+* NUTCH-1440 reconfigure non-existent stopwords_en.txt in schema-solr4.xml (shekhar sharma via lewismc)
+
* NUTCH-1439 Define boost field as type float in schema-solr4.xml (shekhar sharma via lewismc)
* NUTCH-1433 Upgrade to Tika 1.2 (jnioche)
View
@@ -120,7 +120,7 @@
<!-- A text field with defaults appropriate for English: it
tokenizes with StandardTokenizer, removes English stop words
- (stopwords_en.txt), down cases, protects words from protwords.txt, and
+ (stopwords.txt), down cases, protects words from protwords.txt, and
finally applies Porter's stemming. The query time analyzer
also applies synonyms from synonyms.txt. -->
<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
@@ -135,7 +135,7 @@
-->
<filter class="solr.StopFilterFactory"
ignoreCase="true"
- words="stopwords_en.txt"
+ words="stopwords.txt"
enablePositionIncrements="true"
/>
<filter class="solr.LowerCaseFilterFactory"/>
@@ -151,7 +151,7 @@
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.StopFilterFactory"
ignoreCase="true"
- words="stopwords_en.txt"
+ words="stopwords.txt"
enablePositionIncrements="true"
/>
<filter class="solr.LowerCaseFilterFactory"/>
@@ -188,7 +188,7 @@
-->
<filter class="solr.StopFilterFactory"
ignoreCase="true"
- words="stopwords_en.txt"
+ words="stopwords.txt"
enablePositionIncrements="true"
/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="1" catenateNumbers="1" catenateAll="0" splitOnCaseChange="1"/>
@@ -201,7 +201,7 @@
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.StopFilterFactory"
ignoreCase="true"
- words="stopwords_en.txt"
+ words="stopwords.txt"
enablePositionIncrements="true"
/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="1"/>
@@ -217,7 +217,7 @@
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="false"/>
- <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords_en.txt"/>
+ <filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="0" generateNumberParts="0" catenateWords="1" catenateNumbers="1" catenateAll="0"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>

0 comments on commit d09d6b4

Please sign in to comment.