/guid/9202a8c04000641f80000000086e0931 rename

author:

contributor:

published:

updated:

May 29, 2009 9:21:29PM UTC

source uri:

Summary

Name   search Description   Provides text search based on a query string and  optional constraints. ...

Content

Name   search Description   Provides text search based on a query string and  optional constraints. Accessible Via   /api/service/search HTTP GET   Yes HTTP POST   Yes Special Headers   None Login Required   No Required Arguments query: the string to do a search for Optional Arguments   format : json, id, or guid prefixed: a boolean (true, false, 1, 0)  that indicates whether the query is prefixed. It overrides the  presence of a terminating * in the query string. limit: (default 20) the number of results to return start: makes it possible to page through limit results at a time. For example, to present 5 pages of successive 10 results, the same query may be used with limit=10 and start=0, then 10, 20, 30 and 40. type:  type value may be ids or guids of types in the graph. More than one type can be passed in by using the type parameter more than once or by separating type values by commas. type_strict: makes it possible to control how specific the type matches must be. A value of should gives preference to matches by boosting their query score but doesn't require any, a value of any requests that at least one type value matches and all requires that all types match. By default, type_strict's value is any. domain, domain_strict: searches may be made more specific by matching against the domain(s) of the type(s) of topics by passing one more of domain values. As with type_strict, the domain_strict parameter controls how specific the domain matches must be. More than one domain can be passed in by using the domain parameter more than once or by separating values by commas. timeout: may be used to specify an upper bound of milliseconds of time for the Lucene query to run. If the timeout is reached, the query is aborted and the matches found so far are returned. The timeout does not include the time necessary to run the eventual mql_output query to present results. If the timeout is reached, the API's status code is /api/status/timedout. mql_filter: may be used to specify a topic-rooted MQL query to use against full text index matches. mql_output: by default, query results are formatted with a MQL query that is applied against the topic identifiers, or guids, the matching documents were indexed with. The default MQL query used is:

Created by: faye Jun 23, 2008
Last edited by: jdouglas via Freebase.com Developer Docs May 29, 2009

Recent Discussions about None

There is no discussion about this document.

Start the Discussion »
Explore the Data
View all the data we have for /guid/9202a8c04000641f80000000086e0931
Flag this Document
Why do you want to flag this document?