From e81774a66980ba17c42380884f39aa61b54e5eef Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 21 Aug 2018 21:22:19 -0700 Subject: BibjsonScorable: fix ScorableFeatures (after rebase) --- scalding/src/main/scala/sandcrawler/BibjsonScorable.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scalding') diff --git a/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala b/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala index 7221a66..cdd598f 100644 --- a/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala +++ b/scalding/src/main/scala/sandcrawler/BibjsonScorable.scala @@ -38,7 +38,7 @@ object BibjsonScorable { if (title == null || title.isEmpty) { new MapFeatures(Scorable.NoSlug, json) } else { - val sf : ScorableFeatures = new ScorableFeatures(title=title, doi=doi, sha1=sha1) + val sf : ScorableFeatures = ScorableFeatures.create(title=title, doi=doi, sha1=sha1) new MapFeatures(sf.toSlug, sf.toString) } } else { -- cgit v1.2.3