Commit Graph

2482 Commits

Author SHA1 Message Date
kimchy 5bd4c16a0c rename field to setField, to match convention 2011-07-20 22:02:24 +03:00
kimchy 72f9183c13 rename field to setField, to match convention 2011-07-20 22:01:50 +03:00
kimchy 260c61266d even on failure, don't return a body for HEAD request 2011-07-20 20:58:08 +03:00
kimchy 0ed50ca00c NullPointerException for invalid faceted query, closes #1136. 2011-07-20 05:54:09 +03:00
kimchy c066b6ae4a Java client nodes using multicast discovery connect to one another, closes #1135. 2011-07-20 03:38:13 +03:00
kimchy cbb1c35f94 Network: Default (back) network.tcp.connect_timeout to 30s, closes #1134. 2011-07-20 00:37:32 +03:00
kimchy 5ccdd4d3d3 reduce connections per node med to 4 from 7 to reduce (default) connection overhead 2011-07-20 00:34:56 +03:00
kimchy c1dcea8a9e add debug logging to netty transport tcp config 2011-07-20 00:31:14 +03:00
kimchy 671db81992 add transport.connections_per_node prefix setting as well as the netty specific one 2011-07-20 00:01:04 +03:00
kimchy 04b8245d96 IndicesExistsRequest throws IndexMissingException, closes #1133. 2011-07-19 23:42:42 +03:00
kimchy c662972230 Realtime Get fails when using compression, closes #1131. 2011-07-19 22:01:50 +03:00
kimchy 9846a25380 change debug to trace 2011-07-19 20:11:04 +03:00
Nicolas Lalevée 65cefb6915 Add debug logging to trace search errors 2011-07-19 20:09:23 +03:00
Nicolas Lalevée bf071222ed fix the maxExpansion of a prefix query 2011-07-19 20:09:23 +03:00
kimchy 8f6de29580 mget doesn't work with aliases. closes #1130. 2011-07-19 19:58:25 +03:00
kimchy 8b7620f9de simplify policy and scheduler settings 2011-07-18 23:43:10 +03:00
kimchy a3c05a35bb grr, add an all trusting ssl handler when downloading plugin from github 2011-07-18 23:05:58 +03:00
kimchy d905e62209 grr, add an all trusting ssl handler when downloading plugin from github 2011-07-18 22:56:28 +03:00
kimchy 10660d390d allow to set specific routing index_routing and search_routing names as well 2011-07-18 22:15:22 +03:00
kimchy 04086985f4 Analysis: Phonetic filter `replace` flag is inverted, fix (changes default behavior now, to follow docs), closes #1127. 2011-07-18 21:29:29 +03:00
kimchy 09528610c1 cleanup some test code, rename internal masterDoc to rootDoc 2011-07-17 04:32:18 +03:00
kimchy defab5d948 no need ask for the first query rest twice 2011-07-17 03:58:05 +03:00
kimchy c28421b1ed upgrade to latest lzf trunk 2011-07-16 21:55:13 +03:00
kimchy 8bcfce2e26 Allow to configure node name using `node.name` (on top of current `name`), closes #1126. 2011-07-16 03:35:39 +03:00
kimchy 64054d4057 Nodes APIs: All node APIs to allow to match on nodes based on addresses, names, and attributes, closes #1125. 2011-07-16 03:27:35 +03:00
kimchy 2594828d48 better logging when receiving a ping response that does not match, print who we got it from 2011-07-15 20:22:34 +03:00
kimchy 845104dabc remove the jline flag and automatically detect it 2011-07-15 10:00:23 +03:00
kimchy f6beebf34c Add 'other_terms' option for terms facet, closes #1029. 2011-07-15 07:36:07 +03:00
kimchy e498dc3ba8 add many nodes stress test 2011-07-15 01:46:09 +03:00
kimchy 013fe473c8 allow to set 0 values for the connections sizes 2011-07-15 01:45:59 +03:00
kimchy 8532f433ce add an (internal) flag if to control if the shutdown request should cause the jvm to exit or not 2011-07-14 22:39:44 +03:00
kimchy 848638d53c Index / Delete API when causing auto index creation can cause buffer data overrun, closes #1122. 2011-07-14 03:04:58 +03:00
Austin McKinley e98860dc29 fixing bug when installing local plugins 2011-07-14 00:30:32 +03:00
kimchy bd85d32756 set 0 refresh interval for the test 2011-07-13 08:20:16 +03:00
kimchy 801c7e2483 fix spelling 2011-07-13 08:12:02 +03:00
kimchy c2584baf86 rename json query to wrapper query, and optimize it to not parse it twice, once on creation, and once on parsing to build lucene queries 2011-07-13 03:38:36 +03:00
kimchy cfc45b0ab9 make analyzer request just use field, and allow it to have type.field_name option (or just field name) 2011-07-13 03:15:36 +03:00
melix 8564c20378 Make AnalyzeRequest support field() and type() 2011-07-13 03:07:41 +03:00
melix b627ba06c6 Adds a JSONQueryBuilder which allows using a JSON query string through the Java builder API. 2011-07-13 03:07:40 +03:00
kimchy 1033249f0c Native (java) process memory leak, closes #1118. 2011-07-13 01:46:22 +03:00
kimchy fdbcec8a84 Node Stats: Add number of server open channels for transport and http, closes #1115. 2011-07-12 02:41:18 +03:00
kimchy c04be9d365 return on failure 2011-07-12 00:34:11 +03:00
kimchy 567cf6b5c3 search parse failure should return a 400 status code 2011-07-11 21:49:33 +03:00
kimchy 6be337e184 fix fugly failure message on put index template 2011-07-11 04:10:16 +03:00
kimchy b275e6f798 Closed indices should not cause block failures on some APIs what executing against _all indices, closes #1010. 2011-07-10 23:56:03 +03:00
kimchy 1acca2050c Allow to disable automatic date detection, closes #1051. 2011-07-10 23:44:41 +03:00
kimchy ced90891ab Allow to disable automatic date detection, closes #1051. 2011-07-10 23:41:52 +03:00
kimchy b17c2b09db Allow to disable automatic date detection, closes #1051. 2011-07-10 23:24:23 +03:00
kimchy 882ccf32c8 only use dfs data on main query executed 2011-07-10 23:05:09 +03:00
kimchy e489ad2221 better toString on transport future 2011-07-10 22:56:14 +03:00
kimchy 7ef41eefea Node Info / Stats: Add max_file_descriptors (info) and open_file_descriptors (stats), closes #1113. 2011-07-10 05:13:35 +03:00
kimchy 23a35a0809 add handling a failure of malformed scroll id, and throw back the scroll id itself for simpler debugging 2011-07-10 03:25:34 +03:00
kimchy ca97e19cde upgrade to latest jsr166y version 2011-07-10 02:16:58 +03:00
kimchy 9513dd0a4a fix nested filter to work well with inner nested queries 2011-07-09 22:10:58 +03:00
kimchy 66d5eb94fb fix new analysis components test, and make pattern require parameters 2011-07-08 22:28:26 +03:00
belevian 7e20a9f80a Analysis: expose Lucene PatternReplaceFilter. 2011-07-08 22:00:20 +03:00
belevian 888194e903 Analysis: expose Lucene MappingCharFilter. 2011-07-08 22:00:19 +03:00
kimchy 9464208f83 handle failure on interface check if its up (seems to happen on jdk 7) 2011-07-08 21:58:39 +03:00
kimchy 61ad8b614a TCP: Change the default connect timeout to 2s, closes #1104. 2011-07-08 08:36:47 +03:00
kimchy 893c7df966 add empty index test 2011-07-08 08:02:34 +03:00
kimchy 5a8b27b9dc small optimization to counting search shards 2011-07-08 06:04:33 +03:00
kimchy 0642acd9ac Uneven distribution of search requests across shards, closes 1103. 2011-07-08 05:32:59 +03:00
kimchy 9876fa5a76 improve failure message when not finding _uid field in the doc 2011-07-08 03:56:46 +03:00
kimchy 42edd0c864 Query DSL: nested filter support, closes #1102. 2011-07-08 03:03:09 +03:00
kimchy 9be62a06e9 support also ping.timeout in zen disco, and add it to the sample config 2011-07-08 02:03:09 +03:00
kimchy 6783b7fe18 more work on Improve cleanup of unused shards when index is completely relocated from (#1101) 2011-07-08 01:52:53 +03:00
Igor Motov 3a8f198a76 Improve cleanup of unused shards when index is completely relocated from a node 2011-07-08 01:14:34 +03:00
kimchy 21883716e5 change indices sig 2011-07-07 17:59:25 +03:00
kimchy 429335adf3 upgrade to log4j 1.2.16 2011-07-07 05:36:53 +03:00
kimchy a4c9f11b1c Nested Objects Facets Support, closes #1098. 2011-07-07 04:20:53 +03:00
kimchy 90209d8dff move things around a bit... 2011-07-07 01:38:17 +03:00
kimchy 420ed9daa6 upgrade to testng 6.1.1 2011-07-06 23:15:03 +03:00
kimchy 9ef34f82ea Mapping: non-string type field level boosting, closes #1097. 2011-07-06 22:35:29 +03:00
kimchy 4d3b623923 add include_in_parent and include_in_root explicit flags for nested cases 2011-07-06 21:27:19 +03:00
kimchy 6f7b462f1d java.lang.ArrayIndexOutOfBoundsException when indexing a doc, closes #1094. 2011-07-06 18:57:11 +03:00
Igor Motov c9d619ea4f Remove unnecessary refresh after delete 2011-07-06 17:56:50 +03:00
Lukáš Vlček 3a9613ecc7 Removed unused class 2011-07-06 17:55:37 +03:00
kimchy 3a7f7664b6 Nested Object/Docs Mapping and Searching, closes #1095. 2011-07-06 17:53:55 +03:00
kimchy 19031db447 NPE with mget, closes #1085. 2011-07-02 15:39:37 +03:00
kimchy 317d4f687f fail hashing when using null type or _all 2011-07-01 20:23:19 +03:00
kimchy 0b59c00e0d Upgrade to Lucene 3.3. closes #1083. 2011-07-01 18:30:06 +03:00
kimchy bac6240d17 improve clearing caches in guice 2011-07-01 13:32:23 +03:00
kimchy a8969cd672 Without pre-creating index, heavy write rates OOM with too many threads, closes #1081. 2011-06-30 21:22:21 +03:00
kimchy 4c913693a9 bite the bullet and add guice source, we don't need much from it, and will allow to optimize for our use case as well as remove the AOP support from it 2011-06-30 20:24:16 +03:00
kimchy e78e665273 Zen Discovery: Add `minimum_master_nodes` setting helping with split brains, closes #1079. 2011-06-30 17:02:29 +03:00
kimchy c31ee7d68d add xcontent builder settings option (though just calling builder#string() was always possible) to create index 2011-06-29 15:12:53 +03:00
kimchy 0bf1ed964e fix wrong routing table versioning when deleting an index 2011-06-29 14:51:32 +03:00
kimchy 4139bb5180 Misbehaving "missing" field in facet results, closes #1070. 2011-06-28 12:38:21 +03:00
kimchy f6ebee3785 allow to provide fields for multi get 2011-06-28 11:54:52 +03:00
kimchy 2e83a2f045 clean unused code 2011-06-28 11:37:52 +03:00
kimchy 73898067b8 format 2011-06-28 00:29:06 +03:00
Nicolas Lalevée 759d7d693d Support for highlighting of phrase prefix queries 2011-06-28 00:26:06 +03:00
kimchy ce6fbc687d upgrade to mvel 2.1 Beta5 2011-06-28 00:25:37 +03:00
kimchy 9bf686ef62 Multi GET API, closes #1068. 2011-06-27 22:23:49 +03:00
kimchy 475564449f properly take offset and length into account (introduced with realtime get) 2011-06-27 21:51:14 +03:00
kimchy f851279db1 delegate to the proper source method 2011-06-27 21:38:43 +03:00
kimchy cb0d89700c get shards should use preference as well when routing (fix wrong previous commit) 2011-06-26 23:07:40 +03:00
kimchy 0bbf71188c make broadcast action more extendable by refactoring out type/id 2011-06-26 16:33:44 +03:00
kimchy b670a7f2a3 Indices Segments API: Internal segments info of shard level Lucene indices, closes #1064. 2011-06-26 00:20:50 +03:00
kimchy 7acdda74f4 Transport Client: Adding more nodes causes more scheduled reconnect tasks, closes #1062. 2011-06-24 21:33:24 +03:00
kimchy e373bf09f2 upgrade to joda 1.6.2 2011-06-24 18:42:53 +03:00
kimchy 6521143a38 upgrade to mvel 2.1 Beta4 2011-06-24 18:27:09 +03:00
kimchy c884adf603 more get tests 2011-06-24 15:52:45 +03:00
kimchy 7ed5e9e79a Get API: Make type optional, closes #1061. 2011-06-24 13:43:37 +03:00
kimchy 89a46d1c87 filter out crappy gc reporting 2011-06-24 13:18:16 +03:00
Lukáš Vlček a9a80958ce commented out unused 2011-06-24 10:51:41 +03:00
Lukáš Vlček 2f9a1c7a6a Analysis: expose Lucene StemmerOverrideFilter. Closes #1053 2011-06-24 10:51:41 +03:00
Lukáš Vlček 5913e74286 Analysis: expose Lucene KeywordMarkerFilter. Closes #1052 2011-06-24 10:51:41 +03:00
Igor Motov bae67ca808 Fix NullPointerException when search request partially fails on one or more shards 2011-06-24 09:41:10 +03:00
kimchy 72ee0aaee7 Realtime GET, closes #1060. 2011-06-24 09:39:37 +03:00
kimchy 4547bc3ef4 upgrade to trove 3.0.0rc2 2011-06-20 00:11:28 +03:00
kimchy f3af1fd1d4 upgrade to jackson 1.8.2 (though with not real changes to us) 2011-06-19 20:58:56 +03:00
kimchy 35fa6d93ad Update Settings: Allow to change non dynamic settings on a closed index, closes #1048. 2011-06-19 17:15:05 +03:00
Igor Motov 8470e79aed Fix non-varargs call of varargs method with inexact argument type for last parameter exception warning 2011-06-19 10:10:35 +03:00
Igor Motov 4794345efb Remove unnecessary Thread.sleep calls after alias creation 2011-06-19 10:10:34 +03:00
Igor Motov ae5b963e97 Specify a unique cluster name for all Integration tests 2011-06-19 10:10:34 +03:00
kimchy 5540fbf7ab Delete API: Using refresh parameter might not refresh delete operation on replica, closes #1047. 2011-06-19 09:15:08 +03:00
kimchy 3e9dff8b7e add kstem also to the static shared token filters 2011-06-17 19:23:08 +03:00
Lukáš Vlček aefc3ab3e5 Closes #1041 2011-06-17 16:51:24 +02:00
Lukáš Vlček 44af2cda41 Adding Czech default stopwords into named stopwords map 2011-06-17 13:22:22 +02:00
kimchy dfed1b947e fix bench 2011-06-17 01:19:12 +03:00
kimchy 2e64edd4e7 Parent Child: complex parent child mapping (>2 hierarchy) might fail, closes #1039. 2011-06-17 01:03:34 +03:00
kimchy f5fbe0d66c River might not start properly after cluster shutdown (timing), closes #1038. 2011-06-16 14:04:50 +03:00
Paul_Loy e1514aa8e0 reverted adding IOException to NetworkService, return null if cannot resolve name and log 2011-06-15 22:03:16 +03:00
Paul_Loy 004f91dfc0 add throws IOException to CustomNameResolver interface 2011-06-15 22:03:15 +03:00
Paul_Loy 6a60bbba1d adding ability for gradle to create eclipse project files and classpaths 2011-06-15 22:03:15 +03:00
Igor Motov 1d8b545854 Wait for alias operations to be propagated to all nodes before returning from the call. 2011-06-15 17:16:18 +03:00
kimchy db6f5a7146 Search: When a search request failed completely (all shards fail) return a proper HTTP status code, closes #1035. 2011-06-15 16:28:53 +03:00
kimchy bbd73d5afa Search: When all shards fail on second / third phase, make sure to return a response with proper shard failures, closes #1033. 2011-06-15 15:28:31 +03:00
kimchy b7d492af4b fix synonym filter problem due to refactoring done in analysis components regestrations 2011-06-15 15:13:09 +03:00
kimchy cc39eb76d0 add a narrowing search scan test 2011-06-15 14:11:15 +03:00
kimchy 64bf849cb1 Analyzers for FLT / MLT, closes #1031. 2011-06-15 13:43:10 +03:00
kimchy 11f19ff6da Query DSL: Span Term Query wrongly parses when boost is provided, causing using it in span or to fail, closes #1032. 2011-06-15 13:11:22 +03:00
kimchy 551b98f2f8 fix error message 2011-06-15 12:32:28 +03:00
kimchy fee1747947 also support direct discovery.zen.ping_timeout setting even when it gets extended (like in the case of ec2 disco) 2011-06-14 20:50:05 +03:00
kimchy 8bb448473d more optimizations for sharing same analyzers across different indices on the same node 2011-06-14 18:51:34 +03:00
kimchy bdc0b88c49 Unicast discovery: Improve initial ping connection to nodes to be more lightweight, closes #1028. 2011-06-13 22:19:42 +03:00
kimchy fc17ba1652 allow to nullify routing values when providing then through REST API 2011-06-13 01:23:14 +03:00
kimchy adbe0565f1 validate when setting aliases that index routing does not resolve into several routing values 2011-06-13 01:21:03 +03:00
kimchy fbdf11d3f1 verify that index routing is not, by mistake, composed of several routing values 2011-06-13 01:00:34 +03:00
kimchy 7c67f11e7c when providing explicit routing in index/delete operation, and working against an alias with routing, fail the index operation 2011-06-13 00:41:32 +03:00
kimchy 00e010a52a on dynamic index creation when indexing, we might raise failure on routing (for example), but then not notify the listener 2011-06-12 23:22:12 +03:00
Igor Motov b35dfd3aa7 Add ability to specify routing information for aliases 2011-06-12 22:51:01 +03:00
kimchy 35b4cabed8 try and batch started shards events (causing rerouting) by draining a shared queue (not time based) 2011-06-12 21:35:22 +03:00
kimchy 110c4d0625 add version on a shard replication group level, optimizing both the initial allocation of large number of shards and persistency in case of local gateway 2011-06-12 21:16:58 +03:00
kimchy ffc7f3e12b make sure to initialize the routing table version with the cluster state version as well 2011-06-12 14:39:44 +03:00
kimchy 0eaccd483f Indices exists API, closes #1022. 2011-06-12 12:09:57 +03:00
kimchy 2dbe890022 Indices exists API, closes #1022. 2011-06-12 12:01:29 +03:00
kimchy 5ee6bbfae9 Numeric Types: By default, omit_norms (boosting) is set to true, automatically set it to false if explicit field mapping boosting is provided, closes #1021. 2011-06-12 11:13:06 +03:00
kimchy d4d80525de Numeric values always omit norms (boosting), regardless of the configuration set, closes #1020. 2011-06-12 11:03:43 +03:00
kimchy fd80fcbca0 add separator to several validation failures 2011-06-12 10:34:42 +03:00
kimchy eca244054f Merging complex objects / types (geo, objects) can cause failure to lookup field names (without type prefix), closes #1016. 2011-06-10 20:00:59 +03:00
kimchy 3e1e58e394 add debug logging to print when sigar is not loaded 2011-06-10 17:59:24 +03:00
kimchy 6382ddf43c some improvements to the many indices stess test 2011-06-10 05:12:44 +03:00
kimchy 03dc146928 optimize translog sync to not happen if there is no need for it 2011-06-10 04:58:41 +03:00
kimchy 3b2c186503 improve shutodwn with many indices / shards by bounding the concurrency of closing indices / shards 2011-06-10 03:48:43 +03:00
Erick Tryzelaar b143400bea Fix some typos. 2011-06-10 03:10:09 +03:00
Erick Tryzelaar 112935fcdb Allow fuzzy IP matches to accept a long min_similarity. 2011-06-10 03:10:09 +03:00
kimchy 4b6e2ddd7d add metadata level version, reducing the persistency requirements fo rit 2011-06-10 01:37:20 +03:00
kimchy f87b9e3656 add a version to routing table, so it can be reused when not changed after publishing 2011-06-09 22:51:40 +03:00
kimchy 1d9942847e fix check for dynamic update of a setting in tiered merge policy 2011-06-09 22:25:51 +03:00
kimchy a07030ccf3 improve local shard allocation to utilize same version shards allocation within the same replication group 2011-06-09 10:51:45 +03:00
kimchy 1a0ee00fbb change logging statement to indicate ping_timeout, not initial_ping_timeout 2011-06-08 19:00:02 +03:00
kimchy fff78d6a38 Transport: Improve concurrency when connecting to several nodes, closes #1007. 2011-06-08 18:47:37 +03:00
kimchy 597f3b7a8f throw explicit failure when trying to change the number of shards on an index 2011-06-08 13:49:22 +03:00
kimchy c9d4ce59ce add mime types and a todo 2011-06-06 11:18:12 +03:00
kimchy 4890e43980 Analysis: Add `reverse` and `skip` to `path_hierarchy` tokenizer, closes #999. 2011-06-05 15:39:19 +03:00
kimchy 9652ad0d08 New default merge policy - `tiered`, closes #998. 2011-06-05 14:23:51 +03:00
kimchy 6788c6c375 Upgrade to Lucene 3.2, closes #997. 2011-06-05 01:57:10 +03:00
kimchy c872be75ae make sure to reroute whenever required on the action itself (most already did, added index state case), and then, no need to do additional reroute (which probably does not do anything, and returns the same cluster state) on the routing update handler 2011-06-04 21:43:21 +03:00
kimchy abfc7f0db4 internal refactoring simplifying the type mapping system 2011-06-04 03:56:01 +03:00
kimchy dcd2bbd9a9 ',' can be used in type name, closes #996. 2011-06-04 01:26:41 +03:00
kimchy 5fbb4f7043 simplify plugin registration of custom queries and filters 2011-06-03 06:14:14 +03:00
kimchy f80d1c8fd9 share common query parsers and filter parsers among different indices 2011-06-03 06:02:18 +03:00
kimchy 0a4e582404 Query Parser Module Refactor, closes #994. 2011-06-03 04:32:30 +03:00
kimchy 58330d9c23 Aliases: Validate alias filter before adding it, closes #993. 2011-06-03 02:23:21 +03:00
kimchy 0f1655cf22 Query DSL: Simplify not filter to accept the filter directly, without a wrapping `filter` element, closes #992. 2011-06-03 01:42:57 +03:00
kimchy ec1f0b16f4 remove pretty from parameter when doing update settings 2011-06-02 22:01:51 +03:00
kimchy ee5bfba52f Get Mapping: Better error response when asking for specific index type, closes #991. 2011-06-02 18:30:06 +03:00
kimchy b72ba7d874 remove dead code 2011-06-02 18:23:30 +03:00
kimchy 2bf4a6766e Put Mapping: Fix rare case where the response will timeout (ack=false) even though it has been applied, closes #990. 2011-06-02 18:23:23 +03:00
kimchy e8ba7a7974 d'oh, remove debug out 2011-06-02 12:14:14 +03:00
kimchy 2fad1c4308 remove use of deprecated methods 2011-06-02 12:03:05 +03:00
kimchy 30127d6ed4 remove comment that is no longer relevant 2011-06-02 11:37:37 +03:00
kimchy 6ea2b9d263 Analysis: Improve custom analyzer construction time, closes #989. 2011-06-01 19:37:28 +03:00
kimchy c134233241 Update Settings: Properly ignore settings that are not allowed to be updated dynamically, closes #985. 2011-05-31 22:27:43 +03:00
kimchy 1f17e9d49d Request for more values identified as boolean for the boolean field type - `no`, closes #984. 2011-05-31 20:18:46 +03:00
kimchy 8267a76747 force the type to be set when using the put mapping API in Java 2011-05-31 16:21:59 +03:00
Nicolas Lalevée 198b219baf Remove the useless inner class Clause 2011-05-30 23:37:09 +03:00
Nicolas Lalevée 63ff39425a Simplification of the code with some early dispatching of the clauses before serialization 2011-05-30 23:37:09 +03:00
Nicolas Lalevée 9f52256d8e Produce xcontent compatible with json maps 2011-05-30 23:37:09 +03:00
kimchy 2cd77088f1 protected from changing teh number of shards in update settings 2011-05-30 19:26:45 +03:00
kimchy 31483e4a92 Node Stats: Remove low level transport stats from response, closes #979. 2011-05-30 12:53:03 +03:00
kimchy 2ef4a5e84c fix limit filter to properly handle cross segments cases 2011-05-28 23:14:58 +03:00
kimchy 3025205063 add a flag to allow and disable sites (http.disable_sites) 2011-05-28 19:04:46 +03:00
kimchy 94434a7522 add installed message at the end of a plugin installation 2011-05-28 18:54:45 +03:00
kimchy 4004406c11 add zip to explicit download plugin 2011-05-28 18:47:54 +03:00
kimchy 3652d57667 Plugins: Allow plugins to serve a _site, automatically download github plugins, closes #978. 2011-05-28 18:43:29 +03:00
kimchy 4cd2f79972 Mapping - Date Format: 3 or more custom date formats fail using '||' delimiter, closes #977. 2011-05-28 13:22:20 +03:00
kimchy ae9857cb45 Query DSL: Add limit filter, closes #976. 2011-05-28 12:37:42 +03:00
Bobby T d299672545 Found issue with hidden files attempting to be indexed when mappings being loaded. This allows mappings to skip hidden files.
failed to read / parse mapping [] from location [/opt/elastic/current/config/mappings/n233/.svn], ignoring...
java.io.FileNotFoundException: /opt/elastic/current/config/mappings/n233/.svn (Is a directory)
        at java.io.FileInputStream.open(Native Method)
2011-05-26 23:50:21 +03:00
Igor Motov 3e6a6ffd35 Add support for filtering aliases to MoreLikeThis 2011-05-26 11:47:35 +03:00
Igor Motov 646800cb29 Add support for filtering aliases to DeleteByQuery 2011-05-26 11:47:35 +03:00
kimchy d1d631794d Query DSL: Ids Filter / Query - allow to execute it with no type defined / several types, closes #969. 2011-05-26 11:17:20 +03:00
kimchy c90820e03b Query DSL: `query_string` - Expose QueryParser#setAutoGeneratePhraseQueries, closes #964. 2011-05-26 10:15:35 +03:00
Lukáš Vlček ba1bde64b9 Merge branch 'master' of github.com:elasticsearch/elasticsearch 2011-05-25 16:41:36 +02:00
Lukáš Vlček 1baee8e40f add missing @Override annotation 2011-05-25 16:41:15 +02:00
Nicolas Lalevée a9452bd0e6 Add support for setting the boost to a text query in the Java client 2011-05-25 16:27:56 +03:00
Igor Motov b979af109c Add support for filtering aliases to count 2011-05-25 07:07:08 +03:00
kimchy b76f5150ee Query DSL: `query_string` - Expose QueryParser#setAutoGeneratePhraseQueries, closes #964. 2011-05-25 03:58:59 +03:00
kimchy e022f744ee use AndFilter when there is both an alias filer and a filter 2011-05-25 03:06:03 +03:00
Igor Motov e3bffba327 Add support for filtering aliases to Search 2011-05-25 02:47:47 +03:00
kimchy becf4baaa2 optimize term and terms filter that do no match any documents 2011-05-25 00:16:53 +03:00
kimchy 4711be7061 optimize writing gateway data and reuse streams (if needed) 2011-05-24 15:31:50 +03:00
kimchy 68a56a0b58 optimize generation of rest responses and reduce copying bytes around 2011-05-24 14:12:17 +03:00
kimchy d44a796603 increase default keep alive of cache, management and merge thread pools 2011-05-24 02:21:13 +03:00
kimchy 7ff07ebaf1 Use cache streams to copy over byes, not the byte array 2011-05-24 01:02:43 +03:00
Nicolas Lalevée 123b21f4ae fix the build of a phrase query in the java client 2011-05-24 00:46:42 +03:00
kimchy fe52c5665f better cached stream output logic, and reduce byte array copying when sending a message over the transport 2011-05-24 00:43:24 +03:00
kimchy 45956a5a27 optimize empty cached filters to return null 2011-05-23 04:56:57 +03:00
kimchy b61735d8ea Filter Cache: Introduce new `node` level filter cache and make it default, closes #959. 2011-05-23 04:24:59 +03:00
kimchy e948c366f9 optimize cache recycler memory usage 2011-05-22 18:43:27 +03:00
kimchy 9eb9e738ac remove bytes caching for stream copy 2011-05-22 15:15:44 +03:00
kimchy 32294a4d4f no need for weak keys since readers map gets explicitly cleared 2011-05-22 07:35:22 +03:00
kimchy 6f80e306d6 Field Cache: Allow to set `index.cache.field.expire` when using `resident` type, closes #957. 2011-05-22 07:22:44 +03:00
kimchy 404a8f23de optimize single alias lookup 2011-05-22 07:06:23 +03:00
Igor Motov 3d5d25b03b Add IndexAliasService 2011-05-22 06:59:52 +03:00
kimchy 10de33c94e add explicit filter clears on reader finished 2011-05-22 01:15:23 +03:00
kimchy 0d334bfd03 Scripting - mvel: Fix thread safety misuse when compiling scripts, closes #886. Upgrade to mvel 2.1.Beta3 2011-05-21 21:08:51 +03:00
kimchy d310038701 Shared Gateway: Allow to dynamically update the `snapshot_interval` using update settings, closes #954. 2011-05-21 02:31:24 +03:00
kimchy 9a536b2c2b NPE when using "not" filter, closes #953. 2011-05-20 22:16:43 +03:00
kimchy 811f14465a Scripting: Optimize to native script execution when using just `doc.score`, closes #952. 2011-05-20 18:15:56 +03:00
kimchy 3bafba8904 IBM J9 failure to serialize nodes info, closes #950. 2011-05-20 14:41:03 +03:00
webdevuser 8b1765f5b8 Fix indentation mistake. 2011-05-19 23:59:17 +03:00
webdevuser 18dd9a5f18 Add "articles" setting to specify a list of stopword for the ElisionFilter. 2011-05-19 23:59:16 +03:00
Igor Motov 573114a446 Add an ability to define and store filter for aliases.
This commit only adds an ability to store filter source. The stored filters are not yet used to filter search results.
2011-05-19 19:33:41 +03:00
kimchy d5759efed7 allow for concurrent flushing while indexing 2011-05-19 19:29:02 +03:00
kimchy 1911368feb store the translog id in the commit point data of a lucene commit point. work done towards better concurrency on flush operation 2011-05-19 18:04:22 +03:00
kimchy 0d63fd68a8 fix division by zero error 2011-05-19 13:54:12 +03:00
kimchy 3b5c133c71 Filter Cache: `soft` filter cache can cause bad memory behavior, closes #946. 2011-05-19 13:12:47 +03:00
kimchy ebd95b7eb8 change internal fs translog to be less blocking, and easier to refactor later for better flush concurrency 2011-05-19 11:39:18 +03:00
kimchy ed8d6bbcd3 fix refresh logic after the change to not do it under write lock 2011-05-19 00:36:07 +03:00
kimchy 229c03e33f Analysis: Phonetic filter to support `cologne` encoder, closes #942. 2011-05-18 13:43:10 +03:00
kimchy 44595c06c6 improve custom name resolver logic to allow more options for control 2011-05-18 12:37:16 +03:00
kimchy 3f62c96951 Upgrade to jackson 1.8.1, closes #941. 2011-05-18 12:11:07 +03:00
Igor Motov b4b92a8e7f Move alias metadata from settings to a separate data structure 2011-05-17 23:41:33 +03:00
kimchy bcc3c6dd63 remove unused logger. 2011-05-17 16:57:22 +03:00
kimchy cc0a6ed690 Search: Empty facets element causes search failures, closes #938. 2011-05-17 16:15:45 +03:00
kimchy af222dc75c Analysis: Regression (0.16.1), Camel cased filters / tokenizers failed to load in custom analyzer, closes #937. 2011-05-17 14:20:32 +03:00
kimchy 518488b0b2 auto_expand_replicas: [0-auto] can cause data loss when nodes are removed, closes #934.
This is caused because of a race condition between when to handle the removed node and move a replica to a primary mode, and when to remove the replica because of the 0-auto setting.
2011-05-17 01:41:05 +03:00