/// <summary> /// Queue a resolve request for inclusion in the next multi request. /// </summary> /// <param name="table">the name of the table you wish to use resolve against (e.g., "places")</param> /// <param name="query">the resolve query to run against table.</param> public void QueueFetch(string table, ResolveQuery query) { MultiQuery.AddQuery(UrlForResolve(table), query.ToUrlQuery()); }
/// <summary> /// Asks Factual to resolve the entity for the attributes specified by /// query, within the table called tableName. /// Returns the read response from a Factual Resolve request, which includes /// all records that are potential matches. /// Each result record will include a confidence score ("similarity"), /// and a flag indicating whether Factual decided the entity is the correct /// resolved match with a high degree of accuracy ("resolved"). /// There will be 0 or 1 entities returned with "resolved"=true. If there was a /// full match, it is guaranteed to be the first record in the response. /// </summary> /// <param name="tableName">the name of the table to resolve within.</param> /// <param name="query">a Resolve query with partial attributes for an entity.</param> /// <returns>the response from Factual for the Resolve request.</returns> public string Fetch(string tableName, ResolveQuery query) { return RawQuery(UrlForResolve(tableName), query.ToUrlQuery()); }
/// <summary> /// Asks Factual to resolve the entity for the attributes specified by /// query, within the table called tableName. /// Returns the read response from a Factual Resolve request, which includes /// all records that are potential matches. /// Each result record will include a confidence score ("similarity"), /// and a flag indicating whether Factual decided the entity is the correct /// resolved match with a high degree of accuracy ("resolved"). /// There will be 0 or 1 entities returned with "resolved"=true. If there was a /// full match, it is guaranteed to be the first record in the response. /// </summary> /// <param name="tableName">the name of the table to resolve within.</param> /// <param name="query">a Resolve query with partial attributes for an entity.</param> /// <returns>the response from Factual for the Resolve request.</returns> public string Fetch(string tableName, ResolveQuery query) { return(RawQuery(UrlForResolve(tableName), query.ToUrlQuery())); }