Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
changed field type to string; required for some facets
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlohmeier committed Jun 21, 2018
1 parent 8ae535d commit 81d367a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
8 changes: 4 additions & 4 deletions cfg/solr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ The column "DataCite Field" describes the corresponding DataCite Metadata Scheme
| collection | string | | | describes the source of the metadata |
| contributorName | string | x | | |
| contributorType | string | x | | |
| creatorName | text_general | x | | |
| creatorName | string | x | | |
| date | string | x | | |
| dateType | string | x | | |
| format | string | | | |
Expand All @@ -37,13 +37,13 @@ The column "DataCite Field" describes the corresponding DataCite Metadata Scheme
| otherTitle | text_general | x | | |
| otherTitleLang | string | x | | |
| publicationYear | string | | | |
| publisher | text_general | | | |
| publisher | string | | | |
| resourceType | string | | | |
| resourceTypeGeneral | string | | | |
| rights | text_general | | | single valued despite DataCite Scheme |
| rightsURI | string | | | single valued despite DataCite Scheme |
| seriesInformation | text_general | x | description with type "SeriesInformation" | |
| subject | text_general | x | | |
| subject | string | x | | |
| subject_acm | string | x | subject with subjectScheme "ACM" | ACM classifiation |
| subject_bk | string | x | subject with subjectScheme "BK" and subjectURI pointing to the classification | Basisklassification (a german classification )|
| subject_ddc | string | x | subject with subjectScheme "DDC" and subjectURI pointing to the classification | Dewey |
Expand All @@ -55,5 +55,5 @@ The column "DataCite Field" describes the corresponding DataCite Metadata Scheme
| titleLang | string | | | |
| translatedTitle | text_general | x | | |
| translatedTitleLang | string | x | | |
| university | text_general | | - | |
| university | string | | - | |
| url | string | x | | |
16 changes: 12 additions & 4 deletions cfg/solr/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@
"indexed":true,
"stored":true
},
{
"name":"classification",
"type":"string",
"multiValued":false,
"indexed":true,
"stored":true
},
{
"name":"collection",
"type":"string",
Expand All @@ -76,7 +83,7 @@
},
{
"name":"creatorName",
"type":"text_general",
"type":"string",
"multiValued":true,
"indexed":true,
"stored":true
Expand Down Expand Up @@ -111,6 +118,7 @@
"name":"id",
"type":"string",
"indexed":true,
"required":true,
"stored":true
},
{
Expand Down Expand Up @@ -173,7 +181,7 @@
},
{
"name":"publisher",
"type":"text_general",
"type":"string",
"indexed":true,
"stored":true
},
Expand Down Expand Up @@ -210,7 +218,7 @@
},
{
"name":"subject",
"type":"text_general",
"type":"string",
"multiValued":true,
"indexed":true,
"stored":true
Expand Down Expand Up @@ -284,7 +292,7 @@
},
{
"name":"university",
"type":"text_general",
"type":"string",
"indexed":true,
"stored":true
},
Expand Down

0 comments on commit 81d367a

Please sign in to comment.