[Developers] Change to Phrase Matching in MQL | New MQL Reference Guide

Phil Gochenour phil at metaweb.com
Fri Oct 31 21:15:46 UTC 2008


Hi everyone, 

with our new client push today came two items that will be of great interest to you all.

First, there has been a change to the way the pattern matching operator handles phrases. Previously, to match the phrase "I love you," you would need a query like this:

[
  {
    "limit" : 25,
    "name" : null,
    "name~=" : "\"I love you""\,
    "type" : "/music/track"
  }
]

Now you can find that same phrase without having to use the escaped quotes, so it looks like this:

[
  {
    "limit" : 25,
    "name" : null,
    "name~=" : "I love you",
    "type" : "/music/track"
  }
]

An updated version of the MQL cheat sheet that reflects this change will be available for download next week, I'll send out a note to the list when it's available.

Second, after months of development, the new MQL Reference Guide is now available: http://mql.freebaseapps.com. The link from the Help Center now goes to this URL, and PDF version will be available for download next week at the same time as the cheat sheet.

Phil


More information about the Developers mailing list