mirror of https://github.com/apache/lucene.git
example: remove non-whitespace-delimited fieldtype per request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1103738 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
548806b7f7
commit
3b45ee8cae
|
@ -274,16 +274,6 @@
|
|||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
<!-- A general unstemmed text field that is better for non whitespace delimited languanges (nwd) due to autoGeneratePhraseQueries=false -->
|
||||
<fieldType name="text_nwd" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false"> >
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- A general unstemmed text field that indexes tokens normally and also
|
||||
reversed (via ReversedWildcardFilterFactory), to enable more efficient
|
||||
|
@ -533,8 +523,6 @@
|
|||
<dynamicField name="*_td" type="tdouble" indexed="true" stored="true"/>
|
||||
<dynamicField name="*_tdt" type="tdate" indexed="true" stored="true"/>
|
||||
|
||||
<dynamicField name="*_nwd" type="text_nwd" indexed="true" stored="true"/>
|
||||
|
||||
<dynamicField name="*_pi" type="pint" indexed="true" stored="true"/>
|
||||
|
||||
<dynamicField name="ignored_*" type="ignored" multiValued="true"/>
|
||||
|
|
Loading…
Reference in New Issue