Socorro/ElasticSearch API: Difference between revisions

Adding a paragraph about choosing the search implementation
(→‎API Spec: Changing the use of types.)
(Adding a paragraph about choosing the search implementation)
Line 20: Line 20:
== Version ==
== Version ==


Every URI is prefixed by a version number, so final URIs should look like: http://example.com/(api_version)/(request)/.  
Every URI is prefixed by a version number, so final URIs should look like: http://example.com/(api_version)/(request)/.
 
== Forcing an implementation ==
 
When calling the API it is possible to choose the implementation to use (ie. ElasticSearch or PostgreSQL) by giving a value to <tt>force_search_impl</tt>. Value can be 'es' for ElasticSearch or 'pg' for PostgreSQL.


== Query ==
== Query ==
Confirmed users
245

edits