Unexpected Results from FindingService API findItemsByKeywords operation
Can anyone help me understand why I get results for pajamas when using the keyword "couch" with the FindingService API findItemsByKeywords operation? This is only when I limit the maxDistance to a lower number like 25. If the maxDistance is 100 I don't get any pajama results. I've not been able to recreate the issue directly on the eBay website using various search filters. This returns results for couches and sofas, which I want, but also for pajamas, which I do not want. <?xml version="1.0" encoding="UTF-8"?> <findItemsByKeywordsRequest xmlns="
http://www.ebay.com/marketplace/search/v1/services">; <paginationInput> <entriesPerPage>100</entriesPerPage> </paginationInput> <keywords>couch</keywords> <buyerPostalCode>06511</buyerPostalCode> <itemFilter> <name>Condition</name> <value>Used</value> </itemFilter> <itemFilter> <name>MaxDistance</name> <value>25</value> </itemFilter> </findItemsByKeywordsRequest> I'm using the API Explorer here to troubleshoot:
https://developer.ebay.com/DevZone/build-test/test-tool/default.aspx?index=0&api=finding&call=findItemsByKeywords&variation=xml Thank you!
I think you misidentified the issue. The pajamas entries appear with other restrictions, such as price. So it's probably just that the distance filter is limiting the number of records and the local pajama records then appear at the top where you're more likely to see them. You will see similar results if you filter on price 12.50-13.00 instead. The records for pants/pajamas/sweats that I see all contain the word "lounge". Some records also do not contain "couch", but "sofa" instead. So I'll speculate eBay is doing some keyword expansion of "couch" to include "sofa" and "lounge", and that is dragging in other items. Try search for "couch" including the double quotes. That will force an exact phrase match and drop out all the items included for related words. More info on keyword expansion can be found here: