Commit Graph

3045 Commits

Author SHA1 Message Date
George Chatzigeorgiou a1a856e4b9 Support Greek stemming
While the GreekAnalyzer supports stemming, custom analyzers for the greek language cannot be build because there is no GreekStemmer (although lucene has one).
2011-11-27 13:22:58 +02:00
Shay Banon f18ad903a9 Upgrade to Lucene 3.5, closes #1502. 2011-11-27 12:57:26 +02:00
Shay Banon fd5d754fe6 better failure messages when dynamic mapping is disabled 2011-11-25 09:40:44 +02:00
Shay Banon a7803855a1 add another path trie test 2011-11-25 00:21:01 +02:00
Shay Banon 3f835eb780 even though it can't happen (offset is 0 when loading from the index), use properly the field to get binary values with offset and length 2011-11-24 21:44:18 +02:00
Shay Banon 21988a0ca7 support compressed percolator index 2011-11-24 21:32:56 +02:00
Shay Banon ac2c2fb48d enable unsafe optimization in lzf for 0.19 2011-11-24 20:12:51 +02:00
Shay Banon 03c2e5ea52 improve how decoding is done on the transport layer, embedding FrameDecoder into the message handler, and reducing allocation of buffers and better guess into allocating cumalation buffers 2011-11-24 20:03:25 +02:00
Shay Banon f0efb8cdea Using _parent:123 in a query string query fails to fetch docs, closes #1497. 2011-11-24 13:59:10 +02:00
Shay Banon 81965d0ea9 Support using _id:1234, or using term query/filter on _id even when _id is not indexed, closes #1496. 2011-11-24 12:31:50 +02:00
Shay Banon daa4444e22 DocumentMapper.java wrong order on build rootMappers, closes #1493. 2011-11-24 09:58:05 +02:00
Shay Banon 2c0662e18e Query DSL: indices query to allow to set a `no_match_query`, closes #1492. 2011-11-23 19:01:14 +02:00
Shay Banon f47b77199d Multi field mapper with more than one extra mapping can cause endless re-sync'ing of mapping between nodes, closes #1487. 2011-11-23 09:04:28 +02:00
Shay Banon 05f98634d8 IndicesQueryBuilder generates the wrong query name, closes #1485. 2011-11-22 15:57:54 +02:00
Shay Banon f28c11b31c By default, set http.compression to false, closes #1482. 2011-11-21 19:50:24 +02:00
Shay Banon bff980c797 Allow empty Strings to be null for Number's and don't autodetect empty string fields as string types, closes #1473. 2011-11-21 18:02:12 +02:00
Shay Banon fbb03c611a add a sleep to fix test (need to think of a better fix) 2011-11-21 10:44:29 +02:00
Shay Banon b10094b109 support boost on block join query (nested) 2011-11-21 10:43:58 +02:00
Shay Banon 90af54dad5 make sure bulk item failure on primary shards will not execute on a replica shard 2011-11-20 15:09:13 +02:00
Shay Banon bb8ff3814e Binary field compression causes wrong _source decoding, closes #1475. 2011-11-20 12:59:22 +02:00
Jeremie BORDIER 6403a42e31 * Try to extract value from String using FieldMapper when reading from the transaction log. 2011-11-17 18:54:41 +02:00
Shay Banon 4d607bdd4a handle valueForString in binary case 2011-11-17 18:19:16 +02:00
Shay Banon c8641588ec clean code, script service no longer used in get action 2011-11-17 15:48:05 +02:00
Shay Banon 835dc33d45 make sure we use the default index analyzer for _all field, even though it works well without it now because the _analyzer field comes before it and sets the context.analyzer 2011-11-17 15:37:51 +02:00
Shay Banon b0880e114e add another instanceof check on Date and not direct check 2011-11-17 14:27:40 +02:00
Shay Banon 09fe743790 add another instanceof check on Date and not direct check 2011-11-17 14:27:16 +02:00
Shay Banon 118acb3992 add 0.18.5 version 2011-11-16 22:00:13 +02:00
Shay Banon b0fc243138 add 0.18.4 version 2011-11-16 15:23:58 +02:00
Shay Banon 72d2fd0da0 Inner queries not resolved correctly in has_child filter when searching directly against the parent type (in the URI for example), closes #1471. 2011-11-16 14:15:29 +02:00
Shay Banon b5a0ae2fbe better toString for custom score query 2011-11-15 22:20:15 +02:00
Shay Banon e52ec518f3 NPE when highlighting 2011-11-15 18:11:03 +02:00
Shay Banon afb690e233 refactor sub fetch phase to also allow for hits level execution 2011-11-15 18:09:45 +02:00
Shay Banon 537d9c5db0 FVH should use the parsed query, and not a possible rewritten query 2011-11-15 16:45:05 +02:00
Shay Banon 8f392af207 upgrade to mvel 2.1 Beta7 2011-11-15 16:23:13 +02:00
Shay Banon 8d0ac1787b upgrade to jackson 1.9.2 2011-11-15 15:53:18 +02:00
Shay Banon a6a2a264c3 Highlighting on term vector enabled field should not highlight filters by default, closes #1469. 2011-11-15 13:42:15 +02:00
Shay Banon b8fe9999e0 XContentBuilder to handle extended classes of java.util.Date, closes #1465. 2011-11-15 11:34:32 +02:00
Shay Banon abaf4b5196 Indices Stats API: Providing groups as part of the HTTP API does not return stats for those groups, closes #1468. 2011-11-15 10:31:55 +02:00
Igor Motov 0d714d580f Add counts of currently executing get operations 2011-11-15 10:21:10 +02:00
Shay Banon 9bf42fed1b Nested facet execution can fail with ArrayIndexOutOfBounds, closes #1467. 2011-11-15 09:23:56 +02:00
Shay Banon dc2824fe06 apply fix to unsafe decoder in lzf, still use vanilla for now 2011-11-15 08:46:05 +02:00
Shay Banon 73ba30b18a Date Range: Inclusive upper range does not round up properly, closes #1463. 2011-11-14 17:16:42 +02:00
Shay Banon ed281fbfd5 Index shard search slow log (query and fetch), closes #1462. 2011-11-14 14:10:39 +02:00
Shay Banon b43c8fe128 get should report time in millis, but return in nanoseconds 2011-11-14 10:40:05 +02:00
Igor Motov 62d67e6c2d Add counts of currently executing index, delete, query and fetch operations 2011-11-14 10:24:50 +02:00
Shay Banon eefbe52580 disable optimized decoder by default 2011-11-14 10:10:22 +02:00
Shay Banon eb1b0b150f Using root object level mapping (_size, _source) can cause reparsing of the mapping on startup, close #1458. 2011-11-13 20:56:16 +02:00
Shay Banon 3da6e0a5b0 Percolate / Analyzer API can hang if it fails to execute, closes #1457. 2011-11-13 19:54:13 +02:00
Jeremie BORDIER 28c9595af3 * Add support for LZF compression on binary fields. 2011-11-13 14:32:53 +02:00
Shay Banon 4bbf29834e upgrade to lzf compress 0.9 2011-11-13 14:06:09 +02:00
Shay Banon 27a7b0680c fix top_terms_boost parsing for multi term rewrite 2011-11-13 12:51:10 +02:00
Igor Motov 9cc0b7a28b Fix processing of regex patterns in large terms facet requests 2011-11-13 12:49:12 +02:00
Shay Banon a3978402e5 add the search request to the search context 2011-11-13 12:48:17 +02:00
Shay Banon f4adff652c Blank routing should be ignored, closes #1450. 2011-11-13 12:04:02 +02:00
Shay Banon da98aab13f also support _percolate for bulk item requests 2011-11-13 10:19:05 +02:00
Shay Banon 21c4530aaf Search: Search requests execute by mistake on the networking http IO thread, causing other http operations to hang, closes #1455. 2011-11-11 22:22:21 +02:00
Shay Banon 99d31cc8c8 better handlign of open channels 2011-11-11 22:22:15 +02:00
Shay Banon 93f1d50c18 configure the scheduled TP to not wait for delayed execution, so we shutodown faster 2011-11-10 21:52:42 +02:00
Shay Banon 68c8cac852 AbstractCompoundWordTokenFilterFactory should store the dictionary as a CharArraySet instance, not a Set, closes #1449. 2011-11-10 20:12:35 +02:00
Shay Banon 15c798fb4c fix minimum_should_match in query_string builder 2011-11-10 12:13:31 +02:00
Shay Banon c4542c8349 increase search stats rounds to make sure the stats are higher than 0 2011-11-10 12:01:39 +02:00
Shay Banon 62bc0836c1 improve boolean filter 2011-11-10 12:00:43 +02:00
Igor Motov ed8c289dec Log warning when application of an updated cluster state fails with an exception 2011-11-10 10:12:58 +02:00
Igor Motov e7baf30bd2 Fix reporting of total indexing stats 2011-11-10 10:07:10 +02:00
Igor Motov eafa2b0c9a Fix possible NPE in TransportNodesListGatewayStartedShards operation 2011-11-10 10:04:11 +02:00
Shay Banon c5ebe6e86f Mapping: Improve applying guessed types on dynamic templates, closes #1446. 2011-11-09 09:02:20 +02:00
Shay Banon 75f522adaa data.path locations are unevenly filled (0.18.2), closes #1436. 2011-11-02 23:45:35 +02:00
Igor Motov 3c2dd959cb Aliases should be processed when index routing changes 2011-11-01 20:05:46 +02:00
Shay Banon ca7247e1b1 add more details logging on info of data path 2011-10-28 07:45:17 +02:00
Shay Banon 65a525bb15 add 0.18.3 2011-10-27 20:42:43 +02:00
Shay Banon 723d2e8b15 Search: Fetching fields that end up extracted from source might fail, closes #1431. 2011-10-27 20:28:38 +02:00
Shay Banon 8922d5b073 Merge Scheduler: Allow to set index.merge.scheduler.max_merge_count, closes #1430. 2011-10-27 02:14:47 +02:00
Shay Banon efffcf2b26 add 0.18.2 option 2011-10-27 01:43:08 +02:00
Shay Banon 99e2bb270c External data location configuration fails (path.data setting), closes #1429. 2011-10-27 01:30:33 +02:00
Shay Banon 49a97f6fcf move to 0.19.0 snap 2011-10-26 21:04:10 +02:00
Shay Banon 3544b07330 release 0.18.0 2011-10-26 20:58:24 +02:00
Shay Banon 0cde90fcb1 minimum_number_should_match in a query_string, closes #1420. 2011-10-26 01:58:12 +02:00
Shay Banon b652c655d2 Highlighting broken with custom_filters_score query, closes #1425. 2011-10-26 00:58:52 +02:00
Shay Banon 2778a6756c indexing option ignored in index_stats, closes #1423. 2011-10-25 20:20:43 +02:00
Shay Banon f9d0e82389 if source is not stored, treat it as an empty map in things like scripts or non stored field extraction 2011-10-25 20:18:53 +02:00
Shay Banon 8d08a66e66 make flags public just so people can hack it if needed 2011-10-25 19:01:12 +02:00
Shay Banon 6f39fce41f First indexing fails when indexing a type with an attachment field mapped using a dynamic template, closes #1418. 2011-10-25 01:40:27 +02:00
Shay Banon 3f4eea469c better failure message if a type parser is not found with dynamic tempaltes 2011-10-25 01:10:49 +02:00
Shay Banon 3210785bf4 upgrade to jackson 1.9.1 2011-10-25 00:30:05 +02:00
Shay Banon fd23d16eaa Mapping: Allow to include / exclude specific parts of it when storing it, closes #1421. 2011-10-25 00:01:58 +02:00
Shay Banon dec8dc5bec Bool Filter fails with ArrayIndexOutOfBoundsException, closes #1419. 2011-10-24 00:30:30 +02:00
Shay Banon d8f426a166 remove unused class 2011-10-23 23:41:18 +02:00
Shay Banon a360cc4c4a on multiple data locations, write the state files of local gateway on all locations 2011-10-23 22:57:37 +02:00
Shay Banon b2b608f9dc Query DSL: Indices query type, closes #1416. 2011-10-23 01:35:09 +02:00
Shay Banon 721f315210 handle also illegal state case to see if OOM happened within the index writer 2011-10-21 20:18:57 +02:00
Hiroyuki Ikezoe 6444335f06 Use CJKAnalyzer instead of ChineseAnalyzer
Signed-off-by: Hiroyuki Ikezoe <hiikezoe@gnome.org>
2011-10-21 20:04:32 +02:00
Shay Banon 932215d6fa rename check setting to check on startup 2011-10-20 16:17:38 +02:00
Shay Banon ff977926a9 add equals support to index metadata 2011-10-20 00:51:24 +02:00
Lukas Vlcek 54273dd1ee Added tests for synonym parsers. 2011-10-19 23:38:15 +02:00
Lukáš Vlček f7747d7ff9 Adding Wordnet synonym format 2011-10-19 23:38:14 +02:00
Shay Banon 0f2b875df9 better failure message when failing to get a node lock 2011-10-19 23:12:01 +02:00
Shay Banon 9396735925 Script sorting doesn't accept parameters, closes #1382. 2011-10-18 22:31:20 +02:00
Shay Banon 724611f249 don't clear on both obtain and release for the search cache 2011-10-18 19:21:06 +02:00
Shay Banon 4ffbdbeaea better failure message for sorting when mapping is not found 2011-10-18 05:54:40 +02:00
Shay Banon b113eb18fe builder based search source is safe now 2011-10-18 05:53:53 +02:00
Shay Banon 184a38439f Search: A failed search request might get overrun when trying another shard, closes #1403. 2011-10-18 05:31:12 +02:00
Shay Banon 673655cc7b When searching against an index/type, use the type information to derive different search aspects, closes #1391. 2011-10-18 01:26:53 +02:00
Shay Banon 6a146e7ad0 When searching against an index/type, use the type information to derive different search aspects, closes #1391. 2011-10-18 00:38:29 +02:00
Shay Banon 325064c7aa add static close methods to main class entry point 2011-10-17 20:25:41 +02:00
Shay Banon bfb4666b3d remove casting 2011-10-17 00:43:25 +02:00
Shay Banon bcd582b8c1 add internal cluster reroute api 2011-10-16 19:02:32 +02:00
Shay Banon 1047cebabe replication base classes to allow for different implementation of the primary request and the replica request 2011-10-16 17:25:31 +02:00
Shay Banon 72ad722480 Array out-of-bounds exception with bool filter, closes #1400. 2011-10-15 15:35:14 +02:00
Erick Tryzelaar b2769b1086 multi_get ids shortcut should grab custom fields. 2011-10-15 11:56:55 +02:00
Shay Banon 6b497589ce rest _count endpoint to also allow for no query provided (defaults to match_all) 2011-10-14 17:53:27 +02:00
Shay Banon a76737ceaf also ignore index missing failure when refreshing, as it might happen (we refresh on shards that might have not been allocated yet) 2011-10-14 17:50:02 +02:00
Shay Banon dee4b42b16 Exception: TokenStream implementation classes or at least their incrementToken() implementation must be final, closes #1397. 2011-10-14 16:56:53 +02:00
Shay Banon 24f1f0ff96 improve refreshing logic to resync mappings on upgrade, reduce the amount of cluster events processing requires if the even if fired from several nodes / sources 2011-10-14 15:20:38 +02:00
Shay Banon ffc74260ac Synonym filter fails to properly load synonyms (since 0.17.7), closes #1392. 2011-10-13 00:18:01 +02:00
Shay Banon 19ff93b09a all field mapper should be "included in root object" 2011-10-12 22:50:16 +02:00
Shay Banon 0367103423 Text Query does not use search_analyzer on field that is prefixed with the type name, closes #1390. 2011-10-12 22:14:03 +02:00
Shay Banon 1012f6a3ea Root mapper analyzer/index_analyzer/search_analyzer with unregistered analyzer name won't fail, closes #1389. 2011-10-12 21:41:27 +02:00
Shay Banon bb9d8fe342 Search / Get Preference: Add _only_node:[node_id] option, closes #1388. 2011-10-12 21:11:12 +02:00
Igor Motov bd87f8de3a Fix NPE in HighlightField serialization. Fixes #1380 2011-10-08 20:54:56 +02:00
Shay Banon 4bbe1b111a count doesn't work for empty query (discrepancy with search API), closes #1377. 2011-10-06 21:57:19 +02:00
Shay Banon 768c6d2922 fix buffer recycler in lzf 2011-10-06 20:40:43 +02:00
Shay Banon 9c6dfc1508 now that the change to refresh can execute on not yet active shards, we need to ignore illegal shard state failures (expected...) 2011-10-05 23:35:07 +02:00
Shay Banon d69baa3e04 when writing _river status, use consistency of one 2011-10-05 19:12:21 +02:00
Shay Banon 8f55e8835f when getting the _meta doc from _river index (per river), make sure the callback listener is threaded 2011-10-05 17:29:11 +02:00
Shay Banon 111c472a0b upgrade to jackson 1.9.0 2011-10-05 13:32:33 +02:00
Shay Banon 63844ddd43 REST Bulk API: Allow to execute _bulk against /{index}/_bulk and /{index}/{type}/_bulk endpoints, closes #1375. 2011-10-05 13:03:30 +02:00
Shay Banon 3d4c31de91 associate a version with a discovery node 2011-10-05 12:42:27 +02:00
Shay Banon 3d49b4ed3a add a simple integration level test for awareness 2011-10-03 13:48:10 +02:00
Igor Motov a51baa7d6c Allow limiting the number of concurrent ES nodes that can run on the same machine 2011-10-03 12:30:03 +02:00
Shay Banon 56a4c98e8b Allow to specify a specific field in the clear cache API, closes #1374. 2011-10-03 12:13:02 +02:00
Shay Banon c47f73a1ea better refresh stress test 2011-09-27 22:56:44 +03:00
Shay Banon 5ed064d532 execute the indices store listener as a last listener, to make sure we clean things up before we delete content if needed 2011-09-27 22:56:27 +03:00
Shay Banon df3fa9c067 When refreshing, also execute the refresh operation on initializing shards to make sure we don't miss it, closes #1370. 2011-09-27 21:46:24 +03:00
Shay Banon de8644d95a Fetch phase when searching might fail when mapping are updated with type missing, closes #1369. 2011-09-27 21:45:10 +03:00
Shay Banon 4088236cf7 No need to reroute (check for possible shard allocations) when a new *non* data node is added to the cluster, closes #1368. 2011-09-27 13:47:59 +03:00
Shay Banon f63727e3c6 no need to log a failure when deleting an index and a shard is recovering 2011-09-27 13:21:20 +03:00
Shay Banon 8fd28320e4 Add an option to disallow deleting all indices, closes #1367. 2011-09-27 11:54:34 +03:00
Shay Banon e0fdccd9c0 Transport Client: When `sniff` is enabled, use the sniffed nodes to be the list fo nodes to ping as well as the provided nodes, closes #1217. 2011-09-27 01:29:03 +03:00
Shay Banon 0c82fc5901 Remove Infinity values for Range facets when no docs match the range, closes #1366. 2011-09-27 00:41:57 +03:00
Shay Banon 737589f50d better handling of mean computation of some facets to handle division by 0, though, won't happen on most facets 2011-09-27 00:39:37 +03:00
Igor Motov d611182dbf Add support for non-elasticsearch namespaces to ImmutableSettings.getAsClass method 2011-09-26 23:29:08 +03:00
Shay Banon 8a63e58e1a Add `cloud.node.auto_attributes` setting, when set to `true`, will automatically add aws ec2 related attributes to the node (like availability zone), closes #1364. 2011-09-26 21:01:23 +03:00
Shay Banon e33dbcd93e more small optimizations to term creation 2011-09-26 12:05:48 +03:00
Shay Banon 8658856b48 use index iteration over iterator 2011-09-25 22:20:53 +03:00
Shay Banon 18f15f0a6f use index iteration over iterator 2011-09-25 22:17:09 +03:00
Shay Banon f36d89c554 use index iteration over iterator 2011-09-25 21:28:55 +03:00
Shay Banon 9bea902966 allow to dynamically set cluster.routing.allocation.cluster_concurrent_rebalance using cluster update settings API 2011-09-25 21:12:17 +03:00
Shay Banon fca3adcd59 allow to dynamically set cluster.routing.allocation.cluster_concurrent_rebalance using cluster update settings API 2011-09-25 21:09:41 +03:00
Shay Banon e8b88acbd3 allow to dynamically set cluster.routing.allocation.cluster_concurrent_rebalance using cluster update settings API 2011-09-25 21:09:15 +03:00
Shay Banon d7e3c9538f remove unnecessary check 2011-09-24 16:57:14 +03:00
Shay Banon 9d9133a451 required _routing fails when path points to an integer field, closes #1357. 2011-09-24 01:59:21 +03:00
Shay Banon d954a93d9d Malformed REST create index causes the index to still be created, closes #1359. 2011-09-24 01:04:12 +03:00
Shay Banon d9d452a1ef Allow to disable shard allocations, closes #1358. 2011-09-23 17:35:31 +03:00
Shay Banon f74793c92a improve multiple data locations when reading checksums and local gateway state files by going through all the locations to find them. 2011-09-23 17:08:21 +03:00
Shay Banon d76d7d4a56 Support external versioning for deletes arriving before initial update, closes #1351. 2011-09-23 00:56:02 +03:00
Shay Banon 8d7aaa704a Allow to stripe the data location over multiple locations, closes #1356. 2011-09-23 00:35:59 +03:00
Shay Banon c1ca21f4d5 more internal refactoring in directory providers 2011-09-22 18:04:59 +03:00
Shay Banon 7ab128bbba Put mapping on a single node with new mapping will not wait for the mapping to be applied, closes #1355. 2011-09-22 16:02:18 +03:00
Shay Banon f74fa7511b better failure when failing to find mapping for the key field in data histogram 2011-09-22 13:53:40 +03:00
Shay Banon 55d112b043 Even shard count distribution counts relocations as two, closes #1354. 2011-09-22 01:00:51 +03:00
Shay Banon 7adf2fd497 make last commit compile... 2011-09-22 00:30:05 +03:00
Njal Karevoll 6d975cd6b7 also use the time unit configured by numeric_resolution if fallbacking to parsing a timestamp number 2011-09-21 23:51:50 +03:00
Njal Karevoll 9bc9e3f0bd use "numeric_resolution" instead of "numeric_precision" as the field name 2011-09-21 23:51:50 +03:00
Njal Karevoll 41dbcdb7d6 Give the date field mapping a "numeric_precision" argument that allows a user to configure the precision of the numeric timestamps.
Supports all the time units from http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html
2011-09-21 23:51:50 +03:00
Shay Banon 3f8b7f0fce allow to change awareness settings using cluster update settings API 2011-09-21 23:48:23 +03:00
Shay Banon 44efcca108 automatic preference when using awareness attributes 2011-09-21 23:09:44 +03:00
Shay Banon 3028d5a7a1 Shard allocation awareness (rack aware, zone aware, for example), closes #1352. 2011-09-21 18:26:16 +03:00
Njal Karevoll 6a6cba1ff3 include the path when serializing _id field mappings 2011-09-20 17:50:32 +03:00
Shay Banon 8c322b4cc2 use the same improved fields extraction in get api 2011-09-20 16:54:02 +03:00
Shay Banon 9a13763315 Improve source based fields loading when searching, closes #1347. 2011-09-20 14:33:02 +03:00
Shay Banon 29d0bfdaa9 don't log delete of unused shard location if it does not exists 2011-09-19 17:50:41 +03:00
Shay Banon dc85e227af upgrade to latest jsr166 code 2011-09-18 21:50:16 +03:00
Shay Banon f072c7e91b add meter metric implementation 2011-09-18 21:35:01 +03:00
Shay Banon 52ca63deb9 move refreshing version table to be done right after the commit within the respective lock, for full flush (rarely used) its needed... 2011-09-18 16:13:05 +03:00
Shay Banon b66a3b7c59 Realtime Get: Under high concurrent indexing and immediate get, a get might be missed while flushing, closes #1344. 2011-09-18 13:44:35 +03:00
Shay Banon 305cf4a567 Bulk API: Properly retry execution on temporal state changes, closes #1343. 2011-09-17 02:21:49 +03:00
Austin McKinley 0977b793da adding timeout to list of connection failures 2011-09-17 00:50:51 +03:00
Shay Banon 5ba6ec5a69 Versioning: Delete on an already deleted document should still affect versioning, closes #1341. 2011-09-17 00:50:10 +03:00
Shay Banon bdfa07934e refactor creation of lucene directory and simplify different directories implemenation strcture 2011-09-16 18:39:23 +03:00
Shay Banon a7e43005bb Rest Delete API does not honor the `version_type` parameter, closes #1337. 2011-09-15 17:07:04 +03:00
Shay Banon 25c6e8512d fix full flush when no changes happen in the index, so the updated trans id is not written 2011-09-15 14:56:37 +03:00
Shay Banon 28f56262bc use a simpler API call 2011-09-15 14:01:45 +03:00
Shay Banon 639515c240 Optimizing inactive (indexing wise) shard to only happen when there are no ongoing merges, closes #1336. 2011-09-15 12:21:12 +03:00
Shay Banon 74079c8a13 Upgrade to Lucene 3.4.0, closes #1335. 2011-09-15 12:16:58 +03:00
Shay Banon 3eaf73a380 Add number of committed and number of search segments to the segments API response 2011-09-14 20:48:02 +03:00
Shay Banon e2b1cb1640 Allow to filter geo bounding box or distance based on indexed lat lon, closes #1334. 2011-09-14 14:27:39 +03:00
Shay Banon a8fc0cbcf3 when setting null value ttl, reset it 2011-09-13 21:43:56 +03:00
Benjamin Devèze e52dbf4fda fix bug when adding to BulkRequest with no TTL, add simple unit test for that 2011-09-13 21:41:13 +03:00
Shay Banon a84eb1fc8f Rivers: Close rivers early allowing them to still do index operations, closes #1330. 2011-09-13 02:15:50 +03:00
Shay Banon 847938a88e XContentBuilder.field : StackOverflowError with Integer[] parameters, closes #1324. 2011-09-12 22:44:55 +03:00
Shay Banon 36f364c998 revert back to 5gb from 20gb (the lucene default) to create less confusion 2011-09-12 21:38:27 +03:00
Shay Banon c62f476fa6 Indexation of document causes NullPointerException (on Linux) or ES process hanging, closes #1325. 2011-09-12 21:35:45 +03:00
Shay Banon d8377074a4 expose meteData directory 2011-09-12 21:33:33 +03:00
Shay Banon 93b1759804 Nested Mapping: Nested object with a null value causes wrong indexing structure (resulting in wrong search responses), closes #1323. 2011-09-12 11:23:20 +03:00
Shay Banon 8fe1e5cdb8 upgrade to trove 3.0.0 2011-09-12 10:21:10 +03:00
Shay Banon e6f277474e Thread Pool: Blocking thread pool type configuration fails, closes #1321. 2011-09-11 01:06:57 +03:00
Shay Banon 8532dc84e9 Query with stopwords executed directly against a type fails, closes #1320. 2011-09-11 00:53:39 +03:00
Benjamin Devèze 4279016f30 add default ttl value support 2011-09-09 15:35:01 +03:00
Shay Banon 052f9aac1f allow to force flush and use it when optimizing 2011-09-09 15:21:22 +03:00
Shay Banon bf70836e92 don't do double int[] lookup for ordinal 2011-09-09 14:06:54 +03:00
Shay Banon 84ae001731 if ttl field mappers don't exists (yet), ignore it for that shard 2011-09-09 13:31:40 +03:00
Shay Banon 100df0dca8 Merge branch 'ttl-time-value-source' of https://github.com/Paikan/elasticsearch 2011-09-09 13:09:57 +03:00
Shay Banon 9ff4a95ee4 allow to filter also by node _name and _id, make sure to reroute properly after cluster update settings 2011-09-09 13:09:08 +03:00
Benjamin Devèze fae6eaf690 add time value definition of ttl inside source 2011-09-09 11:35:15 +02:00
Shay Banon d00edfb165 better check for defaults on jline, only enable it if not on windows 2011-09-09 10:59:35 +03:00
Shay Banon 0fcb4e88d4 cleanup ttl support, make sure we close the service on node lifecycle, better settings names, and allow to provide the ttl as a time value 2011-09-09 01:21:05 +03:00
Benjamin Devèze 65aad2da1e add per doc ttl support 2011-09-09 00:03:40 +03:00
Shay Banon 5052282ab6 Cluster / Index level allocation filtering, closes #1311. 2011-09-08 14:29:08 +03:00
Shay Banon 4180a7f73a associate a DiscoveryNode instance with RoutingNode, so there is no need to look it up based on node id 2011-09-08 11:10:53 +03:00
Shay Banon 60933b0f1e reroute after setting cluster level settings 2011-09-08 10:54:07 +03:00
Shay Banon bcd4ef2823 custom nodes count 2011-09-07 20:38:48 +03:00
Shay Banon 60a73c475f dynamic settings validation to allow for simple match patterns 2011-09-06 22:01:25 +03:00
Shay Banon 6a78cc2b72 fix wrong removal of flag 2011-09-06 21:10:54 +03:00
Lukáš Vlček 3d09fdee27 adding method allowing default value 2011-09-06 20:28:06 +03:00
Shay Banon 17c285090f remove double setting clear 2011-09-06 20:13:06 +03:00
Jürgen Kartnaller d276809822 fix clear for FieldLookup values 2011-09-06 20:12:50 +03:00
Shay Banon 203564a5b0 externalize shard allocation decision to a separate module 2011-09-06 17:51:11 +03:00
Shay Banon d86c116273 extract logic of allocation to a separate module 2011-09-06 17:11:55 +03:00
Njal Karevoll 37f08ea8b8 Fix some typos:
hypennation_decompunder -> hyphenation_decompounder
only_longest_max -> only_longest_match
2011-09-06 15:23:48 +03:00
Shay Banon b653d149d1 Peer recovery: Allow to throttle recovery based on "size per sec", closes #1304. 2011-09-06 12:40:14 +03:00
Shay Banon 8ebbd1e7b9 Recovery Settings: Change settings (still support old settings) and allow for more dynamic settings, closes #1303. 2011-09-06 11:21:32 +03:00
Shay Banon 9f427010bf more to ABQ from LBQ is relevant places 2011-09-05 12:34:20 +03:00
Shay Banon dee1addc17 Indices / Node Stats: Shard level search stats, closes #1301. 2011-09-04 23:55:35 +03:00
Benjamin Devèze 8958e9fd4a fix bug in parent handling where the parsed parent value was not set in the SourceToParse 2011-09-04 17:35:23 +03:00
Shay Banon bcd7d97c58 only log async refresh / merge failure if the engine is not closed 2011-09-03 20:24:55 +03:00
Shay Banon ed99a51406 ifx possible NPE when asking for _parent without parent mapping 2011-09-02 12:58:20 +03:00
Shay Banon 63f2e84535 Negative total cpu time reported by the node stats REST API, closes #1297. 2011-09-02 10:13:26 +03:00
Shay Banon 8facdb2e3d Rapidly concurrent deleting/creating an index leaves index inconsistent, closes #1296. 2011-09-02 09:36:25 +03:00
Shay Banon a8baec6960 improve logging of failure when merging 2011-09-01 23:32:26 +03:00
Shay Banon d7943e8ebd fix some highlighting encoder issues 2011-09-01 22:14:47 +03:00
LocJayMP c0f8223a6c adding escape html ability 2011-09-01 21:50:49 +03:00
Shay Banon 2bc2b3f4e2 add percolate api to groovy client 2011-09-01 21:10:46 +03:00
Shay Banon b888684ff6 negative from parameter yields undescriptive error message, closes #1293. 2011-09-01 19:25:04 +03:00
Shay Banon 87049d0d29 initialize the transport adapter on creation so asking for stats will not NPE 2011-09-01 19:18:28 +03:00
Shay Banon 3ae40487b6 Using 57744018578214912 as an id can cause failure to route to the correct shard, closes #1294. 2011-09-01 18:33:44 +03:00
Shay Banon 10278f115e also add it as a parameter 2011-09-01 14:17:41 +03:00
Shay Banon ca020dac3f add specific get indices stats endpoints 2011-09-01 14:17:20 +03:00
Shay Banon cc051014d3 add optional queue_size to fixed thread pool, and reject_policy 2011-09-01 13:26:41 +03:00
Shay Banon d98ac9b6fc mark context processed in the correct place... 2011-09-01 10:53:46 +03:00
Shay Banon 6693b86982 more options when setting query/filter/facets in raw form using java api 2011-09-01 09:42:10 +03:00
Shay Banon 3381d77c14 more explicit places where we don't want to conversion to happen when transforming to xcontent 2011-09-01 01:34:27 +03:00
Shay Banon b185078554 Java API: ActionFuture#actionGet to automatically unwrap failures, closes #1292. 2011-09-01 00:10:15 +03:00
Shay Banon 3b9da384c3 add offset and length all the way to the source parsing level 2011-08-31 22:29:04 +03:00
Shay Banon bc1dd108d1 Java API: XContentFactory creation of XContentBuilder to always be "safe", closes #1291. 2011-08-31 21:10:50 +03:00
Benjamin Devèze d1d3340aa2 add path support for id field, fix issue 1245 2011-08-31 00:45:52 +03:00
Shay Banon 2d1a645231 ignore load failures on a closed reader 2011-08-31 00:19:04 +03:00
Shay Banon b3ef0a3d7f Support fetching _routing, _parent, _timestamp using realtime get when stored, closes #1289. 2011-08-30 22:35:16 +03:00
Shay Banon 6560a9ec7b bubble down a now concept from the initiating search node to all nodes executing search 2011-08-30 21:15:35 +03:00
Shay Banon 1add5ce566 Node / Indices Stats: Add get stats (including missing / exists), closes #1288. 2011-08-30 20:56:39 +03:00
Shay Banon 32b64fc9a3 externalize get logic into a shard level get service 2011-08-30 19:53:07 +03:00
Shay Banon a5aac3a5c8 cleanup/optimize metadata stage parsing and generalize it 2011-08-30 15:36:09 +03:00
Shay Banon e5e96a86a0 cleanup 2011-08-29 18:54:18 +03:00
acerb 56a2833de4 Performance improvement when creating a multi-value field cache 2011-08-29 18:03:45 +03:00
Shay Banon ba352e0dc6 cleanup timestamp work 2011-08-29 17:46:01 +03:00
Benjamin Devèze bb02f19f88 Add support for timestamp field 2011-08-28 14:54:03 +03:00
Shay Banon fe0a1d424d Multi Get: Allow to specify fields to fetch in the URI, and apply it automatically to all docs to get without explicit fields, closes #1281. 2011-08-26 17:42:22 +03:00
Shay Banon 58bfe5d86f Tiered merge policy setting: `max_merge_segment` misnamed and should me `max_merged_segment`, closes #1280. 2011-08-26 17:17:26 +03:00
Shay Banon d48542a979 Node Stats: Certain indices level stats to retain stats even when shard relocates, closes #1276. 2011-08-25 20:20:14 +03:00
Shay Banon ee585ad96c change executor to be management and not cached for stats/status/info APIs 2011-08-25 12:28:26 +03:00
Shay Banon f9ae132c72 improve tests execution time 2011-08-24 22:00:27 +03:00
Shay Banon 306b3939cf fix stats action registration 2011-08-24 20:57:48 +03:00
Benjamin Devèze 264efe5478 Fix small bug in routing parsing 2011-08-24 19:57:12 +03:00
Shay Banon 591c91a9a9 add specific indexing stats REST endport 2011-08-24 18:23:27 +03:00
Shay Banon 80062fbe10 Indices Stats API + indexing statistics, closes #1273. 2011-08-24 11:24:52 +03:00
Shay Banon bb9bcf6a1e debug log failure to find local host 2011-08-22 11:02:10 +03:00
Shay Banon f4a36a2d87 add size and docs to merge stats 2011-08-21 05:16:26 +03:00
Shay Banon 67e161f710 add flush stats 2011-08-21 04:54:27 +03:00
Shay Banon 6fd6965bdf add refresh stats to node indices stats section 2011-08-21 01:10:51 +03:00
Shay Banon 0549e9d1c2 create simple metrics aggregator classes, and use them where applicable in the code, abstracting away the actual aggregation method (and use jsr166e long addr) 2011-08-21 00:12:36 +03:00
Shay Banon e67427d4af add a new version of jsr166y, and add jsr166e 2011-08-20 21:52:52 +03:00
Shay Banon 6afbfad089 Enhance transport stats to include rx and tx counters, closes #1254. 2011-08-20 21:37:37 +03:00
Shay Banon ef47308ead allow to change indices.cache.filter.size setting through cluster update settings api 2011-08-20 17:12:58 +03:00
Shay Banon 6e81fbc30d rename cluster settings service to node settings service, as it better reflects the fact that settings are applied on the node level 2011-08-20 16:58:39 +03:00
Shay Banon 03217c460a Cluster Update Settings API, closes #1266. 2011-08-20 04:00:41 +03:00
Shay Banon a83c45be22 Java Logging: Automatically default to log4j before slf4j logging if log4j in the classpath, closes #1265. 2011-08-20 03:27:29 +03:00
Shay Banon 779dc4309b Geo: Automatically normalize lat/lon on search components, closes #1264. 2011-08-19 20:19:54 +03:00
Shay Banon ec6fa83856 index: no should also disable include_in_all, closes #1087. 2011-08-19 19:51:39 +03:00
Shay Banon 0f0b41e4fa fix bound normalization 2011-08-19 16:28:55 +03:00
Shay Banon 7c150a5059 Geo Type Mapping: Add normalize flag (default to true), and default validate to true, closes #1262. 2011-08-19 07:24:43 +03:00
Shay Banon 7a4fca2c1a Geo Distance Filter Bounding Box Optimization, closes #1261. 2011-08-19 07:07:02 +03:00
Shay Banon 4bacebe860 optimize distance based based calcs by reusing source location computation 2011-08-19 04:25:36 +03:00
Shay Banon d371619dd8 add an option to just compute distance factor 2011-08-19 03:21:46 +03:00
Shay Banon fcaa0e3261 Query Parser caching does not take parsed query rewrite method into account, closes #1260. 2011-08-19 01:57:12 +03:00
Shay Banon 5fa072263d more work on simplifying mapper parsing code 2011-08-19 01:34:22 +03:00
Shay Banon 8d2123a452 dynamic templates might cause elasticsearch to keep resync mappings, closes #1257. 2011-08-18 21:13:15 +03:00
Nicolas Lalevée 741b8dd70b fix highlight score ordering for a field 2011-08-18 20:29:20 +03:00
Shay Banon a9bc775213 more refactoring to generalize root level field mappers 2011-08-18 04:55:57 +03:00
Shay Banon 821c3524a2 more refactoring to generalize root level field mappers 2011-08-18 00:57:53 +03:00
Shay Banon 4395202ebc simplify a bit doc mapper parsing to make it more generic 2011-08-17 18:08:39 +03:00
Shay Banon 8a7b20597d Geo Type Mapping: Add validation options to validate lat and lon values, closes #1252. 2011-08-17 05:54:57 +03:00
Shay Banon 55f62eca8a use static classes for docsets instead of inner classes to make sure we don't rely on hotspot to inline field lookups 2011-08-17 04:20:43 +03:00
Shay Banon 451c87f486 Update Settings: Allow to dynamically set index.gc_deletes setting, closes #1251. 2011-08-17 02:58:55 +03:00
Shay Banon 20ff04f715 Start Elastic Node without network link, closes #842. 2011-08-17 02:55:17 +03:00
Shay Banon be7d3b609f Single node rolling restart into a new node can cause metadata loss, closes #1249. 2011-08-16 17:18:30 +03:00
Shay Banon da56a4d332 Tiered merge policy: Change the default max_merge_segment from 5gb to 20gb, closes #1247. 2011-08-15 21:36:32 +03:00
Shay Banon af4b6a1d49 move to the latest 0.8.4 lzf compress 2011-08-15 18:45:21 +03:00
Shay Banon 11bdad1338 wrong method signature: RangeFilterBuilder and NumericRangeFilterBuilder, closes #1244. 2011-08-15 00:06:26 +03:00
Shay Banon d92dc36213 improve index and shard creation failure messages 2011-08-14 14:51:20 +03:00
Shay Banon b0caf0d761 externalize all checks for checksum file to a util method 2011-08-14 02:19:17 +03:00
Shay Banon b3d1525e41 return the query builder for chaining 2011-08-13 22:36:11 +03:00
Benjamin Devèze 32fcd91e2b Fix copy-pasted javadoc error 2011-08-13 16:09:24 +03:00
Shay Banon 252ba57703 Date detection for `YYYY/MM/dd` or `YYYY/MM/dd HH:mm:ss` without timezones now broken, closes #1241. 2011-08-13 13:08:12 +03:00
Shay Banon 3b987f9ee0 add a more complex test for peer recovery reuse 2011-08-12 14:58:06 +03:00
Shay Banon 016bcdfa3a also flush before optimize, just to optimize all the changes up until now 2011-08-12 13:01:11 +03:00
Shay Banon 8a69910465 Peer recovery process can sometimes not reuse the same index files allocated on a possible node, closes #1238. 2011-08-12 04:06:20 +03:00
Shay Banon fa19239d44 Updating `index.auto_expand_replicas` might not be applied correctly, closes #1237. 2011-08-12 02:21:47 +03:00
Shay Banon 001a6b0ff7 Failure to reduce geo distance sorting (class case exception), closes #1234. 2011-08-11 23:37:18 +03:00
Shay Banon bf51a4e5df Mapping: Allow to enable automatic numeric types detection new fields with a string value, closes #1233. 2011-08-11 23:11:08 +03:00
Shay Banon 3202af0dc1 when fixing #1229, we should also handle a case where the node is closing when connected from another node 2011-08-11 22:35:55 +03:00
Shay Banon a4339d6751 add getter for open file desc 2011-08-11 21:25:14 +03:00
Shay Banon 0d07d5b91f Improve how versioning are read to reduce (deleted) open file handles, closes #1230. 2011-08-11 12:25:56 +03:00
Shay Banon fc6e0dd037 Java API TransportClient can fail on remote node shutdown instead of retrying the next connected node under heavy load, closes #1229. 2011-08-11 11:31:59 +03:00
Shay Banon 0d755472d3 add bulk indexing stress test 2011-08-10 23:38:48 +03:00
Shay Banon d25c939b97 Failed shard recovery can cause shard data to be deleted (replicas will still work), closes #1227. 2011-08-10 20:29:24 +03:00
Shay Banon 80f9ea5bfe protected against cases where the channels are null and asking for stats 2011-08-10 17:34:21 +03:00
Shay Banon 745b8cbefe Full field paths not respected in sort parameters, closes #1226. 2011-08-10 16:52:10 +03:00
Shay Banon d06a7e9fe1 CouchDB River: Custom script does not convert the modified doc properly to be indexed, closes #1225. 2011-08-10 15:06:53 +03:00
Shay Banon 25c3e898fd improve unicast to have another try at pinging other nodes within the ping timeout span 2011-08-10 15:06:34 +03:00
Shay Banon 1c555679a1 small optimization when sorting based on count and same count entries requires sorting based on term 2011-08-09 19:45:15 +03:00
Shay Banon ee015f5829 when dynamically updating the shard indexing buffer size, ignore cases where it can't be updated because flushing is disabled 2011-08-09 19:22:47 +03:00
Shay Banon 56b11c5ff3 Scripts: arrays: ".multiValued" returns true even when ".values" fails, closes #1145. 2011-08-09 18:50:03 +03:00
Shay Banon 54880c576b don't wait for merges on full flush 2011-08-09 18:10:57 +03:00
Shay Banon 5aad9dd841 missing import 2011-08-09 17:22:16 +03:00
Jonathan R H Evans ace3b1feeb Added comment to explain MarginFragListBuilders relation to SimpleFragListBuilder 2011-08-09 17:17:40 +03:00
Jonathan Evans 77f873fdf1 Added access to highlight offset through java client, previously just through transport 2011-08-09 17:17:40 +03:00
Jonathan Evans cee29dedb2 Added highlight offset for highlighted terms in fragments 2011-08-09 17:17:40 +03:00
Shay Banon 19c47cdceb upgrade to jackson 1.8.5 2011-08-09 17:16:27 +03:00
Shay Banon acd6a1945e upgrade to mvel 2.1 Beta6 2011-08-09 16:52:59 +03:00
Shay Banon 7af84869fc Invalidate cache stats when clearing the cache, closes #1220. 2011-08-09 15:40:39 +03:00
Shay Banon 794a284093 Rare deadlock when introducing new mapping fields/objects, closes #1222. 2011-08-09 15:31:17 +03:00
Shay Banon f1e23067cd Stored fields with multiple values might not return in search request asking for them, closes #1208. 2011-08-04 22:34:33 +03:00
Shay Banon ca6cd2bbed add multi get stress 2011-08-04 15:13:08 +03:00
Shay Banon 1908639749 improve unicast discovery to use less resources by using dedicated thread pool capped with concurrent connects (defaults to 10) 2011-08-04 14:33:06 +03:00
Shay Banon cbb95dee17 better logging in case of state persistence failure 2011-08-04 12:09:21 +03:00
Shay Banon 1e6dbc5ff3 Queries: Optimize single clause boolean query, closes #1206. 2011-08-04 11:36:05 +03:00
Shay Banon d93bc02309 Query DSL: custom_filters_score - add score_mode to control filters matching scoring, closes #1205. 2011-08-04 03:31:14 +03:00
Shay Banon 4a886dbae1 Query DSL: custom_filters_score allow to associate boost on filter instead of script, closes #1204. 2011-08-04 02:51:33 +03:00
Shay Banon 9503126155 Rest API: Add an `X-Opaque-Id` header, to be returned in the response if exists in the request, closes #1202. 2011-08-03 19:40:25 +03:00
Shay Banon 318bdb91c6 amortize size based eviction on a scheduled task and not on each operation 2011-08-03 18:26:29 +03:00
Shay Banon 0f251bf6ea Cache Stats: Computing the filter stats using the default weighted filter cache is expensive, closes #1201. 2011-08-03 17:43:45 +03:00
Shay Banon b9387848cb Index Cache Stats / JVM Stats: Add a refresh_interval to control when it gets refreshed, closes #1200. 2011-08-03 17:11:00 +03:00
Shay Banon 4a0b010d02 Automatic index creation can still cause "index missing" failures, closes #1199. 2011-08-03 14:32:33 +03:00
Shay Banon 598370b6c7 Allow creation of empty docs, closes #1195. 2011-08-03 12:36:05 +03:00
Shay Banon 50ccb665a0 Delete By Query wrongly persisted to translog, closes #1198. 2011-08-03 11:30:01 +03:00
Shay Banon ff2a4ed783 Analysis: Add a `kstem` name option to `stemmer` token filter (on top of the default kstem option), closes #1196. 2011-08-02 23:30:57 +03:00
Shay Banon bf9d5a0613 add done flag to not continue to connect if we already finished the unicast ping 2011-08-02 16:42:41 +03:00
Shay Banon e44fb27db1 improve unicast discovery and try to reduce the number of connections made 2011-08-02 16:30:56 +03:00
Shay Banon 9e621afeb8 warn if mlockall is not working once enabled in settings (instead of debug logging), closes #1194. 2011-08-02 14:07:27 +03:00
Shay Banon 885c80f8e5 Unicast Discovery: When providing a comma separated list of addresses, trim them from whitespaces, closes #1193. 2011-08-02 13:42:38 +03:00
Shay Banon a0bbb5445a `highlight.fields` should accept field names with the full path, closes #1192. 2011-08-02 12:55:17 +03:00
Shay Banon a5a46b2349 make sure not to use cached stream when writing the metadata to shared gateway 2011-08-02 10:51:04 +03:00
Shay Banon b3233fc8f1 upgrade to netty 3.2.5 2011-08-02 10:33:57 +03:00
Shay Banon cb51d3c576 Sorting on _score in the URI format is reversed, closes #1191. 2011-08-02 03:08:48 +03:00
Shay Banon 2b777df21e add a note in the build regarding joda time 2 2011-08-02 00:16:52 +03:00
Shay Banon e059a7b37f Merge Policy type setting fails, closes #1190. 2011-08-01 23:10:52 +03:00
Shay Banon e329178e8e improve debug logging for loading latest metadata and state 2011-08-01 14:26:21 +03:00
Shay Banon 2afe7f80a1 Query DSL: ids filter/parse to automatically use types provided as part of the search, closes #1188. 2011-08-01 13:06:05 +03:00
Shay Banon c25d9a7842 github redirects from https to http 2011-08-01 09:12:58 +03:00
Shay Banon d3c0e250ec make text queries to use Query suffix in java API, deprecate the previous ones 2011-07-31 17:48:18 +03:00
Shay Banon 56b495534a don't use thread local to aggregate string terms facet 2011-07-31 14:40:17 +03:00
Shay Banon 5e8a021405 only add cross origin header if the request is coming from a browser 2011-07-30 23:44:27 +03:00
Shay Banon e6ee276926 add more info to logging failure 2011-07-30 23:13:36 +03:00
Shay Banon ca7cd21519 Failed to load uid from the index in match_all query with parent/child and _source disabled, closes #1149. 2011-07-30 22:29:06 +03:00
Shay Banon 146a6d3730 Minor(?) scripting bug(?): (caching-related?) odd behavior when changing languages for the same script code, closes #1150. 2011-07-30 15:13:02 +03:00
Shay Banon 8fb0163244 log failure when executing multi_get 2011-07-30 09:43:58 +03:00
Shay Banon 73adbdd4c3 Query DSL: Allow to control how all multi term queries are rewritten, closes #1186. 2011-07-30 00:36:40 +03:00
Shay Banon 06bcd4253b Analysis: 'truncate' token filter, closes #1165. 2011-07-29 23:36:02 +03:00
Shay Banon f4889dd846 Analysis: Unique token filter, closes #1185. 2011-07-29 22:45:26 +03:00
Shay Banon 7271a80b50 Stop Token Filter - enable_position_increments, closes #1182. 2011-07-29 21:31:48 +03:00
Shay Banon a09ed1468c Mapping: Renamed root object `date_formats` to `dynamic_date_formats` (old value still works), closes #1183. 2011-07-29 21:10:58 +03:00
Shay Banon f43bf307c8 Mapping: Root object non ISO date formats to support timezone, closes #1181. 2011-07-29 20:01:43 +03:00
Shay Banon 91f97bb7b6 When flushing, old transaction log is not removed, closes #1180. 2011-07-29 19:51:01 +03:00
Shay Banon 297a496998 More Like This API: Allow to provide `search_size` and `search_from`, closes #1179. 2011-07-29 10:45:57 +03:00
Shay Banon c0266a10d4 Search API: URI request allow to additional query_string parameters, closes #1178. 2011-07-29 09:48:09 +03:00
Shay Banon b07d9d56b4 HTTP: Disable automatic cookie parsing and resetting, allow to enable it, closes #1177. 2011-07-28 22:02:39 +03:00
Shay Banon 615fc435cc Http Transport: Allow to configure `max_header_size`, `max_initial_line_length`, and `max_chunk_size`, closes #1174. 2011-07-28 18:32:38 +03:00
Shay Banon 7e0182d882 add more info on failure to derive xcontent 2011-07-28 10:33:00 +03:00
Shay Banon 36e6102a1b move to trace level debugging when sigar fails to load 2011-07-27 18:25:52 +03:00
Shay Banon 02ba21dd70 Mapping: _default_ mapping type with root level date_formats can cause recursive addition of them to the mapping, closes #1168. 2011-07-27 11:42:11 +03:00
Shay Banon 8dff55c79e Get API: a get for a document that does not exists can cause open file handles leak, closes #1167. 2011-07-26 22:58:09 +03:00
Shay Banon cbde265ab8 improvement to string splitting caused fields= on get to return the source back, fix it and also optimize this case when using realtime get, closes #1164. 2011-07-26 17:12:34 +03:00
Shay Banon 47b0750171 improve lock logic when recovering to reduce chance of throwable slipping and causing no release of lock 2011-07-26 16:39:36 +03:00
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