Replacing it with dashes did make it no longer error, but it did not pull up correct results. There are 150 sites selling that product, and only 2 showed up for [mpn:1942-20-5] ie http://www.google.com/base/feeds/snippets?bq=[mpn:1942-20-5]<http://www.google.com/base/feeds/snippets?bq=%5Bmpn:1942-20-5%5D>whereas this http://www.google.com/base/feeds/snippets?bq=[mpn:1942-20.5]<http://www.google.com/base/feeds/snippets?bq=%5Bmpn:1942-20.5%5D>should work and provide 150 or so results. It appears to be a bug in the API. I have tried every conceivable way to get the API to process the MPN and it will not work. Using the unstructured q query is not the same as looking up on the mpn attribute, and there is no workaround that I can find.
--Robert On Fri, Jul 31, 2009 at 6:02 PM, Alex <[email protected]> wrote: > Google Base is not the same with Product Search. The functionality provided > by these two products is different. You should not rely on the API covering > all Google Product Search features (e.g. review). But the API covers > functionality that's not used in Product Search. > > If you consider 1942-20.5 being equivalent to 1942-20-5, you can do a > similar query to what you pass in for Product Search, and check what results > you get: http://www.google.com/base/feeds/snippets?q=1942-20-5 > > Alex > > > On Fri, Jul 31, 2009 at 12:30 PM, [email protected] < > [email protected]> wrote: > >> >> I am trying to do a search for products where the MPN often has to be >> able to include a period. I slash all delimiters such as dashes and >> brackets like I'm supposed to, but periods are not listed as >> delimters. They are clearly specially handled characters though, and >> if I try to do a search where an MPN, for example, equals >> 1942-20.5 >> >> Which would look like so >> [mpn:1942\-20.5] >> I get no results, but according to this product page there are TONS of >> results. >> >> http://www.google.com/products/catalog?q=1942-20.5&oe=utf-8&hl=en&cid=14884259113825266322&sa=button#scoring=tp >> >> So clearly google has figured out a way to read their own data, but I >> can't seem to get the info. My queries all work fine if they don't >> have a period in the MPN, its only ones with a period that fails. >> Anyone know of any tricks? I tried everything I could think of. >> >> >> > > > -- > Alex Dovlecel, Google Switzerland GmbH > Company Identifikationsnummer: CH-020.4.028.116-1 > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Base Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Base-data-API?hl=en -~----------~----~----~----~------~----~------~--~---
