Commit Graph

4476 Commits

Author SHA1 Message Date
Shay Banon e0508809cb new local gateway should only load state if its data (for shards state) or master (for metadata) and not try and load if its not (so we don't load if its a client node) 2012-02-01 00:29:49 +02:00
Shay Banon 211176d10e when no specific internal source builder is constructed, don't set it, so setting raw source will not get override 2012-01-31 19:37:05 +02:00
Shay Banon d4b6753d93 add a marker class to keep frame decoder around 2012-01-31 15:04:55 +02:00
Shay Banon eb4f6709d9 Transport Client: Improve remote node freeze handling by adding another timeout layer, closes #1653. 2012-01-30 22:39:54 +02:00
Shay Banon 9194d36a64 improve compressed string construction, allow to construct it from utf8 bytes and use it where applicable 2012-01-30 21:23:15 +02:00
Shay Banon 639a03fbe0 optimize bool filter for single must clause or single should clause 2012-01-30 17:11:45 +02:00
Shay Banon 06da379f50 simplify check if there is explicit type name and doc mapper in the field to be used 2012-01-30 02:19:31 +02:00
Shay Banon f6deb45970 Cluster Allocation: cluster.routing.allocation.allow_rebalance does not allow for rebalancing on relocating shard, closes #1651. 2012-01-30 01:58:51 +02:00
Shay Banon 70c334ec01 Index Allocation: allow to specify maximum total number of shards per node, closes #1650. 2012-01-30 01:43:18 +02:00
Shay Banon 8e6b171205 remove test sysout 2012-01-29 22:52:52 +02:00
Shay Banon 25763e2124 Query DSL: prefix query to support _id, closes #1648. (fix support analysis for prefix is configured) 2012-01-29 22:05:16 +02:00
Shay Banon 49b6d70dfd Query DSL: prefix query to support _id, closes #1648. 2012-01-29 21:09:11 +02:00
Shay Banon b2a3332698 Terms Facet sorting does not handle null values properly with new JDK 7 sorting, closes #1647. 2012-01-29 18:17:37 +02:00
Shay Banon bb6fb6e083 improve test to wait for 2 nodes 2012-01-28 00:26:53 +02:00
Shay Banon 0922b5e80c improve type based query when using ids (or term on _id) perf 2012-01-28 00:25:26 +02:00
Shay Banon 293a971ea6 Better failure when passing invalid options to a query/filter, closes #1640. 2012-01-26 13:53:37 +02:00
Shay Banon da433df217 Mapping: _source mapping to allow for format to convert to (if needed), closes #1639. 2012-01-26 00:18:46 +02:00
Shay Banon 7d757a2c2e current search context is only needed in case of script 2012-01-25 13:03:18 +02:00
Shay Banon 68bb5d1434 by default, index metadata to be stored in smile format and store binary format mapping and alias filter to improve the cost it takes to persist them 2012-01-25 11:58:29 +02:00
Shay Banon 01d8305af3 better failure message when failing to load settings 2012-01-24 19:52:04 +02:00
Shay Banon 68a0dca577 add the version the index was created with (as a setting) to support better upgrade in the future between versions 2012-01-24 13:28:15 +02:00
Shay Banon c1a2a5c910 close the multicast socket in test 2012-01-24 13:10:38 +02:00
Shay Banon e0f9f292ec better logging (port number) when failing to bind 2012-01-24 13:08:16 +02:00
Shay Banon b2aae7f3a0 better failure message when no master found (how long we waited for it) 2012-01-24 13:07:58 +02:00
Shay Banon 7bcee7660a better failure message when no master found (how long we waited for it) 2012-01-24 12:56:47 +02:00
Shay Banon 30b8823e3d allow for plugins to set shards allocator 2012-01-23 22:50:03 +02:00
Shay Banon 7625f647ae also store the fact that a shard is primary or not in the shard state 2012-01-23 21:58:28 +02:00
Shay Banon 50aad23fac also store the fact that a shard is primary or not in the shard state 2012-01-23 21:57:39 +02:00
Shay Banon 9d99c54e2c _open and _close does not resolve aliases, closes #1628. 2012-01-23 02:04:57 +02:00
Shay Banon 1b7d329307 add a local gateway test to make sure we recover also latest state when updating index metadata and templates 2012-01-23 00:50:32 +02:00
Shay Banon f320cf4509 REST: `/` to properly return error code (HEAD and GET) when blocked (not recovered, no master), as well as cluster health (red == 503), closes #1633. 2012-01-22 23:57:02 +02:00
Shay Banon 942b427940 Local Gateway: Store specific index metadata under dedicated index locations, closes #1631. 2012-01-22 23:34:34 +02:00
Shay Banon 203c25739c Merge branch 'ttl-mapping-update' of https://github.com/Paikan/elasticsearch 2012-01-19 16:17:38 +02:00
Shay Banon a1a30226ca Removing a node with TRACE logging enabled causes cluster state not to be properly updated, closes #1626. 2012-01-19 15:42:23 +02:00
Benjamin Devèze 1b260af67a updatable default TTL in mapping 2012-01-18 23:53:02 +01:00
Shay Banon 2eeb609353 Thread Pool: Add a dedicated thread pool for refresh, closes #1624. 2012-01-19 00:22:27 +02:00
Shay Banon d95783b158 index.recovery.initial_shards is not being taken into account, closes #1623. 2012-01-18 23:02:13 +02:00
Shay Banon 5beb656a16 have terms filter builder support iterables as well 2012-01-18 21:34:33 +02:00
Shay Banon 5325bf4bec allow plugins to provide actual Module instances, not just classes to create the modules from 2012-01-18 21:18:29 +02:00
Shay Banon 0a3c941947 Node Stats: Add fs level stats (size + iostats), closes #1622. 2012-01-18 21:00:09 +02:00
Shay Banon 64358948ef Failure exception while executing a valid query after an invalid query, closes #1617. 2012-01-18 15:08:37 +02:00
Shay Banon 534f487de3 Local Gateway: Move shard state to be stored under each shard, and not globally under _state, closes #1618. 2012-01-18 01:08:35 +02:00
Shay Banon 801c709b42 test with local gateway 2012-01-18 01:02:55 +02:00
Shay Banon c2ef91afe6 better logging when failing to load field data to memory due to OOM 2012-01-17 12:58:30 +02:00
Shay Banon 7121138803 Merge branch 'fix-ttl-default' of https://github.com/Paikan/elasticsearch 2012-01-17 12:54:15 +02:00
Shay Banon 0d2d0936a7 support one, and all, all-1 for index.recovery.initial_shards 2012-01-17 11:47:21 +02:00
Benjamin Devèze 0810808864 fix bug in TTL handling where default TTL value was not set properly 2012-01-17 10:35:16 +01:00
Shay Banon 56a9c66df1 improve a bit the speed of adding new fields as part of mapping change / parse 2012-01-16 21:09:07 +02:00
Shay Banon bddea09170 /_status doc count of index wrong, closes #1615. 2012-01-16 13:48:31 +02:00
Shay Banon 1f5a74a91a lucene 3.5 verison 2012-01-16 13:40:49 +02:00
Shay Banon 21405f5aa4 Highlighting: Add boundary_chars and boundary_max_size to control text boundaries with fast vector highlighter (term vector), closes #1614. 2012-01-15 23:05:34 +02:00
Shay Banon 9bdef666cb Plugin loading broken, closes #1610. 2012-01-15 17:20:14 +02:00
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 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
Shay Banon 3d9e87201e Cluster metadata files destroyed when using blob store gateway causing data loss, closes #1564, 2011-12-22 20:42:37 +02:00
Shay Banon a0fb6f3d92 sync with latest patch of byte buffer directory submitted ot Lucene, seems to pass all Luceen tests 2011-12-22 20:31:32 +02:00
Shay Banon 415ee6425a Allow search to continue when sort field is missing from type mapping, closes #1558. 2011-12-22 14:25:54 +02:00
jayson.minard 61b2562623 Query DSL: custom_filters_score allow score_mode for "min" and "multiply", closes #1560 2011-12-22 14:05:51 +02:00
Shay Banon fe4ba2ad55 Improve multi field mapper with highlighting based on source, closes #1559. 2011-12-22 02:24:36 +02:00
Shay Banon c0053a601b Boolean Type: Consider `F` as false as well when searching on it, closes #1556. 2011-12-21 23:48:16 +02:00
Shay Banon 52743a05fa rename setEncoder to setHighlighterEncoder, its not evident which encoder is refers to 2011-12-21 23:36:16 +02:00
Shay Banon 55d8d0d9c6 Analyze API: Allow to execute it without pre-creating an index, and allow to build custom analyzer (tokenizer + token_filters), closes #1555. 2011-12-21 23:24:55 +02:00
Shay Banon c918a68554 better output 2011-12-21 07:04:49 +02:00
Shay Banon 91b60f1d2f Generate pid file even when running in foreground mode, closes #1553. 2011-12-21 05:28:28 +02:00
Shay Banon ffca91dda0 improve detection of which logging library to use, use slf4j if its the log4j jar file used (does not have setLevel method) 2011-12-21 04:27:28 +02:00
Shay Banon a488424404 Analysis: Add phonetic encodder called `bm` or `beider_morse`, closes #1552. 2011-12-21 03:53:44 +02:00
Shay Banon 2b838b808e add another path trie test for wildcard vs. contant 2011-12-20 17:42:06 +02:00
Shay Banon dd6c076454 simplify and improve scaling/blocking thread pools 2011-12-20 12:03:28 +02:00
Shay Banon 1f250ede50 better support for "embedded" token types (binaries) when parsing 2011-12-19 15:51:05 +02:00
Shay Banon 41b5c3d562 wait for yellow state in test 2011-12-19 13:51:33 +02:00
Shay Banon 33db88232d move to 0.18.7 2011-12-19 11:43:50 +02:00
Shay Banon 0328a300eb move jmeter files under jmeter, no need for jmx 2011-12-18 01:01:12 +02:00
Shay Banon dd87bec6cd optimize checksum computation to make sure we only work on buffers and no on single bytes 2011-12-18 00:59:38 +02:00
Shay Banon a3ca1afed5 Translog: When not sync'ing on each operation, buffer writes, closes #1549. 2011-12-18 00:19:35 +02:00
Shay Banon 010b910333 0.18.5 ignores query string analyzer, closes #1547. 2011-12-16 23:50:11 +02:00
Shay Banon ec04435b06 rename test 2011-12-16 23:36:31 +02:00
Shay Banon 26fc9bcb25 abstract away the fs translog file to an interface 2011-12-16 23:30:31 +02:00
Shay Banon 9c1280f6eb add future support to track current merge 2011-12-16 22:55:00 +02:00
Shay Banon cb4c249a65 Search: When searching against a type with a dfs search type, dfs is ignored, closes #1546. 2011-12-16 19:17:31 +02:00
Shay Banon f74256afcd improve multicast message to have an internal header for node to node discovery 2011-12-16 18:29:10 +02:00
Shay Banon 3ddbc6469a fix spelling 2011-12-16 17:01:02 +02:00
Shay Banon c53f9694d1 add a utility main class that will automatically run it in the foreground without setting a system property 2011-12-16 15:43:15 +02:00
Shay Banon 367a608707 remove jline from distribution to simplify it (no longer painting log levels though...) 2011-12-16 15:36:22 +02:00
Shay Banon 1a26ba7968 improve guessing if upper date range check works or is it a numeric 2011-12-15 22:36:44 +02:00
Shay Banon 92c162d534 optimize field query/filter for numerics to only parse the string representation once 2011-12-15 21:24:28 +02:00
Shay Banon f745b80edb timestamp term match broken in 0.18.5, closes #1543. 2011-12-15 20:49:38 +02:00
Shay Banon 922833cdc4 source not returned when * specified in fields list, closes #1541. 2011-12-14 21:18:14 +02:00
Shay Banon f05fa91cb2 if we loaded source, use it when needing it in other fetch phases like extracting specific fields instead of loading it again 2011-12-14 16:28:29 +02:00
Shay Banon 9ae402dde9 Nested queries: getDocIdSet NullPointerException, closes #1536. 2011-12-14 15:07:36 +02:00
Shay Banon 16c4c8c726 mark hostname as nullable 2011-12-13 19:11:36 +02:00
Nicolas Lalevée 4693b1e875 Add the hostname to the node info 2011-12-13 19:10:31 +02:00
Shay Banon d2c1ec5f25 Query DSL: Allow to default certain settings in query_string / field queries, closes #1540. 2011-12-13 19:02:01 +02:00
Shay Banon 679bd1c877 Query DSL: query_string analyze wildcard option with prefix to automatically do OR'ed wildcard when its broken down into several tokens, closes #1539. 2011-12-13 18:38:30 +02:00
Shay Banon 0cd38f505d Query DSL: Replace index.query.bool.max_clause_count with indices.query.bool.max_clause_count (old one still supported), closes #1538. 2011-12-13 17:47:09 +02:00
Shay Banon 0d195eb368 move unused variable 2011-12-12 20:54:13 +02:00
Shay Banon 346d2fc28c remove unused setting 2011-12-12 20:53:47 +02:00
Shay Banon 5d65b98611 add the version number to the json multicast response 2011-12-12 20:35:17 +02:00
Shay Banon ce999489d5 set the node service on the discovery to get the additional service level attributes (issue #1532) 2011-12-12 20:22:19 +02:00
Shay Banon 775339d78a Allow to configure a shard with no file based data location locking, closes #1535. 2011-12-12 15:04:54 +02:00
Shay Banon b0b379dc88 River: When deleting a river, make sure when its closed that its data is deleted, closes #1534. 2011-12-12 01:09:46 +02:00
Shay Banon de861d6f43 Support Multicast discovery for external clients, closes #1532. 2011-12-11 18:54:07 +02:00
Shay Banon 5258b505eb Multicast: Add discovery.zen.ping.multicast.send_ping setting to disable sending ping requests while still having multicast enabled, closes #1479. 2011-12-11 16:24:12 +02:00
Shay Banon 3a363976ed don't debug log conflict base failure (version conflict / document exists) 2011-12-10 01:38:29 +02:00
Shay Banon e7eed3c182 fix package location of trove extensions 2011-12-10 00:12:42 +02:00
Shay Banon 2b388cff5a better debug logging of where the default mapping is loaded from 2011-12-09 23:50:46 +02:00
Shay Banon 72eb1508c6 no need to check and throw eof in readBoolean, already done in readByte 2011-12-09 10:05:07 +02:00
Shay Banon a71f2eed99 fix test to wait for async indexing to finish 2011-12-09 10:04:11 +02:00
Shay Banon 0412e3e2e6 create NodeEnvironment outside of guice so if it fails, it fails early and does not takes ages with guice trying to create it per injection 2011-12-08 18:08:30 +02:00
Shay Banon e56086cf7b allow to perform operations on a recovering shard using versioning to do conflict detection 2011-12-08 17:41:27 +02:00
Shay Banon 1cd3af9de0 better exception message 2011-12-08 17:40:43 +02:00
Shay Banon 1fd5a48409 wait for yellow status before searching 2011-12-08 16:28:57 +02:00
Shay Banon 76af8425f0 separate writeAllowed check to actual operation compared to optimize/flush/refresh 2011-12-08 14:14:04 +02:00
Shay Banon b7d3f8fc99 use the smaller value possible 2011-12-08 14:10:25 +02:00
Shay Banon 16c2c6b2c3 fix deb to properly copy over sigar 2011-12-08 13:40:09 +02:00
Peter bccf0b193e moving debian package to maven 2011-12-08 13:22:09 +02:00
Shay Banon ba29160562 allow to enabled/disable gc deletes internally 2011-12-08 12:07:55 +02:00
Shay Banon df9f333a27 Default mapping means new types not mapped explicitly, closes #1524. 2011-12-07 23:17:27 +02:00
Shay Banon 5ea6c0bac5 wait for green status in test to make sure shards are allocated 2011-12-07 17:01:57 +02:00
Shay Banon c1b86f5786 upgrade to guava 10.0.1 and fix assembly 2011-12-06 21:09:28 +02:00
Shay Banon 9781d8675d cleanups, remove unused code 2011-12-06 16:40:07 +02:00
Shay Banon c6d5672a17 fix to provided scope from runtime since we need to compile with it 2011-12-06 13:52:40 +02:00
Shay Banon 19d80a7f1b assemblies 2011-12-06 13:41:49 +02:00
Shay Banon 6a71eab51f finalize structure, tests pass 2011-12-06 02:43:17 +02:00
Shay Banon a8fd2d48b8 first cleanup phase, move to single src 2011-12-06 00:59:23 +02:00