Merge from 1.5 branch: NIHVIVO-3981 Add a Stopword filter to the "lowercase" field type. Queries against those fields will not try to match any stopwords in the queries.
This commit is contained in:
parent
ec06bfd240
commit
3bc9fd9501
1 changed files with 1 additions and 0 deletions
|
@ -110,6 +110,7 @@
|
||||||
<fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
|
<fieldType name="lowercase" class="solr.TextField" positionIncrementGap="100">
|
||||||
<analyzer>
|
<analyzer>
|
||||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||||
|
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||||
<filter class="solr.LowerCaseFilterFactory" />
|
<filter class="solr.LowerCaseFilterFactory" />
|
||||||
</analyzer>
|
</analyzer>
|
||||||
|
|
Loading…
Add table
Reference in a new issue