Max Ogden
ae81d3aa70
Merge pull request #161 from slmnhq/master
...
CouchDB Backend.
2012-06-20 08:50:46 -07:00
Salman Haq
8582998643
Added CouchDB backend with support for custom
...
views and basic client-side search (filtering, faceting, and sorting).
2012-06-20 10:48:38 -04:00
Rufus Pollock
b64daea1a7
[#111,elasticsearch,geofilter][xs]: work out that what ES docs describe as distance_unit field is actually called unit.
2012-06-16 18:27:59 +01:00
Rufus Pollock
262bb95376
[backend/elasticsearch][xs]: auto lower case terms in term filters as ES needs them to be lowercase.
2012-06-16 17:03:53 +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
8fe04ddd4f
[#111,filter/geo][m]: geo filter support - filter editor working though not sure actual query is working (!).
...
* Extensive refactoring of Model.Query and View.FilterEditor to do this cleanly (geo_distance and term treated similarly now)
2012-06-15 10:51:13 +01:00
Rufus Pollock
ed734d90e4
Merge branch 'master' of github.com:okfn/recline
2012-06-07 00:00:47 +01:00
Rufus Pollock
0549383073
[backend/memory][xs]: change full text query in memory backend to ignore case.
2012-06-06 17:20:43 +01:00
Ian Murray
b3ed2ea2d5
[dataproxy][s] Rename duplicate fieldIds from dataproxy results.
...
Allow the dataproxy backend to be used for viewing files where
the column names are not unique. This occurs, for example, when
more than 1 column has not been given a column title at all.
Prior to this commit, when encountering such a file, the dataproxy
backend would error-out leaving the user without any feedback as
to what went wrong.
2012-06-06 13:59:42 +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
92543a76ee
[#128,backend/elasticsearch][s]: standardize on url field on dataset to hold url for ES backend.
...
* also ensure reasonable docs for all methods
2012-05-26 22:55:01 +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
72ed877ae2
[#128,misc][s]: final wiring up to have everything working again -- fixes #128 .
2012-05-26 18:26:47 +01:00
Rufus Pollock
feaaf78639
[#128,backend/gdocs][s]: minor refactoring to make cleaner and have it actually work.
2012-05-26 18:07:36 +01:00
Rufus Pollock
e9d1b8a55a
[#128,backend/gdoc][s]: refactor gdocs to standard backend setup.
2012-05-26 17:46:51 +01:00
Rufus Pollock
5890007c59
[#128,backend/dataproxy][s]: refactor to new setup.
2012-05-26 16:20:18 +01:00
Rufus Pollock
ad7fc1a029
[#128,backend][xs]: minor tweaks to memory backend to follow style in ES - all tests passing again (though stuff still broken in app!).
2012-05-26 16:07:05 +01:00
Rufus Pollock
1bc8c77098
[#128,backend/elasticsearch][m]: rework elasticsearch model to new cleaner setup.
2012-05-26 15:53:59 +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
9518d2483d
[backend,refactor][xs]: move Backbone.sync override into recline.Model from recline.Backend.base.
2012-05-25 09:01:03 +01:00
Rufus Pollock
44942dabdc
[backend/memory][xs]: createDataset calls query on dataset object so that the Dataset object already has data in it.
2012-05-13 07:57:55 +01:00
amercader
7def51b573
[backend/localcsv] Add support for defining the text delimiter on CSV files
2012-04-23 18:23:44 +01:00
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
92ec8d5b3e
[backend/memory,bugfix][xs]: fix error on memory filtering when field value is null (cannot call toString).
2012-04-21 22:48:33 +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
Pedro Markun
6a352f9c44
Added encoding selecting options
2012-04-14 14:39:41 -03:00
Pedro Markun
c16fc1204e
Support for separator specification in CSV now in frontend
2012-04-14 14:26:26 -03:00
Pedro Markun
e695924149
CSV file loading supports file separator
2012-04-14 14:14:15 -03:00
Rufus Pollock
de185c25b8
[whitespace][xs]: .
2012-04-14 18:01:48 +01:00
Rufus Pollock
b0bf06c52e
[#34,query,backend/memory][s]: memory backend support query string (q parameter).
2012-04-14 10:00:17 +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
36548ceffc
[#66,filters][s]: memory backend support for filters.
2012-04-02 21:05:28 +01:00
Rufus Pollock
f51450ef7b
[#62,facets,backend][xs]: limit facet on memory backend to 10 by default.
2012-04-01 18:22:01 +01:00
Rufus Pollock
7a95302760
[#62,facets,backend/memory][m]: add faceting support to memory backend.
2012-04-01 16:31:36 +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
e5e24f72de
[#52,doc,refactor][s]: move instructions re creating a backend into backend/base source docs and tidy doc page a bit.
2012-04-01 11:11:38 +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
e3819d8f4e
[#51,bugfix][xs]: fix bug in pulling of fields from document in createDataset (corrects error in 5fc486d8083a27db21993fc7d58c2c2dae75c17f).
2012-03-31 11:09:10 +01:00
Rufus Pollock
5fc486d808
[#51,bugfix][s]: fix for pulling fields from first row of data if no fields are provided (addendum to cb81fe87aff266e148428fbb5895552c4e66769f).
2012-03-29 08:22:57 +01:00
Rufus Pollock
f51b4b6d79
[#36,backend/localcsv][m]: local csv 'backend' completed with new csvToDataset function - fixes #36 .
2012-03-27 17:05:34 +01:00
Rufus Pollock
cb81fe87af
[#51,backend/memory][s]: simple createDataset method to create in-memory dataset from raw array of hashes (and optional other info).
2012-03-27 17:02:13 +01:00
Rufus Pollock
995a053400
[#36,backend/localcsv][s]: start on local 'backend' with CSV parser and test.
2012-03-27 08:27:10 +01:00