Commit Graph

718 Commits

Author SHA1 Message Date
Shay Banon ae77013004 Rest API: Add `HEAD` support for `/{index}/{type}/{id}` to quickly check if doc exists or not, closes #2047. 2012-06-22 19:32:38 +02:00
Shay Banon ed71662275 add debug log if using compressed stored fields 2012-06-22 18:23:15 +02:00
Shay Banon 1780a2a067 Failure to recover properly on node(s) restart
When a node restarts, it might be canceling one recovery of a shard id only to get another one in the next cycle. We should detect this case and handle it properly.

This is a fix to the annoying message seen by users: suspect illegal state: trying to move shard from primary mode to replica mode.
2012-06-22 17:46:57 +02:00
Shay Banon cc3fab45ff Improve cluster resiliency to disconnected sub clusters + fix a shard allocation bug with quick rolling restarts
Two main changes:

Improve cluster resiliency to disconnected sub clusters. If a node pings a master and that node is no longer registered with the master, improve the rejoin process of that node to the cluster. Also, if a master receives a message from another master, pick one to force to rejoin the cluster (based on cluster state versioning).
On quick rolling restart, without waiting for shard allocation, the shard allocation logic can mess up its counts, causing for strange logic in allocating shards, or validation failures on routing table allocation.
2012-06-22 03:36:54 +02:00
Shay Banon 90371beedc Store Throttling (node level and/or index level) with options on merge or all, closes #2041.
Allow to configure store throttling (only applied on file system based storage), which allows to control the maximum bytes per sec written to the file system. It can be configured to only apply while merging, or on all output operations. The setting can eb set on the node level (in which case the throttling is done across all shards allocated on the node), or index level, in which case it only applied to that index.

The node level settings are indices.store.throttle.type to set the type, with values of none, merge and all (defaults to none). And, also, indices.store.throttle.max_bytes_per_sec (defaults to 0), which can be set to something like 1mb.

The index level settings is index.store.throttle.type for the type, with values of node, none, merge, and all. Defaults to node which will use the "shared" throttling on the node level. And, index.store.throttle.max_bytes_per_sec (defaults to 0).
2012-06-21 21:21:49 +02:00
Shay Banon 9e6cfa77a5 better compressed input offset data structure 2012-06-20 16:01:09 +02:00
Shay Banon b009c9c652 Stored Fields Compression, closes #2037.
Compressing the stored fields file (the .fdt file) directly allows to have better compression on the size of the index, specifically when indexing (and storing) small documents. The compression will be considerably more effective compared to compressing each doc on its own (when setting compress on the _source mapper). The downside is that more data needs to be uncompressed when loading documents.

