Skip to content

Commit

Permalink
remove invalid sortable author field
Browse files Browse the repository at this point in the history
  • Loading branch information
miku committed Mar 24, 2015
1 parent cf1f633 commit 2dbe62a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion finc/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ func (is *IntermediateSchema) ToSolrSchema(iih holdings.IsilIssnHolding) (*SolrS
output.PublishDateSort = date.Year()
output.Publishers = is.Publishers
output.RecordType = AIRecordType
output.SortableAuthor = is.SortableAuthor()
output.SortableTitle = is.SortableTitle()
output.SourceID = is.SourceID
output.Subtitle = is.ArticleSubtitle
Expand Down
7 changes: 3 additions & 4 deletions finc/solr.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ type SolrSchema struct {
RecordType string `json:"recordtype,omitempty"`
SecondaryAuthors []string `json:"author2,omitempty"`
SourceID string `json:"source_id,omitempty"`
SortableTitle string `json:"title_sort"`
SortableAuthor string `json:"author_sort"`
Subtitle string `json:"title_sub"`
SortableTitle string `json:"title_sort,omitempty"`
Subtitle string `json:"title_sub,omitempty"`
Title string `json:"title,omitempty"`
TitleFull string `json:"title_full"`
TitleFull string `json:"title_full,omitempty"`
TitleShort string `json:"title_short,omitempty"`
TitleSort string `json:"title_sort,omitempty"`
Topics []string `json:"topic,omitempty"`
Expand Down

0 comments on commit 2dbe62a

Please sign in to comment.