Commit Graph

2363 Commits

Author SHA1 Message Date
Shay Banon 15b9e00888 optimize for empty string case 2011-07-26 16:37:04 +03:00
Shay Banon 6e8c7c41fe Index Settings: Add `index.recovery.initial_shards` controlling the number of shards to exists when using local gateway, closes #1163. 2011-07-26 11:46:13 +03:00
Shay Banon b70694ce63 Update Settings: Changing the number of replicas does cause allocation / deallocation of shards, closes #1162. 2011-07-26 11:16:13 +03:00
Shay Banon 68868c4d3f Local Gateway: Allow to set gateway.local.initial_shards to `quorum-1`, closes #1160. 2011-07-26 10:56:44 +03:00
Shay Banon cc1415e281 Add dfs test 2011-07-26 10:56:37 +03:00
Shay Banon 4695618c27 Unicast Discovery: Clusters under different cluster names can cause failed discovery, closes #1159. 2011-07-26 07:50:23 +03:00
Shay Banon bf3ebc715e Bulk API: _version on delete actions is not honored, closes #1156. 2011-07-26 07:35:26 +03:00
Shay Banon 9aa11f967a Improve peer recovery of index files to reduce chances of corruption, closes #1158. 2011-07-26 07:18:44 +03:00
Shay Banon 9df339f23b remove private so won't create access$ calls 2011-07-25 15:59:55 +03:00
Shay Banon 9d9fa53ba9 add explicit return when we are done (even though it does not affect anything) 2011-07-25 15:36:03 +03:00
Shay Banon 7bdae651c3 clean connected nodes when closing a client 2011-07-25 15:25:10 +03:00
Shay Banon 549e9c7019 optimize shard iteration logic 2011-07-25 12:48:24 +03:00
Shay Banon 31ea01bbc6 Search API: REST endpoint should use default operation_threading of thread_per_shard, closes #1154. 2011-07-24 20:51:49 +03:00
Shay Banon 5ce42b337d Get API: Will always prefer first local execution, regardless of the preference, closes #1153. 2011-07-24 20:33:49 +03:00
Shay Banon b31f68a0eb Search / Broadcast concurrency bug can result in response corruption / errors, closes #1152. 2011-07-24 15:40:01 +03:00
kimchy 5e78f14f04 improve prefer local execution 2011-07-23 01:37:56 +03:00
kimchy 180f83828a abs the count with prefer local 2011-07-23 01:31:12 +03:00
kimchy 0feb1fd216 don't call clusterService again to get filtering aliases 2011-07-23 01:18:22 +03:00
kimchy ff1352f111 reduce visibility of some vars 2011-07-22 20:26:11 +03:00
kimchy 7de072b14e more small optimizations 2011-07-22 19:53:05 +03:00
kimchy 1c2f25dd0f no need to double abs, keep size as var to not call it each time 2011-07-22 19:30:08 +03:00
kimchy 8c9dffc235 optimize breaking strings based on commas, and small optimization to resolving routing values 2011-07-22 19:20:14 +03:00
kimchy 8c49da12ff Fail shard (recovery) allocation on a node when the index does not exists, closes #1148. 2011-07-22 06:58:33 +03:00
kimchy a7190ea8a3 File#mkdirs gets stuck, might be concurrency issue, closes #1147. 2011-07-22 02:08:11 +03:00
kimchy d4d227ba6b ignore empty state files stored 2011-07-21 22:11:14 +03:00
kimchy ba137df093 Reusing query parser in WrapperQueryParser produces invalid queries, closes #1143. 2011-07-21 20:21:28 +03:00
kimchy fbd6e85eac Query DSL: Allow to associate a custom cache key with a filter, closes #1142. 2011-07-21 11:51:13 +03:00
kimchy 91e050f885 Java API: BoostingQueryBuilder does not build the query correctly, closes #1141. 2011-07-21 09:18:17 +03:00
kimchy ed6a6e31d3 Query DSL: custom_filters_score, closes #1140. 2011-07-21 09:04:36 +03:00
kimchy d9cea9bd64 Scan Search: Take track_scores into account, if set, return also scores per doc when scanning, closes #1139. 2011-07-20 23:10:41 +03:00
kimchy c3124efe51 Analyze API: Failure to read full message over the wire, closes #1138. 2011-07-20 22:05:22 +03:00
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