question

Upvotes
Accepted
50 2 6 4

Conflicting results between /search/ and /resolve/

Using /entity/search/ and /entity/{label}/resolve in the DDS instance of Data Fusion, I get conflicting results if I search for the string 'Johnson & Johnson'.

resolve produces 0 results, however search finds multiple results.

In both case, the string is escaped as 'Johnson%20%26%20Johnson'

apisearchdata-fusion
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Upvotes
Accepted
1.2k 6 11 8
GET /entity/{label}/resolve

assumes exact match, hence no results for Johnson%20%26%20Johnson as no single entity matches this label exactly. On the other hand

GET /api/entity/Johnson%20Johnson/resolve

would return

{
  "Johnson Johnson": "http://feed.thomsonreuters.com/1-34413161824"
}

as expected.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.