Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 233 lines (188 sloc) 8.503 kB
f81ba73 @clintongormley Require Search::Elasticsearch 1.20 or above
authored
1 0.51 2015-05-25
2
3 Require Search::Elasticsearch v1.20
4
120ece5 @clintongormley Released version 0.50
authored
5 0.50 2014-08-17
6 ********************************
7 BREAKING BACKWARDS COMPATIBILITY
8 ********************************
9 This is the first version of Elastic::Model with support for
10 Elasticsearch 1.x and above. It uses Search::Elasticsearch
11 instead of Search::Elasticsearch::Compat.
12
13 See Elastic::Manual::Delta for info about the compatibility
14 mode which allows connecting to 0.90.x and 1.x nodes using
15 the same code.
16
17 Added:
18 * support for aggregations in 1.x
19 * on_success added to Bulk
20
21 Removed:
22 * omit_norms
23 * omit_term_freq_and_positions
24
25 Deprecated field attributes:
26 * field-level boost
27 * index_name
28 * path
29 * precision_step
30
b6434b4 @clintongormley Release v0.29_2
authored
31 0.29_2 2014-07-01
32 Also accept 0_90 clients
33
05fe830 @clintongormley Migrated Elastic::Model to Search::Elasticsearch
authored
34 0.29_1 2014-06-01
35 Migrated to Search::Elasticsearch and made it run
36 on Elasticsearch 1.x. No doc updates yet, no new features
37 exposed yet.
38
39 Breaking changes:
40 * omit_norms and omit_term_freq_positions no longer supported
41 * ignore_missing should be replaced by ignore => 404
42 * get mapping responses have changed
43
f438ad8 @clintongormley Released 0.28
authored
44 0.28 2013-03-06
45 Elastic::Model now requires Search::Elasticsearch::Compat
46 See http://github.com/elasticsearch/elasticsearch-perl/issues/20
47
48 Updated links to the elasticsearch.org website.
49
cedb66b @clintongormley Released version 0.27
authored
50 0.27 2013-10-24
51 Elastic::Model now requires Elasticsearch::Compat instead of
52 ElasticSearch.
53
3719a08 @clintongormley Released v0.26
authored
54 0.26 2013-05-08
55 Upgraded ElasticSearch.pm to v0.65
56 Calls to non-existent indices/aliases throws a 404 in v0.90
57
7235b38 @clintongormley Released v0.25
authored
58 0.25 2013-02-26
59 Made Test::Strict an author only test
60
454149f @clintongormley Released v0.24
authored
61 0.24 2013-01-04
62 BUG FIX
63 - has_changed was failing when comparing attributes that contained
64 references.
65 - Fixed tests for SearchBuilder that were failing with the new
66 hash changes in perl 5.17
67
68 ENHANCEMENT
69 - update_mapping and delete_mapping now accept optional \%args
70 which get passed on to ElasticSearch.pm
71
525dc23 @clintongormley Released v0.23
authored
72 0.23 2012-11-23
73 Doc corrections
74
63b5ae3 @clintongormley Released v0.22
authored
75 0.22 2012-11-22
76 ENHANCEMENT
77 - Add specific mapping for Maybe[Bool] which treats undef values
78 as NULL / missing, while Bool fields still treat undef as false.
79
cb6fb23 @clintongormley Released v0.21
authored
80 0.21 2012-11-17
81 BUG FIX
82 - Model metaclass attributes were being initialized from the same
83 hashrefs, meaning that data (eg types in a namespace) were shared
84 between independent models.
85 Thanks to AMIRI for reporting
86
bdf4d3d @clintongormley Released v0.20
authored
87 0.20 2012-11-16
88 BREAKING CHANGE
89 - has_changed() and old_values() was implemented with triggers on
90 every doc class attribute. This was buggy because
91 1) it wasn't applied to attributes from roles
92 2) it didn't check arrays/hashes correctly
93 3) it was slow
94 We now handle all of the above correctly, by comparing canonical
95 versions of the deflated object with the data loaded from ES.
96
97 has_changed() was called by save() to prevent saving if the
98 object hadn't actually changed. We no longer do this - if you
99 call save(), your object will be saved. If you want to run this
100 check yourself, you can do:
101
102 $doc->save if $doc->has_changed;
103
104 old_value() has been removed because it requires old_values() to
105 build a comparison of all attributes that have changed, so it
106 is more efficient to just call old_values() once, eg:
107
108 $old = $doc->old_values;
109 if (exists $old->{foo}) {...}
110 if (exists $old->{bar}) {...}
111
112 ENHANCEMENT
113 - added apply_field_settings() to Elastic::Doc to make it easier
114 to configure attributes applied from roles, when you may not
115 have edit access to the role itself.
116
d212068 @clintongormley Released v0.19
authored
117 0.19 2012-11-15
118 ENHANCEMENT
119 - Inflators and deflators are now inlined whenever possible, resulting
120 in a big performance boost
121
fddec21 @clintongormley Released v0.18
authored
122 0.18 2012-11-14
123 ENHANCEMENT
124 - Optimized UID and stub object creation - big performance improvement
125 when retrieving docs from elasticsearch
126
0a0110a @clintongormley Released v0.17
authored
127 0.17 2012-11-09
128 ENHANCMENT
129 - handle empty queryb/fiterb/post_filterb clauses gracefully
130
e3a2a20 @clintongormley Released v0.16
authored
131 0.16 2012-11-06
132 BREAKING CHANGE:
133 - removed the to_cache() method that was added in v0.15
134
135 ENHANCEMENT:
136 - added integration with a CHI-compatible cache for bounded searches
137
710029c @clintongormley Released version 0.15
authored
138 0.15 2012-11-02
139 BUG FIX:
140 - the default values for wrapper/multi_wrapper in Iterator were
141 not being returned as code refs
142
143 ENHANCEMENT:
144 - added to_cache() to Elastic::Model::Results to return a cacheable
145 data structure which can later be reinflated to the full result set
146
99014e1 @clintongormley Released version 0.14
authored
147 0.14 2012-11-01
148 BREAKING CHANGE:
149 - upgraded minimum ES version to 0.19.11 to take advantage of the
150 new match queries
151
152 ENHANCEMENT:
153 - Added Elastic::Model::Bulk for bulk indexing of documents.
154
e20df87 @clintongormley Released version 0.13
authored
155 0.13 2012-10-10
156 BUG FIXES:
157 - UIDs from search results were missing the routing value
158 - use Elastic::Doc on 'extend'ed classes didn't work as expected
159 - Minimum version of Moose set to 2.06
160
cba680b @clintongormley Released version 0.12
authored
161 0.12 2012-09-22
162 ENHANCEMENT:
163 - Added support for retrieving partial objects (thanks to DIEGOK
164 for suggesting)
165 - Improved documentation (thanks to TIMB)
166
097e55a @clintongormley Released v0.11
authored
167 0.11 2012-08-18
168 ENHANCEMENT:
169 - Variable::Magic v 0.51 allows us to remove the magic after inflating
170 a stub object - thanks to VPIT for the new version
171
c74f504 @clintongormley Release v0.10
authored
172 0.10 2012-08-15
173 BUG FIX:
174 - Declare a minimum version for ElasticSearch::SearchBuilder
175
6f34863 @clintongormley Released version 0.09
authored
176 0.09 2012-08-14
177 ENHANCEMENT:
178 - Added terms_indexed_for_field() to Elastic::Model::Role::Doc to aid
179 debugging.
180 - Added id() and type() convenience methods on Elastic::Model::Role::Doc
181 which call the equivalent method on the doc's UID
182
183 BUG FIX:
184 - Changed the mapping for UIDs to use the full path name, not
185 'just_name'. * REQUIRES REINDEXING *
186 This fixes a major bug where all Doc class attributes in an object
187 were being indexed in the same fields, so it was impossible to
188 distinguish a search for (mother => $user) from (father => $user).
189 Unfortunately, this means it is no longer possible to search for just
190 any UID using queryb($uid), as it now needs the full path name for
191 the attribute, eg queryb( 'user.partner' => $user ).
192 Consequently, I've also had to change the Index->repoint_uids
193 to search in all possible UID attributes.
194
c5ec6a2 @clintongormley Released version 0.08
authored
195 0.08 2012-08-09
196 ENHANCEMENT:
197 - added a transform() parameter to reindex() to allow the user to
198 change the data structure while reindexing
199 BUG FIX:
200 - don't try to destroy scopes during global shutdown
201 - reindex() was loading all docs into memory, rather than processing
202 them in blocks
24dca5d @clintongormley Released version 0.07
authored
203 0.07 2012-08-02
204 ENHANCEMENT:
205 - Added Elastic::Model::SearchBuilder to automatically serialize
206 queries/filters like ->filterb( user => $user_doc )
207 or ->filterb( $uid )
179116e @clintongormley Released version 0.06
authored
208 0.06 2012-08-02
209 BUG:
210 - The unique key was using the attribute name, rather than
211 the unique key name.
d0318f5 @clintongormley Updated changelog
authored
212 0.05 2012-08-01
213 ENHANCMENTS:
214 - Added support for unique_keys via ElasticSearchX::UniqueKey
215 - Added a Keyword type to be used for not_analyzed string fields
216 - Handle stub doc inflation using Variable::Magic instead of
217 wrapping _inline_instance_* in Moose
218 BUG FIXES:
219 - Lazy attributes weren't being built properly during deflation
839e99d @clintongormley Released version 0.04
authored
220 0.04 2012-07-25
221 overwrite() should work for new docs as well as docs loaded from ES
222 on_conflict() called with $doc->create doesn't get a version number,
223 so just load the existing doc
224
19685d0 @clintongormley Released v 0.03
authored
225 0.03 2012-07-08
226 Skip parts of the test suite which require a live cluster to run
227
96ccb7c @clintongormley v0.02
authored
228 0.02 2012-07-07
229 Removed the 'trial' flag. First public release.
230
6d4a2fe @clintongormley Updated Changes
authored
231 0.01 2012-07-07
2513b46 @clintongormley Added dzil
authored
232 First release
Something went wrong with that request. Please try again.