AMO:Users/Search API: Difference between revisions

No edit summary
Line 1: Line 1:
== Search API  ==
== Search API  ==


The new Search API uses Sphinx to power it's results. In addition to sphinx we have a custom query language that is meant to be human readable.  
The new Search API uses Sphinx to power its results. In addition to sphinx we have a custom query language that is meant to be human readable.  


=== General syntax  ===
=== General syntax  ===
Line 9: Line 9:
<pre>http://support.addons.mozilla.org/[locale]/[app]/api/1.5/search/[query] </pre>
<pre>http://support.addons.mozilla.org/[locale]/[app]/api/1.5/search/[query] </pre>


where locale is something like 'en-US' or 'fr'<br>where app is something like 'firefox' or 'thunderbird'<br>where query is the actual search query  
where locale is something like 'en-US' or 'fr'<br>where app is something like 'firefox', 'thunderbird', 'sunbird', 'seamonkey', or 'fennec'<br>where query is the actual search query  


=== Query syntax  ===
=== Query syntax  ===
Confirmed users
9,511

edits