-
Notifications
You must be signed in to change notification settings - Fork 269
/
Changelog
384 lines (200 loc) · 8.44 KB
/
Changelog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
================
Change history
================
.. contents::
.. _version-0.19.1:
1.0.0
=====
- Moved (put/get/delete)_warmer in indices manager
0.19.1
======
News
----
- Create Manager to manage API action grouped as Elasticsearch.
- This allows to simplify ES object and to move grouped functionality in manager. We are following the ElasticSearch
- grouping of actions. For now we are adding:
- Indices Manager: to manage index operation
- Cluster Manager: to manage index operation
- Renamed field_name in name in ScriptFields
- Got docs building on readthedocs.org (Wraithan - Chris McDonald)
- Added model and scan to search.
- So one can pass custom object to be created
- Added document exists call, to check is a document exists.
Deprecated
----------
Using manager, a lot of es methods are refactored in the managers. This is the list of moved methods:
- .aliases -> .indices.aliases
- .status -> .indices.status
- .create_index -> .indices.create_index
- .create_index_if_missing -> .indices.create_index_if_missing
- .delete_index -> .indices.delete_index
- .exists_index -> .indices.exists_index
- .delete_index_if_exists -> .indices.delete_index_if_exists
- .get_indices -> .indices.get_indices
- .get_closed_indices -> .indices.get_closed_indices
- .get_alias -> .indices.get_alias
- .change_aliases -> .indices.change_aliases
- .add_alias -> .indices.add_alias
- .delete_alias -> .indices.delete_alias
- .set_alias -> .indices.set_alias
- .close_index -> .indices.close_index
- .open_index -> .indices.open_index
- .flush -> .indices.flush
- .refresh -> .indices.refresh
- .optimize -> .indices.optimize
- .analyze -> .indices.analyze
- .gateway_snapshot -> .indices.gateway_snapshot
- .put_mapping -> .indices.put_mapping
- .get_mapping -> .indices.get_mapping
- .cluster_health -> .cluster.cluster_health
- .cluster_state -> .cluster.state
- .cluster_nodes -> .cluster.nodes_info
- .cluster_stats -> .cluster.node_stats
- .index_stats -> .indices.stats
- .delete_mapping -> .indices.delete_mapping
- .get_settings -> .indices.get_settings
- .update_settings -> .indices.update_settings
Fixes
-----
- Fixed ResultSet slicing.
- Moved tests outside pyes code dir. Update references. Upgraded test elasticsearch to 0.19.9.
- Added documentation links.
- Renamed scroll_timeout in scroll.
- Renamed field_name in name in ScriptFields.
- Added routing to delete document call.
- Removed minimum_number_should_match parameter.It is not supported by ElasticSearch and causes errors when using a BoolFilter. (Jernej Kos)
- Improved speed json conversion of datetime values
- Added boost argument to TextQuery. (Jernej Kos)
- Go back to urllib3 instead of requests. (gsakkis)
- Enhance Twitter River class. (thanks @dendright)
- Add OAuth authentication and filtering abilities to Twitter River. (Jack Riches)
- HasChildFilter expects a Query. (gsakkis)
- Fixed _parent being pulled from _meta rather than the instance itself. (merrellb)
- Add support of all_terms to TermFacet. (mouad)
0.19.0
======
- Use default_indices instead of hardcoding ['_all'] (gsakkis)
- Complete rewrite of connection_http (gsakkis)
- Don't collect info on creation of ES object (patricksmith)
- Add interval to histogram facet. (vrachil)
- Improved connection string construction and added more flexibility. (ferhatsb)
- Fixed pickling DotDict.
- Fixed a bug in Decoder.
- Added execution to TermsFilter. Fixed missing _name attribute in serialized object
- Added _cache and _cache_key parameters to filters.
- Added scope, filter and global parameters to facets. closes #119
- Use a single global ConnectionPool instead of initializing it on every execute call. (gsakkis)
- Allow partial_fields to be passed in the Search class. (tehmaze)
- Propagated parameters to bulker.
- Support params for analyze. (akheron)
- Added LimitFilter.
- Fixed support for query as dict in Search object.
- Added ListBulker implementation and create_bulker method.
- Moved imports to absolute ones.
- Removed inused urllib3 files and added timeout to connection_http.
- Add NotFilter as facet filter (junckritter)
- Add terms facet filter
0.18.7-rc1
==========
- Tested against 0.18.7, with all tests passing
- Added support for index_stats
0.17.0
======
- API BREAKING: Added new searcher iterator API. (To use the old code rename ".search" in ".search_raw")
- API BREAKING: renamed indexes in indices. To be complaint to ES documentation.
- Tests refactory.
- Add model object to objetify a dict.
0.16.0
======
- Updated documentation.
- Added TextQuery and some clean up of code.
- Added percolator (matterkkila).
- Added date_histogram facet (zebuline).
- Added script fields to Search object, also add "fields" to TermFacet (aguereca).
- Added analyze_wildcard param to StringQuery (available for ES 0.16.0) (zebuline).
- Add ScriptFields object used as parameter script_fields of Search object (aguereca).
- Add IdsQuery, IdsFilter and delete_by_query (aguereca).
- Bulk delete (acdha).
0.15.0
======
- Only require simplejson for python < 2.6 (matterkkila)
- Added basic version support to ES.index and Search (merrellb)
- Added scan method to ES. This is only supported on ES Master (pre 0.16) (merrellb)
- Added GeoPointField to mapping types (merrellb)
- Disable thrift in setup.py.
- Added missing _routing property in ObjectField
- Added ExistsFilter
- Improved HasChildren
- Add min_similarity and prefix_length to flt.
- Added _scope to HasChildQuery. (andreiz)
- Added parent/child document in test indexing. Added _scope to HasChildFilter.
- Added MissingFilter as a subclass of TermFilter
- Fixed error in checking TermsQuery (merrellb)
- If an analyzer is set on a field, the returned mapping will have an analyzer
- Add a specific error subtype for mapper parsing exceptions (rboulton)
- Add support for Float numeric field mappings (rboulton)
- ES.get() now accepts "fields" as well as other keyword arguments (eg "routing") (rboulton)
- Allow dump_curl to be passed a filehandle (or still a filename), don't for filenames to be in /tmp, and add a basic test of it.
- Add alias handling (rboulton)
- Add ElasticSearchIllegalArgumentException - used for example when writing to an alias which refers to more than one index. (rboulton)
- Handle errors produced by deleting a missing document, and add a test for it. (rboulton)
- Split Query object into a Search object, for the search specific parts, and a Query base class. Allow ES.search() to take a query or a search object. Make some of the methods of Query base classes chainable, where that is an obviously reasonable thing to do. (rboulton)
0.14.0
======
- Added delete of mapping type.
- Embedded urllib3 to be buildout safe and for users sake.
- Some code cleanup.
- Added reindex by query (usable only with my elasticsearch git branch).
- Added contrib with mailman indexing.
- Autodetect if django is available and added related functions.
- Code cleanup and PEP8.
- Reactivated the morelikethis query.
- Fixed river support plus unittest. (Tavis Aitken)
- Added autorefresh to sync search and write.
- Added QueryFilter.
- Forced name attribute in multifield declaration.
- Added is_empty to ConstantScoreQuery and fixed some bad behaviour.
- Added CustomScoreQuery.
- Added parent/children indexing.
- Added dump commands in a script file "curl" way.
- Added a lot of fix from Richard Boulton.
0.13.1
======
- Added jython support (HTTP only for now).
0.13.0
======
- API Changes: errors -> exceptions.
- Splitting of query/filters.
- Added open/close of index.
- Added the number of retries if server is down.
- Refactory Range query. (Andrei)
- Improved HTTP connection timeout/retries. (Sandymahalo)
- Cleanup some imports. (Sandymahalo)
0.12.1
======
- Added collecting server info.
- Version 0.12 or above requirement.
- Fixed attachment plugin.
- Updated bulk insert to use new api.
- Added facet support (except geotypes).
- Added river support.
- Cleanup some method.
- Added default_indexes variable.
- Added datetime deserialization.
- Improved performance and memory usage in bulk insert replacing list with StringIO.
- Initial propagation of elasticsearch exception to python.
0.12.0
======
- Added http transport, added autodetect of transport, updated thrift interface.
0.10.3
======
- Added bulk insert, explain and facet.
0.10.2
======
- Added new geo query type.
0.10.1
======
- Added new connection pool system based on pycassa one.
0.10.0
======
- Initial working version.