Commit Graph

567 Commits

Author SHA1 Message Date
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
Carnell Washington Jr 211fad7a17 Add mean ordering for terms stats
Added mean and reverse_mean order options to terms stats.  Also made
ordering based on double values more robust by using Double.compare().
2012-03-22 11:12:25 +02:00
Shay Banon cff13de080 add 0.19.2 version 2012-03-20 14:06:29 +02:00
Shay Banon 4aeff3cbd6 Highlighting using the default highlighter (not using term vectors) only highlights on the first 50*1024 chars, closes #1796. 2012-03-20 13:39:49 +02:00
Shay Banon a5af2519ed Java API for require_field_match, closes #1795. 2012-03-20 11:42:12 +02:00
Shay Banon 6ab1c9e442 Get/MultiGet API with no type provided and doc does not exists causes a failure, closes #1794. 2012-03-18 12:06:16 +02:00
Shay Banon d25c4cc914 When `node.data` is set to `false`, the upgrade shards process from 0.18 fails, closes #1793. 2012-03-18 11:55:35 +02:00
Shay Banon 6046e7c6eb Query DSL: indices filter type, closes #1787. 2012-03-17 13:24:15 +02:00
Shay Banon 42541f7354 change the dangling indices deleting timeout default value to 2h 2012-03-16 17:53:02 +02:00
Lukáš Vlček 051e6a02a7 fix comparison test 2012-03-15 11:53:09 +02:00
Shay Banon 3190e43a9a remove unused class 2012-03-14 14:41:08 +02:00
Shay Banon d9963926dc mlt_field doesn't support boost, closes #1773. 2012-03-10 20:50:25 +02:00
Shay Banon e7a892f6f0 change order of check since routing entry might be null when the shard is just created 2012-03-10 20:41:28 +02:00
Shay Banon 752ae6e206 optimize acquiring search handler to use a search manager, also, creating a ContextIndexSearcher can be optimized if it is created from a searcher 2012-03-09 22:41:09 +02:00
Barnaby Gray 0badf3d92a IOException when returning nested arrays. See: https://gist.github.com/2006593 2012-03-09 21:19:02 +02:00
Shay Banon 1ed07a0c50 Get: Add a specific `get` thread pool that handles get request, closes #1778. 2012-03-09 21:07:50 +02:00
Shay Banon b83378f4ce Add `cache` thread pool to handle cache loading of async caches (bloom filter), closes #1777. 2012-03-09 20:47:59 +02:00
Shay Banon c08b968246 rename the cached thread pool to generic (from cached), since really, cached is meaningless, and its actually a generic thread pool we use for different operations 2012-03-09 20:32:33 +02:00
Shay Banon 7cc9108192 Closing a shard can cause a search/stats request that tries to acquire a handle to search while its closing to spin, closes #1772. 2012-03-09 02:00:42 +02:00
Shay Banon 8128c80471 add classic filter as well 2012-03-08 22:03:04 +02:00
Shay Banon eadab43294 Merge branch 'master' of https://github.com/nlalevee/elasticsearch 2012-03-08 21:59:28 +02:00
Shay Banon e707e93942 Index Blocks: Add index.blocks.write, index.blocks.read, and index.blocks.metadata settings, closes #1771. 2012-03-08 21:56:13 +02:00
Shay Banon 3789983c7a RemoteTransportException on _analyze request to specific index, closes #1770. 2012-03-08 21:11:02 +02:00
Nicolas Lalevée 3e7608630a expose the classic analyzer and the classic tokenizer (issue #1768) 2012-03-08 15:57:10 +01:00
Shay Banon 876caba615 remove two similar checks on tempalte name 2012-03-08 00:05:39 +02:00
Shay Banon 76654f1d0d fix error message on invalid template name 2012-03-07 23:56:01 +02:00
Shay Banon 6b11b760ae Scripting: Allow to disable dynamic script execution, closes #1763. 2012-03-06 22:03:02 +02:00
Shay Banon a4945aa5e8 Add 0.19.1 2012-03-02 17:05:41 +02:00
Shay Banon f6fc390f7a Special host config notation `_[interfaceName]_` might fail to resolve the host address, closes #1754. 2012-03-02 16:58:54 +02:00
Shay Banon 32e1eff05a move to 0.20.0.Beta1 snapshot 2012-03-02 11:23:24 +02:00
Shay Banon b8d583a06e release 0.19.0 2012-03-02 11:17:55 +02:00
Shay Banon 5b76222ee7 Merge branch 'create-post-bug' of https://github.com/Paikan/elasticsearch 2012-03-01 14:54:19 +02:00
Shay Banon feaccee246 Multi level parent/child mapping and search fails, closes #1751. 2012-03-01 14:23:58 +02:00
Benjamin Devèze 7231ee832a set missing create param in PutRequest 2012-02-29 17:56:53 +01:00
Shay Banon 1f6f81d840 NullPointerException when asking for null valued json field when fetching search request, closes #1749. 2012-02-29 16:43:30 +02:00
Shay Banon 078f220b6f Date Histogram Facet: Add `pre_zone_adjust_large_interval`, closes #1744. 2012-02-29 02:52:56 +02:00
Shay Banon 0d3dd3845d add a callback when shard level routing changes 2012-02-29 00:00:51 +02:00
Shay Banon 8b9aa1fd27 lazily allocate the LZF buffer if its only needed 2012-02-28 22:24:26 +02:00
Shay Banon a3b21b884c Merge branch 'typo' of https://github.com/Paikan/elasticsearch 2012-02-27 19:37:29 +02:00
barsk 5c5a2f003d Corrected erroneous stem filter (loads the Spanish, not the Swedish light stemmer):
} else if ("light_swedish".equalsIgnoreCase(language) || "lightSwedish".equalsIgnoreCase(language)) {
            return new SpanishLightStemFilter(tokenStream);
}
to "return new SwedishLightStemFilter(tokenStream);"
2012-02-27 16:01:29 +01:00
Benjamin Devèze 3a9a62c2b9 fix typo 2012-02-27 16:01:22 +01:00
Shay Banon 43e45a111c Orderly shutdown with unicast discovery might cause the shutdown node to still be part of the election process, closes #1740. 2012-02-27 11:56:03 +02:00
Shay Banon b0e0dd81eb don't write \n after teh pid in the pid file 2012-02-27 10:58:49 +02:00
Shay Banon c72772e621 msearch should accept a leading \n, closes #1736. 2012-02-27 00:27:43 +02:00
Shay Banon b6227f24c1 don't return 503 on RED cluster health, since we managed to handle the request, use "/" to check the status of the node (as a load balancer ping for example) 2012-02-26 17:36:18 +02:00
Shay Banon 6232ce1dd4 fix error message when trying to locate path 2012-02-26 17:20:28 +02:00
Shay Banon 2dfee54de7 upgrade to the latest assembly plugin and use artifact id (though not in distributions) 2012-02-26 10:06:18 +02:00
Shay Banon eebf8f8f60 add active thread pool count to thread pool stats 2012-02-24 02:09:33 +02:00
Shay Banon 7ed68a5c30 Flush: Add a specific thread pool for flush operations (scheduled and API), closes #1734. 2012-02-24 01:36:22 +02:00
Shay Banon 7d18304fc7 have bytebuffer directory provide readonly version of files when done writing to them 2012-02-22 20:56:58 +02:00
Shay Banon 0ef2afb855 Translog Flush: When disabling flush and enabling it again, scheduled flush stops executing, closes #1727. 2012-02-22 15:00:58 +02:00
Shay Banon 31b793591e query never returns, closes #1725. 2012-02-22 01:50:22 +02:00