From 282b0f6a7e8a88e09031fa77c37c2f5f184b39f6 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Sat, 1 Feb 2020 07:59:06 +0100 Subject: [PATCH] boost doi query fields differently --- app/models/doi.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/doi.rb b/app/models/doi.rb index 7767fc181..ea942b1b1 100644 --- a/app/models/doi.rb +++ b/app/models/doi.rb @@ -518,7 +518,7 @@ def self.sub_aggregations end def self.query_fields - ["uid^50", "doi^50", "related_identifiers.relatedIdentifier^10", "funding_references.relatedIdentifier^10", "container.identifier^10", 'titles.title^3', 'creator_names^3', 'creators.name^3', 'creators.id^3', 'publisher^3', 'descriptions.description^3', 'types.resourceTypeGeneral^3', 'subjects.subject^3', 'client.uid^3', 'provider.uid^3', '_all'] + ["uid^50", "related_identifiers.relatedIdentifier^3", "funding_references.relatedIdentifier^3", "container.identifier^3", 'titles.title^3', 'creator_names^3', 'creators.name^3', 'creators.id^3', 'publisher^3', 'descriptions.description^3', 'types.resourceTypeGeneral^3', 'subjects.subject^3', 'client.uid^3', 'provider.uid^3', '_all'] end # return results for one or more ids