The settings to control it is `index.store.compress.stored_fields` set to `true` (it defaults to `false`), and can be enabled dynamically using the update settings API. This allows to enabled compression at a later stage (i.e. old time based indices), and then optimize the index to make sure it gets compressed.
2012-06-20 05:31:34 +02:00
Shay Banon fbf4c70af9 add simple compression bench 2012-06-19 13:15:44 +02:00
Martijn van Groningen d66f401ce6 Better fix for mv field highlighting issue #1994 2012-06-19 04:13:47 +02:00
Shay Banon aebd27afbd abstract compression
abstract the LZF compression into a compress package allowing for different implementation in the future
2012-06-19 04:07:11 +02:00
Shay Banon 1a98a9184e fix test to shutdown threadpool 2012-06-19 03:37:08 +02:00
Shay Banon 7b3b130a62 fix tests to shutdown threadpool 2012-06-19 03:33:44 +02:00
Shay Banon 0a459f7ceb using node settings to get the node name for thread names 2012-06-19 03:03:11 +02:00
Shay Banon 0f47518752 add getTerms for uid filter 2012-06-18 15:04:49 +02:00
Shay Banon 0c7690d105 disable lastGc
disable  using lastGc, it gives strange results...
2012-06-16 15:40:44 +02:00
Chris Male 040fa2581a Added GeoDistance test which verifies the difference in behaviour between ARC and PLANE, causing elliptical results 2012-06-15 22:55:45 +02:00
Shay Banon 14fc3910ff better log message 2012-06-14 22:41:11 +02:00
Shay Banon 2280915d3c upgrade to joda 2.1
with the hack of duplicating BaseDateTime to remove the volatile
2012-06-14 21:57:01 +02:00
Shay Banon 982c8b4664 fix test to work with new noramalization 2012-06-14 15:55:33 +02:00
Chris Male 2315e6d239 Incorporated changes to normalization of latitude and longitudes so latitude normalization is correct and longitude is normalized at the same time 2012-06-14 15:43:36 +02:00
Shay Banon 133bd72f8d Multi Search API: Allow to set search_type on REST endpoint URI to apply to all search requests, closes #2023. 2012-06-13 20:47:24 +02:00
Shay Banon cf1fd26346 fix imports 2012-06-13 16:24:06 +02:00
Ozgur Orhan b80eee305e Enum -> toString -> toLowerCase fails for TR locale (for opType especially) 2012-06-13 16:20:55 +02:00
Shay Banon cecb762ede use an array to represent the keys in the uid filter
fix equals and hashcode as well
2012-06-13 16:08:03 +02:00
Shay Banon dfe6e58e37 use an array to represent the keys in the uid filter 2012-06-13 16:03:45 +02:00
Shay Banon 6eb419649a better/faster parsing of update request (with upsert) 2012-06-13 13:12:37 +02:00
Shay Banon 0b4fe4add3 rename doc to upsert in update API
a better descriptive name for it, and won't clash with future features on the update api
2012-06-13 12:42:10 +02:00
Benjamin Devèze e4b11e0b15 fix bug index.ttl.disable_purge should be in IndexMetaData 2012-06-12 23:51:32 +02:00
Shay Banon feb81dd365 improve filter cache cached value to store docset only 2012-06-12 23:26:15 +02:00
Shay Banon 4f59e5d283 combine cacheable method of bit sets into one method 2012-06-12 19:49:59 +02:00
Shay Banon 83df0587ad move remaining CHM construction to the factory method 2012-06-12 17:26:54 +02:00
Shay Banon ab35e7ce7a move remaining CHM construction to the factory method 2012-06-12 17:26:36 +02:00
Shay Banon 95fc7a39a3 move remaining CHM construction to the factory method 2012-06-12 17:23:01 +02:00
Shay Banon de3c74ab96 add a flag to restore old multi value behavior with fast vector highlighter 2012-06-12 00:19:56 +02:00
Martijn van Groningen 1319ed9322 Fixes highlight issue for multivalues fields described in issue #1994 2012-06-11 23:44:45 +02:00
Shay Banon 9798d3e8fb Discovery: Join process to better validate join request, closes #2019.
The join proces received on the master from a node joining the cluster now tries to validate by connecting to the relevant node. It should also send a message to it to double check that all is in order.
2012-06-11 23:44:27 +02:00
Shay Banon 53be815e22 Init script in Debian package ignores some options in elasticsearch.yml, closes #1765. 2012-06-11 13:49:59 +02:00
Shay Banon 8072af9078 Allow to pass es.default. settings to the process, using it as default value unless specified in the config file, closes #2016. 2012-06-11 13:30:55 +02:00
Aurelien Requiem 6d867126c9 lintian rule : missing-dependency-on-libc on lib/sigar/libsigar-amd64-linux.so
* added "linc6" as a package dependency as it's required for file
	  lib/sigar/libsigar-amd64-linux.so and lib/sigar/libsigar-x86-linux.so
	  Refer to Debian Policy Manual section 8.6 (Dependencies between the
	  library and other packages - the shlibs system) for details.
2012-06-11 12:29:09 +02:00
Aurelien Requiem 6d477aee0d lintian rule : possible-unindented-list-in-extended-description in src/deb/control/control
* replaced asterisk (*) in the package description to match lintian
	  rule. Refer to Debian Policy Manual section 5.6.13 (Description)
	  for details
