Page MenuHomePhabricator

Morelike API response is formatted badly
Open, Needs TriagePublic

Description

The source_language key should be a string. The current result looks something like this:

[{"wikidata_id":"Q1306010","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q20828677","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q56297758","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q16856967","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q56298750","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q2130413","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q997969","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q1238507","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q18920660","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}},{"wikidata_id":"Q1811586","normalized_rank":0.0000016773,"source_language":{"type":"Buffer","data":[100,101]}}]