Skip to content

Commit

Permalink
fix: reverted changes that were rolled in by error
Browse files Browse the repository at this point in the history
- 33dcb9a reverted
  (reused old version of schema) - and also pulled in changes I was working on related to translits
  • Loading branch information
romanchyla committed Feb 18, 2022
1 parent 6b0f2b7 commit c5c84ff
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions contrib/examples/adsabs/server/solr/collection1/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -537,14 +537,14 @@
expression -->
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="\b(?i:(MESSIER)(-|\s+)([0-9]+[A-Z]*))\b"
replacement="$1$3" />
replacement="$1-$3" />
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="\b(?i:(ABELL)(-|\s+)([0-9]+[A-Z]*))\b" replacement="$1$3" />
pattern="\b(?i:(ABELL)(-|\s+)([0-9]+[A-Z]*))\b" replacement="$1-$3" />
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="\b(?i:(NGC|N)(-|\s+)([0-9]+[A-Z]*))\b" replacement="$1$3" />
pattern="\b(?i:(NGC|N)(-|\s+)([0-9]+[A-Z]*))\b" replacement="$1-$3" />
<charFilter class="solr.PatternReplaceCharFilterFactory"
pattern="\b(?i:([34]CR?|ADS|H[DHR]|IC|[MW]|MKN|NGC|PKS|PSR[BJ]?|SAO|UGC|UT)(-|\s+)([0-9]+[A-Z]*))\b"
replacement="$1$3" />
replacement="$1-$3" />


<!-- tokenize on empty space (if it is not a hyphen connecting other
Expand Down Expand Up @@ -1248,18 +1248,18 @@
type="normalized_text_ascii_notokenization" indexed="true"
stored="true" multiValued="true" omitNorms="true" />

<field name="author_facet" type="string" indexed="true"
<field name="author_facet" type="normalized_string" indexed="true"
stored="${storeAll:false}" multiValued="true" omitNorms="true"
omitTermFreqAndPositions="true" />

<field name="author_facet_hier" type="string" indexed="true"
<field name="author_facet_hier" type="normalized_string" indexed="true"
stored="${storeAll:false}" multiValued="true" omitNorms="true"
omitTermFreqAndPositions="true" docValues="true" />

<field name="author_count" type="int" indexed="true"
stored="true" omitNorms="true" omitTermFreqAndPositions="true" />

<field name="first_author_facet_hier" type="string"
<field name="first_author_facet_hier" type="normalized_string"
indexed="true" stored="${storeAll:false}" multiValued="true"
omitNorms="true" omitTermFreqAndPositions="true" docValues="true" />

Expand Down Expand Up @@ -1293,9 +1293,6 @@
docValues="true"/>
<field name="aff_id" type="affiliation_tokens" indexed="true" stored="true"
multiValued="true" omitNorms="true"/>
<!-- TODO: remove once index has been rebuilt -->
<field name="aff_raw" type="affiliation_text" indexed="true" stored="true"
omitNorms="true" multiValued="true" />

<!-- for Unified Astronomy Thesaurus -->
<field name="uat" type="uat_tokens" indexed="true" stored="true"
Expand Down

0 comments on commit c5c84ff

Please sign in to comment.