2012-06-11 12:29:09 +02:00
Aurelien Requiem 8ad6e7a372 lintian rule : maintainer-script-needs-depends-on-adduser postinst
* added dependency in control for "adduser" package as the command is
	  used in the postinst script
2012-06-11 12:29:08 +02:00
Aurelien Requiem 17a28b0fe0 lintian rule : extended-description-line-too-long in src/deb/control/control
* reduced description lines to 80 chars max to comply with lintian
2012-06-11 12:29:08 +02:00
Shay Banon fd3c4d14af use djb hash to choose doc lock, and lock pool 2012-06-11 02:02:01 +02:00
Shay Banon e53db1a478 Quoted query_string gives NullPointerException with not_analyzed field (0.19.4), closes #2006. 2012-06-11 00:24:17 +02:00
Shay Banon 8f0bc799c6 Upgrade to latest jst166y and jsr166e
Embed the code now in our source, since jsr166e jar generation with 1.6 instead of 1.7 is complicated when doing it on its own as it relies on ThreadLocalRandom, and we have it in jsr166y
2012-06-10 00:42:54 +02:00
Shay Banon 726ec8b9ff Allow to filter client and "just" data nodes from controlling elected master (default client to true), closes #2014. 2012-06-09 01:28:02 +02:00
Shay Banon 395a09db03 convert to json wasn't taking reformat flag properly into account 2012-06-08 13:54:07 +02:00
Nicolas Lalevée 4df978e479 Fix an incorrect error message when query parse fail, closes #1996 2012-06-08 13:46:05 +02:00
Nicolas Lalevée d49d58058c When there's an error on elasticsearch side, in some native script for instance, explicit it in the error message and at least print the name of the root exception visible to the client. 2012-06-08 13:32:22 +02:00
Shay Banon 9905eab73a Update API: Allow to upsert, provide a doc and index it if the doc does not exists, closes #2008. 2012-06-08 02:01:04 +02:00
Nicolas Lalevée 898fef11c9 Add an interface about "boost settable" query builders 2012-06-07 23:35:21 +02:00
Shay Banon ccea825966 terms filter uses less memory when cached
move from a TreeSet to an array, sorting on creation
2012-06-07 23:34:21 +02:00
Shay Banon 72646fdfea export ES_JAVA_OPTS in deb script 2012-06-07 15:45:57 +02:00
Jordi Boggiano b8acb9c0bb Update requirements of the deb package
Virtual packages such as java*-runtime are provided by various
java/JRE implementations, which makes it more flexible to use.
2012-06-07 15:38:03 +02:00
Robin Hughes aeea3565ae Analysis: Add bulgarian to stemmer token filter language options 2012-06-07 15:34:21 +02:00
Lukas Vlcek 461063d20b Fix exception message 2012-06-07 15:19:38 +02:00
Shay Banon 201592cc91 fix search quote analyzer lookup, if its not null, use it 2012-06-07 15:19:14 +02:00
Shay Banon 2d46b41021 improve iteration on multi valued field data by breaking fast 2012-06-07 14:59:20 +02:00
Shay Banon 8df0e35532 better logging of failure to load sigar under monitor.sigar, and not just monitor 2012-06-02 21:34:01 +02:00
Shay Banon a0d1b9b695 explicitly set listener to false when applicable 2012-06-01 11:25:55 +02:00
Shay Banon 98d2e7c031 gateway snapshot size in bytes not returned properly 2012-05-31 11:57:17 +02:00
Shay Banon cf04cff273 Index level allocation filtering: Add _host option, closes #1991.
Add _host option to index level allocation filtering, which will match on either the hostname or ip address.
2012-05-31 11:39:09 +02:00
Shay Banon eb95bb50a8 if shard is not started, don't allow to move it
we already only run on started shards in the single place where we use move, but this is a better check in general
2012-05-30 14:11:10 +02:00
Shay Banon 5b6b94cf83 Query DSL: not filter with inner filter that uses array element fails, closes #1987.
(without the `filter` wrapper)
2012-05-30 00:17:21 +02:00
Shay Banon 4504fc2937 TransportClient does not load plugins, closes #1982. 2012-05-26 00:22:00 +02:00
Shay Banon e50fffdaeb protect against internal transport requests that are malformed or wrongly sending HTTP requests to the transport port that can cause OOM (though really, that OOM is harmless in this case), relates to #1955. 2012-05-25 00:43:08 +02:00
Shay Banon 7b2e1b7b4f Get mapping with no index specified on an empty cluster returns 404, closes #1976. 2012-05-24 00:58:11 +02:00
Shay Banon 3bf55a0858 Query DSL: Add more fuzzy options in different queries (text, query_string/field), closes #1974. 2012-05-24 00:33:52 +02:00
Shay Banon 5cb3ea6ebc add setting max boost on custom filters score query in the Java API as well 2012-05-23 23:49:17 +02:00
Shay Banon a64fcf77ee Query DSL: Add max_boost to custom_filters_score to cap boosting, closes #1973. 2012-05-23 23:31:42 +02:00
Shay Banon 9f706c6f6e improve field data loader to bulk read doc ids 2012-05-23 22:18:20 +02:00
Shay Banon f87632fabd Query DSL: term/terms filter performance improvement (bulk reading), closes #1972. 2012-05-23 21:54:31 +02:00
Shay Banon 86cd95aee2 Query DSL: text query to support minimum_should_match, closes #1971. 2012-05-22 16:46:58 +02:00
Shay Banon 5bd93d6f93 Query DSL: Add null_value and existence to missing filter, filtering both null values and missing fields, closes #1970. 2012-05-22 16:40:26 +02:00
Shay Banon 11c9c404e9 add 0.19.5 2012-05-21 22:08:14 +02:00
Shay Banon 0998f3f8a6 support in compound queries / filter parsers for lower level ones returning null as the result of parsing the inner query / filter. 2012-05-21 21:43:17 +02:00
Shay Banon 4b5c89478c improve warmer to allow be able toe execute only on new segments 2012-05-21 17:05:25 +02:00
Shay Banon 13c76baa72 fix heap memory settings in default, and comment out all the options (in case they are changed in the init.d one) 2012-05-21 11:17:35 +02:00
Shay Banon d264890c4d use CHM in percolator so we don't copy on write large data in case of many percolators 2012-05-21 10:39:38 +02:00
Shay Banon a9e2433dab Mapping: Using _default_ mapping _routing mapping definition fails to apply when introducing type through indexing, closes #1967. 2012-05-20 21:35:07 +02:00
Shay Banon bb0f5cf234 improve map builder to initialize the inner map with a map to build the data from 2012-05-20 19:50:47 +02:00
Shay Banon 090fefe05c better failure when missing default analyzer, don't allow to override name method with extending index analyzer, always use the injected one 2012-05-20 12:24:14 +02:00
Shay Banon 65ae606c41 better logging for shard and index 2012-05-20 11:35:21 +02:00
Shay Banon 2c274e59d5 Percolator: Registering (indexing) a new percolator query will still be stored in memory if actually indexing it fails, closes #1965. 2012-05-19 19:36:01 +02:00
Shay Banon b4512cd471 Mapping: default mapping with dynamic templates can cause them to double on each restart, closes #1964. 2012-05-18 01:11:32 +03:00
Shay Banon 2cca50d238 Get API: Allow to provide a parent value which automatically set the routing value, closes #1961. 2012-05-17 01:41:06 +03:00
Shay Banon be01e8fe19 Index Templates settings provided in a config file fails to load properly, closes #1960. 2012-05-17 01:00:59 +03:00
Shay Banon d031662da3 better failure logging when failing to read a tempalte 2012-05-17 00:17:31 +03:00
Shay Banon 07e0888b3e Mapping: Allow to specify enabled set to false on a property without specifying the type, closes #1959. 2012-05-16 22:33:44 +03:00
Shay Banon 140ede1cdd on failure to extract a plugin, log the message and bail 2012-05-15 23:56:31 +03:00
Shay Banon b05228485d Percolator Index: Don't index the `query` element in a percolated query, closes #1949. 2012-05-13 14:11:19 +03:00
Shay Banon 0c732b8bf3 Percolator: Wrongly using analyzer configured for the actual index on percolator filtering, closes #1948. 2012-05-13 13:35:53 +03:00
Shay Banon 3b33e3f342 deb: ES_HEAP_SIZE not exported, closes #1947. 2012-05-13 10:11:33 +03:00
Shay Banon a65d8b6b5d Shutdown API: When sending an "all" shutdown, it also shutsdown node clients, closes #1939. 2012-05-10 23:33:34 +03:00
Shay Banon 64addee691 Query String URI: Add `lenient` to the URI `q` parameters, closes #1937. 2012-05-10 13:53:46 +03:00
Shay Banon cda633afee Query DSL: query_string syntax to support wildcard fieldnames in the query text, closes #1936. 2012-05-10 13:49:18 +03:00
Shay Banon c6b593595d Query String: Add `lenient` flag to support *value* parse failures, closes #1932. 2012-05-10 12:03:31 +03:00
Shay Banon acbd7b686a Allow to customize quote analyzer to be used when quoting text in a query_string, closes #1931. 2012-05-10 11:51:51 +03:00
Shay Banon 379976b5ce better listing of jdks to try 2012-05-10 00:01:53 +03:00
Radu Gheorghe 175545f3df Added JAVA_HOME paths (6 and 7) for Ubuntu 12.04 x86_64 2012-05-09 23:47:10 +03:00
Shay Banon 5a2ee614d1 Debian: Update deps to be on openjdk-7-jre-headless first, then 6, closes #1929. 2012-05-09 23:46:28 +03:00
Shay Banon 11064df6aa Get API: When _source is disabled, the source is still used if fetched from the transaction log, closes #1927. 2012-05-08 17:58:30 +03:00
Shay Banon ddecd723a7 GET document response returns exists field twice, closes #1926. 2012-05-08 17:01:46 +03:00
Shay Banon 42eda48c15 Percolator: Filtering percolators based on a query can cause wrong matches to be returned, closes #1925. 2012-05-08 16:55:42 +03:00
Shay Banon 927b4385a8 org.elasticsearch.common.collect.Tuple have 2 identical methods, closes #1922. 2012-05-08 13:38:14 +03:00
Shay Banon 68a321ec0c better logging when warming up 2012-05-08 11:39:18 +03:00
Shay Banon 761cc6c214 Binary field is stored by default, allow to disable it, closes #1919. 2012-05-07 20:29:03 +03:00
Shay Banon 76e1c3a017 Upgrade to guava 12.0, closes #1920. 2012-05-07 20:08:41 +03:00
Shay Banon 7bac883837 better handling of value from array when cleaning thread locals 2012-05-07 16:54:32 +03:00
Shay Banon f0007fd4ae Create Index: Allow to provide index warmers when creating an index, closes #1917. 2012-05-07 14:27:30 +03:00
Shay Banon ca2dc1801c Index Template: Allow to register index warmers in an index template, closes #1916. 2012-05-07 14:00:37 +03:00
Shay Banon 9638c4700d change when setting the order for index templates in the rest API 2012-05-07 13:40:25 +03:00
Shay Banon ba79c778ba change setting name from index.warm.enabled to index.warmer.enabled 2012-05-06 18:52:51 +03:00
Shay Banon e0f3b7e885 Index Warmup API, closes #1913. 2012-05-06 18:50:35 +03:00
Shay Banon e1732d0a59 check also on the node settings 2012-05-04 17:11:10 +03:00
Shay Banon 76b32a646c When setting `index.recovery.initial_shards` in the config file, it is ignored, closes #1912. 2012-05-04 17:06:34 +03:00
Shay Banon 0219471c00 Transport Client: Add `client.transport.ignore_cluster_name` to ignore the cluster name validation, defaults to `false`, closes #1910. 2012-05-04 01:11:56 +03:00
Shay Banon 1e60f4b255 separate to two methods, one taking single address and one taking a list 2012-05-03 23:24:08 +03:00
Shay Banon aeae380258 ClassCastException during percolation query, closes #1905. 2012-05-03 17:57:52 +03:00
Shay Banon 8db27cc5bc Transport Client: When adding an address was already added, ignore it, closes #1906. 2012-05-03 16:11:15 +03:00
Shay Banon fe70b51080 add debug message when adding and removing addressing from the transport client 2012-05-03 14:59:29 +03:00
Shay Banon 07f3ed05b0 Search Preference: Add _shards prefix to explicitly list shards, and add _prefer_node option, closes #1904 2012-05-03 01:12:22 +03:00
Shay Banon 8e6d3753cc Support Java Date when serializing update parameters, closes #1902. 2012-05-02 23:59:46 +03:00
Shay Banon 40cd3c239e call mergeInit in the serial merge scheduler case to get proper stats for it 2012-05-02 21:18:31 +03:00
Shay Banon e488d524c3 Index Merge Scheduler: Configuring using `serial` fails to load, closes #1901. 2012-05-02 20:52:54 +03:00
Shay Banon f8e6cc6fac Query DSL: filtered query to support null filter or {} filter (in which case, just the query is executed), closes #1900. 2012-05-02 14:58:39 +03:00
Shay Banon 300fb4fa93 Network: Add network.address.serialization.resolve setting (defaults to false) to always resolve publish address based on host name, closes #1899. 2012-05-02 14:27:42 +03:00
Shay Banon 6e3058e273 better logging when a merge stats with some stats on it 2012-05-02 13:59:54 +03:00
Shay Banon b22ccfb5eb properly log exception when trying to warm and it fails 2012-05-02 12:36:33 +03:00
Shay Banon f01acb20e1 Java API: Improve TransportClient in sniff mode to be more lightweight on connections and API, closes #1898. 2012-05-02 11:44:16 +03:00
Shay Banon 771225ccc9 add logging with a reason why the cache is cleared (filter and field) 2012-05-01 16:36:05 +03:00
Shay Banon d01f925000 automatically fix maxMergeAtOnce if segmentsPerTier is changed with tiered merge policy 2012-05-01 12:57:17 +03:00
Shay Banon ef94cc0517 use nanoTime instead of millis 2012-05-01 11:59:02 +03:00
Shay Banon f7c9dd11e9 add trace logging for how long it took to load field data cache 2012-05-01 11:55:55 +03:00
Shay Banon 81b9a4404a allow internally to register custom metadata with an index and global metadata 2012-05-01 11:55:33 +03:00
Shay Banon 50da9473ad remove unused class 2012-04-30 21:58:16 +03:00
Shay Banon 982a84b38d add 0.19.4 2012-04-30 12:33:24 +03:00
Shay Banon deff094343 When a node disconnects from the cluster (not enough master nodes, or a client node) and rejoins it might not update its internal routing table, closes # 2012-04-30 00:57:52 +03:00
Shay Banon 5c6d8314c0 make the call the apply settings sync'ed 2012-04-29 19:43:09 +03:00
Shay Banon 4a21ddf6f3 Highlighting: Using "plain" (non term vector) highlighting with custom score within a filtered query fails to highlight, closes #1894. 2012-04-29 18:20:16 +03:00
Shay Banon b379225238 allow to specify which executor to use when warming up 2012-04-29 17:13:52 +03:00
Shay Banon 8ca36c8dd5 allow internally to register index warmup actions, as well as expose stats on it 2012-04-29 00:37:20 +03:00
Shay Banon 6e09eab9e5 allow to set the full source when creating index (settings + mappings) in the Java API 2012-04-28 21:18:19 +03:00
Shay Banon 3893417c44 index.shard.check_on_startup set to fix: throw failure only if we are not fixing the index 2012-04-28 00:37:35 +03:00
Jörg Prante 19292bddc0 adding 'fix' value for invoking Lucene's fixIndex method 2012-04-28 00:22:59 +03:00
Jörg Prante 9555759d33 adding fixIndex() method 2012-04-28 00:22:59 +03:00
Shay Banon cd79f03977 Translog: Buffering translog does not write directly to the file channel but to RAF, which causes problems reading from the channel on windows, closes #1887. 2012-04-27 18:47:25 +03:00
Shay Banon 0fdfa5a581 provide version in the english filter 2012-04-27 13:26:18 +03:00
Shay Banon a4fb33dbc3 Date Histogram Facet: Add `quarter` as an interval, closes #1884. 2012-04-24 19:04:09 +03:00
Igor Motov 22b2aa69d1 Add missing TextQueryBuilder and FuzzyQueryBuilder properties 2012-04-24 15:05:57 +03:00
Shay Banon 783649adc7 not only noclass, throwable will do well here.... 2012-04-22 12:25:10 +03:00
Nicolas Lalevée cc65d39f06 When creating an index, fail properly on classpath error 2012-04-22 12:23:51 +03:00
Olivier Favre 4ea5b7d51f Fix WildcardQueryBuilder when only rewrite is changed
If only the rewrite field is changed, and not the boost one,
the serilization did not write the rewrite field.
2012-04-22 12:21:39 +03:00
Shay Banon a77e5757c8 ignore failure to flush when the engine is closed and updating its settings 2012-04-21 17:51:20 +03:00
Shay Banon 98b1f368f5 Better handling of fields that have `.` in their name when doing property based navigation, closes #1875. 2012-04-19 17:28:14 +03:00
Shay Banon 03c9eaf812 NullPointerException in geo_distance_range without to, closes #1865. 2012-04-17 15:51:45 +03:00
Shay Banon 20e968bf62 On recovery (startup), the recovery translog file handle is not properly closed, closes #1866. 2012-04-17 12:14:24 +03:00
Shay Banon 79309ae7e3 cleanup a bit full source with put index template 2012-04-15 18:22:29 +03:00
Nicolas Huray f1a8e7e4c7 Fix for issue #1860 : Index Templates API - Set Source 2012-04-15 18:16:22 +03:00
Shay Banon 16cd159a38 Upgrade to Lucene 3.6, closes #1862. 2012-04-15 17:39:41 +03:00
Shay Banon c99d7ab8e1 add trace logging to client nodes when sniffing of when ti connects to a node 2012-04-11 23:05:30 +03:00
Shay Banon ad07810610 XContentBuilder throws NPE on null Boolean, closes #1853. 2012-04-11 20:54:14 +03:00
Shay Banon ae69e7c472 Setting index.auto_expand_replicas in the elasticsearch config file does not apply, closes #1852. 2012-04-11 20:53:01 +03:00
Shay Banon 1f050435b2 Node Stats: Add timestamp per node stats element, closes #1851. 2012-04-11 12:20:21 +03:00
Shay Banon dd60187735 rename method to conform with other custom analysis methods 2012-04-09 21:02:58 +03:00
Shay Banon cec46d552d add simplified extension point for plugins to add custom analysis components 2012-04-09 21:02:21 +03:00
Shay Banon 5348c41924 Bulk API: Allow to control if its compressed or not using `action.bulk.compress` (defaults to true which is current behavior), closes #1850. 2012-04-05 20:47:38 +03:00
Shay Banon 824b0bd347 Relocation of shards causes bulk indexing client to hang, closes #1839. 2012-04-05 20:25:53 +03:00
Shay Banon c26934be36 remove double call to shards (meaningless, but still) 2012-04-05 19:23:42 +03:00
Shay Banon 0cdd55bcd7 add 0.19.3 2012-04-04 20:53:45 +03:00
Shay Banon f512f43ac5 don't throw index missing when updating number of replicas on a closed index 2012-04-04 20:17:46 +03:00
Shay Banon b78680c7ae Java API Query DSL: Add wrapper filter similar to wrapper query accepting a json filter in raw format, closes #1844. 2012-04-04 19:53:17 +03:00
Shay Banon fb93bd13dd increase teh number of "med" connections from 4 to 6 2012-04-04 18:53:33 +03:00
Shay Banon de730993c1 better printing in slow log output 2012-04-04 18:13:01 +03:00
Shay Banon 30ffaca3ee Support for Latvian stemming: `latvian` analyzer and `latvian` language for stemmer filter, closes #1842. 2012-04-04 16:39:52 +03:00
Shay Banon 9cd51ce177 log if sigar was loaded as well 2012-04-04 15:08:06 +03:00
Shay Banon 2963f639e1 only return uptime and load average in os stats if they are available 2012-04-04 14:54:16 +03:00
Shay Banon 009731c9e7 Getting _settings or _mapping for non-existing index returns 200 OK, closes #1828. 2012-04-03 14:35:10 +03:00
Shay Banon cdfa87827a Update API: Allow to specify fields in the request to return updated fields, closes #1838. 2012-04-03 14:11:22 +03:00
Benjamin Devèze 0cf0703a7b add fields parameter for update API (#1822) 2012-04-03 13:35:12 +03:00
Shay Banon 2c4f7d1fc3 requesting fields=_timestamp,_source won't return _source, closes #1833. 2012-04-03 12:48:57 +03:00
Shay Banon b3866689fa Disabling deletion of all indices does not work when using _all, closes #1834. 2012-04-03 12:33:00 +03:00
Shay Banon f4d5a00b2d Query DSL: `term` filter to support the more "complex" form similar to `term` query, closes #1830. 2012-04-02 11:17:08 +03:00
Shay Banon 9fb6ecf9f0 allow to more easily plug custom unicast host providers by being able to add them to ZenDiscoveryModule using a plugin 2012-03-31 21:38:39 +03:00
Shay Banon 85ab25126f Search/Get: Add preference option of `_primary_first` trying to primary first and then replicas, closes #1824. 2012-03-30 01:31:38 +02:00
Shay Banon ac4aa17e16 use the high transport channel for pings with transport client 2012-03-29 14:42:50 +02:00
Nicolas Lalevée beb9472f27 fix case in javadoc of the query fuzzy_like_this_field 2012-03-29 12:01:38 +02:00
Holden Karau 9d728fb448 Fix for issue #1819 where TransportClient (sniff) fails to reconnect to nodes once removed if all nodes are removed 2012-03-29 11:19:59 +02:00
Holden Karau b2918d7c2b Fix a random suggestion from a style checker 2012-03-29 11:19:57 +02:00
Shay Banon f9eeb37211 Indexing a document in smile format and getting it through REST in json format fails, closes #1816. 2012-03-28 12:03:51 +02:00
Shay Banon 269798c70a add sourceRef to SearchHit 2012-03-27 15:37:21 +02:00
Shay Banon a76d914cfa Java API: Calling SearchHit#sourceAsString will not decompress the source to convert it to string, closes #1814. 2012-03-27 14:57:29 +02:00
Shay Banon e29343dcca Mapping: Allow to configure position_offset_gap for string mapping, closes #1813. 2012-03-24 14:59:04 +02:00
Shay Banon a0a8538ef9 Analysis: Custom analyzer to allow to configure position_offset_gap and offset_gap, closes #1812. 2012-03-24 13:46:29 +02:00
Igor Motov 8859594e36 add extended validation information 2012-03-24 13:40:25 +02:00
Shay Banon 7db5b0b4bd cleanups 2012-03-23 11:47:44 +02:00
Benjamin Devèze 19152416a4 add an index level setting to disable/enable purging of expired docs (issue #1791) 2012-03-23 11:47:39 +02:00
Shay Banon 365c29b902 Index Update Settings API does not update settings in real time, closes #1807. 2012-03-22 20:16:07 +02:00
Shay Banon 5f83ad8d0c Node Stats: OS stats reporting free as the key instead of used, closes #1804. 2012-03-22 14:28:25 +02:00
Shay Banon 348ed11450 Have streams provided to gateway (shared one) allow marking, closes #1803. 2012-03-22 12:20:00 +02:00