Commit Graph

220 Commits

Author SHA1 Message Date
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 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
Shay Banon 93cce59a74 have retry on conflict parameter default to 0, and really mean it when retrying... 2012-01-05 23:45:00 +02:00
Shay Banon 13ad6015c4 associate a rest status with a cluster block, and derive the status based on the blocks a failure has 2012-01-05 23:24:47 +02:00
Shay Banon fcb96fdd1b cluster block failure should return 503 status code 2012-01-05 20:58:23 +02:00
Shay Banon e38d80288b allow to set the master node timeout also in rest cluster state api 2012-01-05 20:50:54 +02:00
Shay Banon abc782abbb add an option to control teh master node timeout in cluster health request 2012-01-05 20:50:16 +02:00
Shay Banon 759d948335 when setting timeout on cluster health, automatically set the master node timeout as well if it was not explicitly set 2012-01-05 20:49:42 +02:00
Shay Banon d3b2a2cf66 use a constant value for default master node timeout 2012-01-05 20:48:09 +02:00
Shay Banon 2b125bd6b4 master not discovered should use 503 response code 2012-01-05 20:45:36 +02:00
Shay Banon a18021c778 Filter cache to have just weighted (node) and none, and index query parser cache to be size based, closes #1590. 2012-01-05 20:44:09 +02:00
Shay Banon 367ecceef6 Merge branch 'ttl-routing-test' of https://github.com/Paikan/elasticsearch 2012-01-05 15:03:59 +02:00
Benjamin Devèze d95aa9f266 add ttl tests with routing 2012-01-04 23:37:34 +01:00
Shay Banon df4a3bfd37 better explanation calc with the change to factor in custom filters score 2012-01-05 00:09:40 +02:00
Shay Banon e5f2ce0fd6 use factor in scripts, so custom score function will work correctly when it multiplies 2012-01-04 21:53:26 +02:00
Shay Banon 7d0af6a345 move to 0.9.2 lzf 2012-01-04 20:44:39 +02:00
Shay Banon 1b68f99449 TTL does not respect routing when expiring (deleting) documents, closes #1586 2012-01-04 20:37:13 +02:00
Shay Banon 700514fd6c have the zip bat windows file use dos line endings 2012-01-03 20:35:42 +02:00
Shay Banon 38e8727a89 Plugins: If a plugin has a bin directory, move it under the main bin location under the plugin name, closes #1584. 2012-01-03 14:03:27 +02:00
Shay Banon ed1d1249fc simplify support transport actions, no need to provide several action paths, we can derive them 2012-01-03 13:43:27 +02:00
Shay Banon a793336635 clean unused method 2012-01-03 13:23:02 +02:00
Shay Banon 8e2cd64ee3 remove unused script service 2012-01-03 13:04:18 +02:00
Shay Banon c4d75f3844 document missing should be 404 2012-01-03 01:11:47 +02:00
Shay Banon 761862a9a9 nicer exception names 2012-01-03 01:05:08 +02:00
Shay Banon beb5986256 nicer main action names 2012-01-03 01:04:08 +02:00
Shay Banon 83d5084f62 Update API: Allow to update a document based on a script, closes #1583. 2012-01-02 22:02:19 +02:00
Lee Hinman e582f6c91a Rename count/pacakge-info.java to count/package-info.java 2012-01-01 12:11:41 +02:00
Shay Banon 8c6b2a3077 Date Histogram Facet: Improve time zone handling, add factor option, closes #1580. 2012-01-01 00:09:57 +02:00
Shay Banon 53b1b6e4bb add size in bytes to bb dir 2011-12-31 20:33:17 +02:00
Shay Banon 8cf8b478af Scan Search: Improve performance while scrolling through it, closes #1579. 2011-12-31 17:49:19 +02:00
Shay Banon 370444cb75 count collector does not throw stop collection 2011-12-31 16:26:01 +02:00
Shay Banon a4e4235d93 move sort optimization when sorting by _score to sort parse element from the query phase execution 2011-12-31 16:24:27 +02:00
Shay Banon 3c88eacb01 bind transport validate query actions as singletons 2011-12-30 13:42:08 +02:00
Shay Banon 0f1a908bae improve multi field highlighting with fast vector based highlighting by caching the custom query across field mappers (one when there is field match, and one when there isn't) 2011-12-30 02:08:05 +02:00
Shay Banon ee011c9f0d Highlighter: Add require_field_match (both global and per field) option, closes #1577. 2011-12-30 02:00:20 +02:00
Shay Banon c2df297624 randomize routing value when validating query 2011-12-29 14:32:02 +02:00
Shay Banon e47ec96ca2 Merge branch 'master' of https://github.com/dakrone/elasticsearch 2011-12-29 14:17:50 +02:00
Shay Banon 73c58693cd improve analyzers and tokenizers bindings to work similar to filters and char filters, by processing them first, and lazily binding them if needed 2011-12-29 13:57:39 +02:00
Lee Hinman f6b036f713 Refactor validate to validateQuery and move into indices admin action 2011-12-28 15:27:59 -07:00
Shay Banon 4e6217c54d simplify toString for cached filter 2011-12-28 23:35:04 +02:00
Shay Banon bb63d38a65 Two different indexes with the same nested object name causing ArrayIndexOutOfBoundsException, closes #1575. 2011-12-28 22:20:09 +02:00
Shay Banon cb0284f802 count down latch if we don't have any changes in cluster update settings 2011-12-28 22:06:13 +02:00
Edward Wang 636f7bd454 Fix failed test ClusterAndIndexReaderOnlyTests
MetaData uses two different string constants, "cluster.blocks.read_only"
and "cluster.read_only", for one setting. It confuses
TransportClusterUpdateSettingsAction and causes
lusterAndIndexReaderOnlyTests never finish.
2011-12-28 22:05:27 +02:00
Lee Hinman 0cb1a2ebe1 Prefer local shards for validate action 2011-12-28 08:54:55 -07:00
Lee Hinman be6e18cb36 Add query validation feature 2011-12-27 13:51:59 -07:00
Shay Banon f79cf4149f remove unused code 2011-12-27 20:36:57 +02:00
Shay Banon 5049f60b6c Set an index / indices to read only, or make the cluster read only, closes #1573. 2011-12-27 20:35:07 +02:00
bbgordonn b41166a78a RestIndicesExistsAction: include block message in error if ClusterBlockException. 2011-12-27 17:19:03 +02:00
bbgordonn 661d04e9de #1452 closed: block writes or metadata changes if {index,cluster}.read_only is set. 2011-12-27 17:19:03 +02:00
Shay Banon cc3f44473f Search: Support partial fields that can returns partial view of the _source, closes #1570. 2011-12-26 16:49:55 +02:00
Shay Banon 37398c2000 ignore index shard missing failure when refreshing as it might happen 2011-12-26 16:32:30 +02:00
Shay Banon 038d91d134 Java API: ScriptSortBuilder does not pass the lang used, closes #1569. 2011-12-25 18:37:42 +02:00
Shay Banon fb218babe3 add adapter streams that wrap another adapter and delegate all method calls, have handles use them 2011-12-25 17:37:58 +02:00
Shay Banon aa078788f9 Nested objects not deleted on "delete by query", closes #1537. 2011-12-25 13:33:02 +02:00
Shay Banon 0ea58cacfd Query DSL: Add different execution models for terms filter, closes #1568. 2011-12-24 00:29:55 +02:00
Shay Banon 73b74847aa cleanup test 2011-12-22 23:24:12 +02:00
jayson.minard 52e6327467 unit tests for issue 1560, customfiltersscore min and multiply search modes 2011-12-22 23:19:58 +02:00