Commit Graph

3237 Commits

Author SHA1 Message Date
Shay Banon 1d35e27b3b Plugins: Allow for plugins to implement onModule method that will be automatically injected with the relevant module type, closes #1613. 2012-01-15 16:42:29 +02:00
Shay Banon e37c0904f0 Add generic execution of APIs to Client (and indices/cluster) and allow for plugins to register custom APIs, closes #1612. 2012-01-15 16:15:09 +02:00
Shay Banon 8ee6ee05cd Java API: Move all request builders to org.elasticsearch.action... from org.elasticsearch.client.action, closes #1611. 2012-01-15 12:44:50 +02:00
Shay Banon c3c5aec567 rename RequestBuilder to ActionRequestBuilder and have a request() method on the actual interface 2012-01-15 12:14:57 +02:00
Shay Banon 6ff15b928c rename Actions to ValidateActions 2012-01-15 12:09:18 +02:00
Shay Banon 864c2ac96d remove Action interface and rename BaseAction to TransportAction (all transport level actions should extend it) 2012-01-15 01:08:39 +02:00
Benjamin Devèze 4b21cf2993 add percolation support to update action 2012-01-14 18:22:23 +01:00
Shay Banon 0530115f62 Merge remote-tracking branch 'origin/master' 2012-01-14 00:28:16 +02:00
Shay Banon 2c5824d5bf first step into trying to allow plugins to define custom actions that are integrated into the Client interface by allowing to register custom actions with TransportActionModule and ClientTransportActionModule 2012-01-14 00:25:24 +02:00
Lukáš Vlček 7a8e420363 fix typos in javadoc 2012-01-13 14:25:13 +01:00
Shay Banon 5eedfb1d62 Multicast Discovery: if it fails, still start in a single cluster mode, closes #1608. 2012-01-13 10:40:29 +02:00
Shay Banon d2d65f2f65 add test marker on the class as well 2012-01-12 16:59:43 +02:00
Olivier Favre 8f0ecbcc0b Improve latitude and longitude normalization 2012-01-12 16:58:44 +02:00
Shay Banon 97b5c100ce Add a simplified setting to disable shutdown API: action.disable_shutdown, closes #1606. 2012-01-12 14:31:37 +02:00
Shay Banon 04a138db5d Allow to provide timeout parameter in request body (as well as URI parameter), closes #1604. 2012-01-12 14:19:21 +02:00
Shay Banon a380e0e169 optimize match all query against a type to be wrapped with a constant score query and not filtered 2012-01-12 13:39:08 +02:00
Shay Banon 002c8a6599 upgrade to 11.0.1 guava 2012-01-11 15:39:09 +02:00
Shay Banon 771dbdb4bc doc nested docs and get / uid 2012-01-11 15:01:40 +02:00
Shay Banon 9d979dfc01 Add thread_pool to nodes info and nodes stats APIs, closes #1601. 2012-01-10 17:45:10 +02:00
Shay Banon 3b92962ddd bring back the option to use max instead of size for min/max thread pools 2012-01-10 14:17:26 +02:00
Shay Banon 941bccd36d Merge branch 'update-ttl-timestamp' of https://github.com/Paikan/elasticsearch 2012-01-10 13:41:55 +02:00
Shay Banon ecd41ca6e4 add 0.18.8 2012-01-10 13:10:53 +02:00
Benjamin Devèze 682176497f handle timestamp and TTL in update action 2012-01-10 10:26:58 +01:00
Shay Banon ed8a46ce09 on index failure when updating, make sure to call the listener 2012-01-10 10:43:01 +02:00
Shay Banon 710e0d78df support Iterable for generic iterable based structures for builder 2012-01-09 23:07:38 +02:00
Shay Banon 5b2854e8bb Date Histogram Facet: Add `pre_offset` and `post_offset` options, closes #1599. 2012-01-09 21:28:56 +02:00
Shay Banon 4464fe1dc1 Node Stats API: Add specific flags for stats, simplified REST paths, closes #1597. 2012-01-09 18:01:41 +02:00
Shay Banon f1f2fb2ba7 Nodes Info API: Allow to specify which info to get back, simpler URI paths, closes #1596. 2012-01-09 15:24:17 +02:00
Shay Banon d149cbb06e query builder builds a "safe" byte array 2012-01-09 00:17:53 +02:00
Shay Banon 39e41ab819 no need to raise a node disconnected if the transport service is stopped 2012-01-08 23:52:19 +02:00
Shay Banon bb1b46431c move validate query to read bytes ref 2012-01-08 23:51:34 +02:00
Shay Banon 0f1b3f0457 delete by query to use byte reference serialization 2012-01-08 20:52:48 +02:00
Shay Banon 0cc906aa21 read reference binary data in publish cluster state 2012-01-08 20:07:13 +02:00
Shay Banon 858195351b translog actions to use bytes ref serialization, and have the option to mark BytesStreamInput as unsafe 2012-01-08 17:23:37 +02:00
Shay Banon c02dc8f4f8 recovery chunk to use bytes ref 2012-01-08 16:41:24 +02:00
Shay Banon cf73e18146 get / mget to read byte reference for the source 2012-01-08 15:47:32 +02:00
Shay Banon 7966716673 Improve serialization (stream) of UTF strings, note, requires flush when upgrading, closes #1595. 2012-01-08 15:26:33 +02:00
Shay Banon ef9c96faa6 just read byte in channel buffer wrapper, no need to check for bounds since it is checked internally 2012-01-08 13:57:10 +02:00
Shay Banon 3cd08e49e8 clean unused method 2012-01-08 13:51:57 +02:00
Shay Banon 656c3989de read reference bytes in search hit for source so we don't copy it unless needed 2012-01-08 13:40:25 +02:00
Shay Banon 638a8a19e4 read bytes reference in shard count request 2012-01-08 13:21:03 +02:00
Shay Banon 0941d157be enhance StreamInput to allow to read a bytes ref, and have it directly read it from netty buffers / bytes, apply it to index/percolate/search/count (for now) 2012-01-08 13:13:42 +02:00
Shay Banon 45b5594e9b sleep before checking for no master block 2012-01-08 12:17:53 +02:00
Shay Banon e059e213db removed phonetic, fix test config files 2012-01-08 12:06:30 +02:00
Shay Banon d2e3ff66b2 netty buffer handling with http always copies over the buffer, so its basically safe 2012-01-08 11:09:08 +02:00
Shay Banon 3d51553cf2 Move phonetic token filter to a plugin, closes #1594. 2012-01-07 23:18:30 +02:00
Shay Banon aec5af3800 clean more test yml files 2012-01-07 00:08:09 +02:00
Shay Banon 164df9979a remove yml file conf for test 2012-01-06 23:43:35 +02:00
Shay Banon 5c7d1d0984 remove yml file conf for test 2012-01-06 23:41:28 +02:00
Shay Banon ec8b7c3e23 No master (startup / minimum_master_node) / not recovered blocks should cause proper failures on operations, closes #1589. 2012-01-06 23:38:41 +02:00