Carsten Brandt
a7b852fcc3
Changed elasticsearch AR primary key handling
...
now supports mapped primary key when _id is part of source with an
alias.
11 years ago
Carsten Brandt
83527e85ca
made Model::attributes() non static again
...
- allows to have dynamic definition of attributes depended on the
instance
- there was no real need for it to be static. Places that used it static
have been refactored.
fixes #1318
11 years ago
Carsten Brandt
613758dda5
refactored elasticsearch COnnection and Command
11 years ago
Carsten Brandt
b081cf5e46
moved elasticsearch to extensions
11 years ago
Carsten Brandt
325fc28182
several fixes and cleanup
11 years ago
Carsten Brandt
af5d87ac4d
renamed elasticsearch PK to id
11 years ago
Carsten Brandt
643593737d
added test case for #1310
11 years ago
Carsten Brandt
f017ba357f
refactored unit tests. put common AR tests in trait
11 years ago
Carsten Brandt
983b2286ba
elasticsearch AR relations + null values
11 years ago
Carsten Brandt
779d6b6e96
fixed count and asArray()
11 years ago
Carsten Brandt
39ff11a374
first draft of elasticsearch AR
11 years ago
Carsten Brandt
d442f05631
elasticsearch find by simple condition
11 years ago
Carsten Brandt
a94886fafd
elasticsearch AR WIP copied parts from redis implementation
11 years ago