[Developers] MQLRead Query to Replicate Search Service
Shawn Simister
narphorium at gmail.com
Mon May 18 18:00:46 UTC 2009
What about using UMQL to send a batch of queries to the relevance
engine? Something like this
<http://umql.dfhuynh.user.dev.freebaseapps.com/read?queries=%7B%22q1%22:%7B%22query%22:%5B%7B%22/service/relevance%22:%7B%22pattern%22:%22the%20police%22%7D,%22*%22:null%7D%5D%7D,%22q2%22:%7B%22query%22:%5B%7B%22/service/relevance%22:%7B%22pattern%22:%22the%20eagles%22%7D,%22*%22:null%7D%5D%7D%7D>?
I think that would be equivalent to the what you'd get from the search API.
Shawn
Tom Morris wrote:
> On Sun, May 17, 2009 at 5:44 AM, James Alexander Levy
> <jamesalexanderlevy at gmail.com> wrote:
>
>
>> I'd like to run several queries against the search service with a single
>> HTTP request - you know, for efficiency and all that. Because there's no way
>> to do this (right?) I'll have to use MQLRead for its query envelope, but I'm
>> not sure how to perform a read request that exactly mimics the search
>> service.
>>
>
> You can't do this because you don't have all the information available
> to you that the search service uses. In particular it uses anchor
> text from Wikipedia articles in addition to things that you can get at
> from MQL (names & aliases).
>
> If latency is your concern, have you considered posting the requests
> asynchronously and pipelining your processing?
>
> Tom
> _______________________________________________
> Developers mailing list
> Developers at freebase.com
> http://lists.freebase.com/mailman/listinfo/developers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freebase.com/pipermail/developers/attachments/20090518/a1c172ac/attachment.htm
More information about the Developers
mailing list