Rufus Pollock
31980857a9
[#162,be/elasticsearch][s]: convert elasticsearch to the new setup (remove all Backbone from the Backend!).
...
* Also convert to new QueryResult format in which no _source, _type etc - cf #159
2012-06-23 22:31:23 +01:00
Rufus Pollock
6e5c15a816
[#162,backend,model][l]: major commit addressing several parts of the backend / model refactor in #162 .
...
* Now have Dataset setup and manage "memory store"
* New fetch API as per issue #162 spec
* dataproxy utilizes useMemoryStore attribute and just implements fetch
* Switch gdocs to use Memory.Store properly via new useMemoryStore + fetch methodology
* Memory backend: query function now follows promise API, remove fetch,upsert,delete and add save function to Store object
* Also refactor to remove _source in QueryResult "hits" attribute on all backends but ElasticSearch - cf #159 (note this means ES currently broken)
2012-06-23 20:23:24 +01:00
Rufus Pollock
bda4797ed8
[test/refactor][xs]: dataproxy and gdocs tests now in own files.
2012-06-23 18:07:00 +01:00
Rufus Pollock
7141b7aafd
[#162,model,be/memory][m]: refactor started with the new API on Dataset, Record and Memory backend.
...
* Tests are passing except for a dataproxy one.
2012-06-23 13:28:32 +01:00
Rufus Pollock
0148dd45b2
[test,addendum][xs]: fixes for tests after changes in last commit b64daea1a763ba40d450d8234f7b3ac0c8f15c16.
2012-06-18 21:21:03 +01:00
Rufus Pollock
8ff885759f
[#111,backend/elasticsearch][s]: geo distance filter now working - hurrah!.
2012-06-16 16:31:45 +01:00
Rufus Pollock
d17775e39d
[backend/memory,bugfix][s]: corrected sort for memory backend so works correctly on string fields.
2012-06-16 13:39:15 +01:00
Rufus Pollock
f14dcdcaaf
[#154,model/query][m]: refactor to new filter structure (see ticket) updating FilterEditor widget and backends.
...
* ElasticSearch changes represents a significant refactor and now support filters and query via constant_score (did not support this before!)
2012-06-16 13:04:03 +01:00
Rufus Pollock
617d3440f0
[ #154 , backend/elasticsearch][s]: backend errors now reported up the stack (implement deferred reject when call to backend fails).
2012-06-16 12:59:01 +01:00
Rufus Pollock
e73be69499
[refactor][s]: standardize naming of files to use '.' rather than '-' as separator.
2012-06-06 10:40:22 +01:00
Rufus Pollock
a6dff8ce28
[backend/memory][xs]: rename DataWrapper to Store.
2012-06-02 20:02:10 +01:00
Rufus Pollock
c1c1881660
[#129,refactor][l]: ([s] in effort) rename Document to Record - fixes #129 .
2012-05-31 21:08:00 +01:00
Rufus Pollock
ed4f315a97
[#128,backend/csv][s]: rename localcsv to csv and make into a module recline.Backend.CSv.
2012-05-26 19:00:39 +01:00
Rufus Pollock
fae1496eb2
[test,refactor][xs]: rename memory test to memory.test.js.
2012-05-26 16:06:14 +01:00
Rufus Pollock
23b32dff1c
[#128,backend/memory,misc][l]: commence major backend refactor by converting recline.Backend.Memory to module and splitting existing code into BackboneSyncer and DataWrapper.
...
* Lots of other changes to having passing tests (note some actual functionality is likely a little broken esp around state serialization and the app)
2012-05-26 14:26:01 +01:00
Rufus Pollock
39c72aef13
[test,refactor][xs]: move backend tests to test/backend/memory.js.
2012-05-25 21:26:35 +01:00