In our dataset, each record has a text attribute that represents a list of name-value pairs. It is structured like this:
~~name1~value1~~name2~value2~~...nameN~valueN~~ The single-tilde is a delimiter between the name and value, and the double-tilde is a delimiter between each pair. We would like a query to return the records that possess the name- value pair M within this attribute. I thought that a query like this would work: bq=[item type:...] [pairs:~~nameM~valueM~~] ... However, that returns no results. I have also tried [pairs:*~~nameM~valueM~~*] and several others. As a temporary solution, I do [pairs:nameM*valueM], and then I filter out the results myself; however, it doesn't seem to guarantee that I will be able to acquire all records that have name-value pair M in the attribute 'pairs'. Is there a way to match by a substring of an attribute value? I could easily choose an alphabetic delimiter, if it comes down to "~" being some sort of reserved character. Thanks, Josh --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
