|
872 | 872 | </analyzer> |
873 | 873 | </fieldType> |
874 | 874 |
|
| 875 | + |
| 876 | + <!-- test: this is a copy of affiliation_token |
| 877 | + the test is in TestAdsabsTypeAffiliationTokens --> |
| 878 | + <fieldType name="uat_tokens" class="solr.TextField" |
| 879 | + positionIncrementGap="100"> |
| 880 | + <analyzer type="index"> |
| 881 | + <charFilter class="solr.HTMLStripCharFilterFactory"/> |
| 882 | + |
| 883 | + <!-- tokenize on | or / --> |
| 884 | + <tokenizer class="solr.PatternTokenizerFactory" pattern="[\:]" |
| 885 | + group="-1" /> |
| 886 | + <filter class="solr.WordDelimiterFilterFactory" |
| 887 | + generateWordParts="1" |
| 888 | + generateNumberParts="0" |
| 889 | + splitOnCaseChange="0" |
| 890 | + splitOnNumerics="0" |
| 891 | + catenateWords="0" |
| 892 | + catenateNumbers="0" |
| 893 | + catenateAll="0" |
| 894 | + preserveOriginal="1" |
| 895 | + stemEnglishPossessive="0" |
| 896 | + types="wdafftypes.txt" |
| 897 | + /> |
| 898 | + <filter class="solr.LowerCaseFilterFactory" /> |
| 899 | + <filter class="solr.TrimFilterFactory" /> |
| 900 | + </analyzer> |
| 901 | + <analyzer type="query"> |
| 902 | + <charFilter class="solr.HTMLStripCharFilterFactory"/> |
| 903 | + <tokenizer class="solr.PatternTokenizerFactory" pattern="[\/\:]" |
| 904 | + group="-1" /> |
| 905 | + <filter class="org.apache.lucene.analysis.synonym.NewSynonymFilterFactory" |
| 906 | + synonyms="aff_id.synonyms" |
| 907 | + ignoreCase="true" |
| 908 | + expand="true" |
| 909 | + format="semicolon" |
| 910 | + tokenizerFactory="solr.KeywordTokenizerFactory" |
| 911 | + inclOrig="true" /> |
| 912 | + <filter class="solr.LowerCaseFilterFactory" /> |
| 913 | + <filter class="solr.TrimFilterFactory" /> |
| 914 | + </analyzer> |
| 915 | + </fieldType> |
875 | 916 |
|
876 | 917 |
|
877 | 918 |
|
|
1262 | 1303 | <field name="aff_raw" type="affiliation_text" indexed="true" stored="true" |
1263 | 1304 | omitNorms="true" multiValued="true" /> |
1264 | 1305 |
|
1265 | | - <! -- for Unified Astronomy Thesaurus --> |
1266 | | - <field name="uat" type="affiliation_tokens" indexed="true" stored="true" |
| 1306 | + <!-- for Unified Astronomy Thesaurus --> |
| 1307 | + <field name="uat" type="uat_tokens" indexed="true" stored="true" |
1267 | 1308 | multiValued="true" omitNorms="true"/> |
1268 | 1309 |
|
1269 | 1310 |
|
|
0 commit comments