[Developers] Search of non-topics
Arthur van Hoff
AVH at zing.net
Tue Feb 26 16:44:06 UTC 2008
Hi,
I was searching for a radio station called "radioio70sPop". When I type
that name in the search box on the website I get two hits; one for the
radio station, and one for "ZING on radioio70sPop", which is an
editorial_comment.
Why is it finding the second hit? That object is a compound value, and
although it has a name property, it does not include the type
/common/topic. I was under the impression that search only returned
topics.
How do we prevent editorial comments from being included in search
results?
Thanks.
--
wget -O tmp.out
http://www.freebase.com/api/service/search?query=radioio70sPop
{
"status": "200 OK",
"query": {
"start": 0,
"prefix": "",
"limit": 20,
"escape": "html",
"query": "radioio70sPop",
"type": null
},
"code": "/api/status/ok",
"result": [
{
"name": "radioio70sPop",
"image": null,
"alias": [],
"article": {
"id": "/guid/9202a8c04000641f8000000006fbea58"
},
"guid": "#9202a8c04000641f8000000006e574a6",
"type": [
{
"id": "/common/topic",
"name": "Topic"
},
{
"id": "/user/cotton/default_domain/broadcast",
"name": "Broadcast"
},
{
"id": "/user/cotton/default_domain/internet_station",
"name": "Internet Station"
},
{
"id": "/user/cotton/default_domain/editorial_topic",
"name": "Editorial Topic"
}
],
"id": "/guid/9202a8c04000641f8000000006e574a6"
},
{
"name": "ZING on radioio70sPop",
"image": null,
"alias": [],
"article": null,
"guid": "#9202a8c04000641f800000000741b753",
"type": [
{
"id": "/user/cotton/default_domain/editorial_comment",
"name": "Editorial Comment"
}
],
"id": "/guid/9202a8c04000641f800000000741b753"
}
]
}
___________________________________________
Arthur van Hoff, Dell-ZING, CTO Software and Services.
W: 650-267-2413, F: 650-267-2498, M: 650-283-0842
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20080226/dbe7dd8d/attachment.htm
More information about the Developers
mailing list