Commit Graph

12 Commits

Author SHA1 Message Date
Rufus Pollock
a577866932 [#61,backend/elasticearch][s]: refactor plus support for setting request headers (e.g. Authorization) plus can set backend url on initialization.
* support for headers went into new _makeRequest method on backend base class
* support for setting backend url on initialization (rather than depending on it being on Dataset/Document objects)
* move upsert and delete methods out into distinct methods from being inside backbone sync

The two last of these pave the way for use of ElasticSearch backend standalone (both independent from Recline and independent of Backbone)
2012-04-23 02:30:16 +01:00
Rufus Pollock
1bf64c5f94 [#61,backend/elasticsearch][m]: create, update and delete support in elasticsearch backend -- fixes #61. 2012-04-22 22:17:47 +01:00
Rufus Pollock
31d829f53f [#17,backend][s]: add readonly attribute on backends indicating whether they are 'read-only'. 2012-04-22 00:03:59 +01:00
Rufus Pollock
7743534eac [#88,backend][s]: add __type__ attribute to all backends to identify them and provide a more robust and generic way to load backends from a string identifier such as that __type__ field.
* Also remove recline.Model.backends registry as can be replaced with this more generic solution.
* This refactoring is necessitated by our need to serialize backend info for save/reload of a dataset and explorer state in #88.
2012-04-15 22:19:43 +01:00
Rufus Pollock
3c9a18ba88 [#78,jshint][s]: cleaning up backends as per jshint instructions. 2012-04-10 12:19:39 +01:00
Rufus Pollock
5a73ced225 [#66,filters,elasticsearch][s]: elasticsearch support for filters (addTermFilter on Query). 2012-04-02 21:05:56 +01:00
Rufus Pollock
6ba8c82408 [#62,facets][s]: partially working faceting with elasticsearch. 2012-04-01 13:51:15 +01:00
Rufus Pollock
157d77ebb1 [#57,backend,model][m]: switch to having backend query methods return a QueryResult object - fixes #57. 2012-04-01 11:45:42 +01:00
Rufus Pollock
767f9a23d6 [#57,backend,refactor][s]: create a recline.Backend.Base model which other backends inherit from.
* At the moment this added little other than a cleaner structure but will help with change for #57.
2012-04-01 10:49:22 +01:00
Rufus Pollock
57978c324b [docs,build][m]: build latest version of the docs doing some tidying of the docs along the way. 2012-02-28 22:58:20 +00:00
Rufus Pollock
64056da3aa [backend/elasticsearch][s]: ES backend supports full text queries and sorting. 2012-02-28 21:08:18 +00:00
Rufus Pollock
a9c1b2ae07 [#54,backend/es][m]: ElasticSearch backend (readonly atm) - fixes #54. 2012-02-24 22:32:30 +00:00