Commit Graph

567 Commits

Author SHA1 Message Date
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
Shay Banon 7ff12a5bd9 Real time get on a stored _size field does not return its value, closes #1724. 2012-02-21 18:09:55 +02:00
Shay Banon d5fcb0d52c add an option for name as well as _name for filtering allocation 2012-02-21 17:57:47 +02:00
Shay Banon ca5f6ec0f6 move to 0.19.0.RC4 snap 2012-02-21 14:54:41 +02:00
Shay Banon aeaed0a1b0 release 0.19.0.RC3 2012-02-21 14:52:49 +02:00
Shay Banon 9d724b8a14 fix test 2012-02-21 13:44:31 +02:00
Shay Banon 0bf61ab6c8 add pre/post zone, pre/post offset, and factor to date histogram builder 2012-02-21 12:43:28 +02:00
Shay Banon 1b082b00ba make sure to close the bulk request parser when done parsing the header for each item 2012-02-20 22:13:09 +02:00
Shay Banon 790e727843 allow to provide no header (but still \n) for msearch 2012-02-20 22:01:46 +02:00
Shay Banon c6130b95e5 allow to provide no header (but still \n) for msearch 2012-02-20 22:00:43 +02:00
Shay Banon 4a9cb6408c API: Multi Search, closes #1722. 2012-02-20 18:57:27 +02:00
Shay Banon 94c526925b better failure message on version conflict, its not the required version, its the provided version 2012-02-19 22:57:08 +02:00
Shay Banon 8b92b2b780 updating mapping when using bulk API should be done post bulk processing, so if there is a bulk requests with many small updates to the same index/type doc structure, we only issue one 2012-02-19 15:55:01 +02:00
Shay Banon 94d64c0be4 top_children query returns no results when child field has the same name as a nested field as a nested field in the parent mapping, closes #1709. 2012-02-19 15:13:13 +02:00
Shay Banon a336886464 Merge branch 'refresh-update' of https://github.com/Paikan/elasticsearch 2012-02-18 21:11:01 +02:00
Shay Banon 6a4c4fde49 Merge branch 'update-integration-tests' of https://github.com/Paikan/elasticsearch 2012-02-18 21:08:25 +02:00
Shay Banon 112f63ce85 Merge branch 'mandatory-plugins' of https://github.com/Paikan/elasticsearch 2012-02-18 21:04:17 +02:00
Shay Banon 897f67ade8 Local Gateway: Delete dangling indices after a (configurable) timeout, and not immediately, closes #1718. 2012-02-18 01:44:22 +02:00
Benjamin Devèze 9816675b61 add refresh support to update 2012-02-18 00:43:33 +01:00
Shay Banon cc20852642 adapter should not delegate optionalUTF 2012-02-18 00:31:07 +02:00
Shay Banon dfdd4e7394 Failed shards allocation can "poison" allocation and might cause not allocating other shards, closes #1717. 2012-02-18 00:19:57 +02:00
Benjamin Devèze 36a4cde89f add update integration tests 2012-02-17 23:09:52 +01:00
Benjamin Devèze 017f48a187 add mandatory plugins support in conf 2012-02-17 22:51:35 +01:00
Benjamin Devèze 43182f07fd add missing setPercolate method to UpdateRequestBuilder 2012-02-17 16:45:36 +01:00
Shay Banon bf36681e34 Return 503 for search against a node which is not yet ready, closes #1713. 2012-02-17 15:20:20 +02:00
Shay Banon 7bd87e12a2 Indices query should accept alias names, closes #1698. 2012-02-17 15:03:52 +02:00
Shay Banon 6823d50840 when asking for _source with script fields, the _source is not returned. 2012-02-16 21:21:12 +02:00
Shay Banon c5387be07c Merge branch 'master' of https://github.com/jfiedler/elasticsearch 2012-02-16 21:15:01 +02:00
Shay Banon f997315f54 Date Mapping: Support "date math" when searching, closes #1708. 2012-02-16 18:10:12 +02:00
Shay Banon eb9503f674 better status code when failing to parse 2012-02-16 16:39:38 +02:00
Jan Fiedler 1e14a30d4c Fixed #1706 2012-02-16 15:26:52 +01:00
Shay Banon 4a8d6deae6 add getters for mapper service and field data cache in doc lookup 2012-02-16 00:01:17 +02:00
Shay Banon d8f18dd812 Search: When using `_all` for types, field name/type resolution might fail, closes #1704. 2012-02-15 15:50:22 +02:00
Shay Banon e1cca90006 Retrieving byte type stored field fails, closes #1702. 2012-02-15 15:28:01 +02:00
Shay Banon 103f587be1 Index Templates: Allow to place them under config/templates, closes #1703. 2012-02-15 11:45:58 +02:00
Shay Banon fe11368c89 better method name, to correspond to addLast 2012-02-15 10:12:08 +02:00
Shay Banon d31fdccc97 more decoupling of current search context when parsing a query 2012-02-14 13:28:17 +02:00
Shay Banon 2114751d12 fs stats should be public 2012-02-13 15:06:08 +02:00
Shay Banon 0ff84d222f improve class loader to use the class loader set in the settings constructing the node 2012-02-12 23:55:16 +02:00
Shay Banon 0729413341 Search: Allow to execute search with no parameters, closes #1696. 2012-02-12 16:58:45 +02:00
Shay Banon 86a6a5f021 move trim filter to a better package location 2012-02-12 15:20:42 +02:00
Shay Banon a96c2ab11d Analysis: Add trim token filter that trims whitespaces, closes #1693. 2012-02-12 13:54:47 +02:00
Shay Banon 6b2b797e92 we normalize lat, TODO not needed 2012-02-09 09:25:20 +02:00
Shay Banon 676f115a26 update versions to 0.19.3 snap 2012-02-09 00:37:12 +02:00
Shay Banon f5676780ae release 0.19.0.RC2 2012-02-09 00:35:59 +02:00
Shay Banon 278e5d3a43 Transport buffer overrun can happen because of byte buffer reading optimization introduced in 0.19.0.RC1, closes #1686. 2012-02-09 00:15:08 +02:00
Shay Banon a135c9bd8b prefer jdk 7 over 6, and provide use the new ES_HEAP_SIZE env (so min max are the same) 2012-02-08 15:47:13 +02:00
Shay Banon 7b37774a00 Merge branch 'debian-pkg' of https://github.com/karussell/elasticsearch 2012-02-08 15:41:33 +02:00
Shay Banon 457f0a4266 Avoid placing a shard replica on the same machine as shard itself, closes #1680. 2012-02-08 15:39:01 +02:00
Peter 3701f748d4 remove empty data dir 2012-02-08 12:25:45 +01:00
Peter cf2a726081 prefer oracle over openjdk. prever 6 over 7 2012-02-08 08:57:18 +01:00
Peter 30dbb0773f do not delete data on remove 2012-02-08 08:43:39 +01:00
Shay Banon 23ca0d2cb2 add also the interval that was checked for plain gc 2012-02-08 00:38:00 +02:00
Shay Banon c75f8fc18a GC logging: Enable back automatic gc logging based on thresholds (even if last gc is not available), closes #1679. 2012-02-08 00:35:28 +02:00
Shay Banon 49fd3ff470 automatically enable last GC if higher or equal to 1.7.0 u4 2012-02-07 23:16:23 +02:00
Shay Banon c9107889a0 allow to enable last GC since in upcoming 1.7.0u4 the memory leak is fixed 2012-02-07 22:56:59 +02:00
Shay Banon 2ab3f533fe Index API: Don't wait for new mappings to be applied on the cluster by default, closes #1677. 2012-02-07 21:51:18 +02:00
Shay Banon 636c4ae8fa Nodes Info API: Add `all` flag to return all data, closes #1676. 2012-02-07 19:19:33 +02:00
Shay Banon a89878ce6c move to 0.19.0.RC2 snap 2012-02-07 15:17:09 +02:00
Shay Banon b160ddbb2c release 0.19.0.RC1 2012-02-07 15:02:42 +02:00
Shay Banon 768a23e0cb Node Stats: Add more options to get specific stats in REST: /_nodes/fs/stats (in addition to /_nodes/stats/fs), closes #1674. 2012-02-07 00:37:59 +02:00
Shay Banon abfc570762 better comment 2012-02-06 21:24:37 +02:00
Shay Banon f3a5306cde improve comment on usage, also, FrameDecoder usage of cumalation was fixed 2012-02-06 21:03:12 +02:00
Shay Banon 5c4c319a41 move to constant fields names 2012-02-06 03:33:22 +02:00
Shay Banon 7df2819549 move to constant fields names 2012-02-06 00:49:46 +02:00
Shay Banon 2a4ebca0be move to constant fields names 2012-02-06 00:28:31 +02:00
Shay Banon e8a0ccc20c Thread Pool: Add a specific thread pool for bulk indexing operations, closes #1668. 2012-02-05 20:12:41 +02:00
Shay Banon 437eda6b5b Network: Allow to specify sub interfaces (virtual) in network configuration, closes #1667. 2012-02-05 19:06:50 +02:00
Shay Banon 44a6040293 Jmx: Only register JMX beans when jmx.create_connector is set to `true`, or explicitly set by setting `jmx.export` to true, closes #1666. 2012-02-05 18:52:56 +02:00
Shay Banon 80607dd7c3 remove unused variable 2012-02-05 18:06:01 +02:00
Shay Banon 1c2fa366c9 Node Stats: JVM stats to provide memory pools allocations, closes #1665. 2012-02-05 17:46:58 +02:00
Shay Banon 3cee291bc2 Index / Delete API: timeout should apply automatically to the auto create index API master timeout, closes #1664. 2012-02-05 13:45:32 +02:00
Shay Banon 5b62c2ae26 Query DSL: query_string/field/text do not fail when an invalid analyzer is provided, closes #1663. 2012-02-05 13:06:58 +02:00
Shay Banon 6c406d0e0e Indices / Nodes stats: All `all` flag to easily return all stats, closes #1662. 2012-02-05 12:04:13 +02:00
Shay Banon 1aca5861b9 checking on index metadata does not make sense for mappings... 2012-02-03 16:19:04 +02:00
Shay Banon 3ba2dfe9ca revert back applying mapping changes on index changes 2012-02-03 16:11:58 +02:00
Shay Banon e06de6b24c only check if settings need to change or mappings need to be checked if the index metadata has actually changed 2012-02-03 14:20:42 +02:00
Shay Banon 68f838a488 fs flag should be properly serialized in node stats 2012-02-03 10:01:07 +02:00
Shay Banon 445bed4358 fix wrong name 2012-02-02 21:02:42 +02:00
Shay Banon a6a3e0039d return 403 when thread pool is overloaded and can't add a request to the queue 2012-02-02 20:47:06 +02:00
Shay Banon 81e6ff5162 Allow for plugins to register REST filter (better support with async execution and some renaming), closes #1658. 2012-02-02 20:19:15 +02:00
Shay Banon a784f9fcdf add a note on the rest pre processor 2012-02-02 13:47:59 +02:00
Shay Banon 43af5041c3 Allow for plugins to register REST pre processor, closes #1658. 2012-02-02 13:26:12 +02:00
Shay Banon 07ba39740b use non deprecated methods 2012-02-02 12:45:20 +02:00
Shay Banon 5a1cbe0c83 Query: Add `index.query.default_field` allowing to control the default field used to search on, closes #1657. 2012-02-02 00:49:34 +02:00
Shay Banon 8b9c75cd7e when executing on local node, don't reset the shard iterator, its null... 2012-02-02 00:35:51 +02:00
Shay Banon 3698bcc2b9 better logging of recovery 2012-02-02 00:18:17 +02:00
Shay Banon a5838dc403 improve test, wait for green state post master node startup 2012-02-01 21:17:45 +02:00
Shay Banon 83e561d19f only update new versioned index or new indices when a new cluster state is received 2012-02-01 21:17:07 +02:00
Shay Banon aa63811b14 improve sycn on translog to happen on the snapshot thread instead of the schedule thread 2012-02-01 13:05:21 +02:00
Shay Banon 70bf0a301b have version implement serializable to DiscoveryNode can be serialized 2012-02-01 11:52:57 +02:00
Shay Banon e37b6ec2b7 improve text query to use term factory 2012-02-01 11:49:47 +02:00
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