question

Upvotes
Accepted
50 3 8 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

· Write an Answer
Upvotes
Accepted
1.2k 8 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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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