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.

@peter.vonbredow

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question. Thanks, AHS

@peter.vonbredow, please be informed that a reply has been verified as correct in answering the question, and has been marked as such. Thanks, AHS

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.