Commit Graph

2861 Commits

Author SHA1 Message Date
Shay Banon 1b68f99449 TTL does not respect routing when expiring (deleting) documents, closes #1586 2012-01-04 20:37:13 +02:00
Shay Banon 700514fd6c have the zip bat windows file use dos line endings 2012-01-03 20:35:42 +02:00
Shay Banon 38e8727a89 Plugins: If a plugin has a bin directory, move it under the main bin location under the plugin name, closes #1584. 2012-01-03 14:03:27 +02:00
Shay Banon ed1d1249fc simplify support transport actions, no need to provide several action paths, we can derive them 2012-01-03 13:43:27 +02:00
Shay Banon a793336635 clean unused method 2012-01-03 13:23:02 +02:00
Shay Banon 8e2cd64ee3 remove unused script service 2012-01-03 13:04:18 +02:00
Shay Banon c4d75f3844 document missing should be 404 2012-01-03 01:11:47 +02:00
Shay Banon 761862a9a9 nicer exception names 2012-01-03 01:05:08 +02:00
Shay Banon beb5986256 nicer main action names 2012-01-03 01:04:08 +02:00
Shay Banon 83d5084f62 Update API: Allow to update a document based on a script, closes #1583. 2012-01-02 22:02:19 +02:00
Lee Hinman e582f6c91a Rename count/pacakge-info.java to count/package-info.java 2012-01-01 12:11:41 +02:00
Shay Banon 8c6b2a3077 Date Histogram Facet: Improve time zone handling, add factor option, closes #1580. 2012-01-01 00:09:57 +02:00
Shay Banon 53b1b6e4bb add size in bytes to bb dir 2011-12-31 20:33:17 +02:00
Shay Banon 8cf8b478af Scan Search: Improve performance while scrolling through it, closes #1579. 2011-12-31 17:49:19 +02:00
Shay Banon 370444cb75 count collector does not throw stop collection 2011-12-31 16:26:01 +02:00
Shay Banon a4e4235d93 move sort optimization when sorting by _score to sort parse element from the query phase execution 2011-12-31 16:24:27 +02:00
Shay Banon 3c88eacb01 bind transport validate query actions as singletons 2011-12-30 13:42:08 +02:00
Shay Banon 0f1a908bae improve multi field highlighting with fast vector based highlighting by caching the custom query across field mappers (one when there is field match, and one when there isn't) 2011-12-30 02:08:05 +02:00
Shay Banon ee011c9f0d Highlighter: Add require_field_match (both global and per field) option, closes #1577. 2011-12-30 02:00:20 +02:00
Shay Banon c2df297624 randomize routing value when validating query 2011-12-29 14:32:02 +02:00
Shay Banon e47ec96ca2 Merge branch 'master' of https://github.com/dakrone/elasticsearch 2011-12-29 14:17:50 +02:00
Shay Banon 73c58693cd improve analyzers and tokenizers bindings to work similar to filters and char filters, by processing them first, and lazily binding them if needed 2011-12-29 13:57:39 +02:00
Lee Hinman f6b036f713 Refactor validate to validateQuery and move into indices admin action 2011-12-28 15:27:59 -07:00
Shay Banon 4e6217c54d simplify toString for cached filter 2011-12-28 23:35:04 +02:00
Shay Banon bb63d38a65 Two different indexes with the same nested object name causing ArrayIndexOutOfBoundsException, closes #1575. 2011-12-28 22:20:09 +02:00
Shay Banon cb0284f802 count down latch if we don't have any changes in cluster update settings 2011-12-28 22:06:13 +02:00
Edward Wang 636f7bd454 Fix failed test ClusterAndIndexReaderOnlyTests
MetaData uses two different string constants, "cluster.blocks.read_only"
and "cluster.read_only", for one setting. It confuses
TransportClusterUpdateSettingsAction and causes
lusterAndIndexReaderOnlyTests never finish.
2011-12-28 22:05:27 +02:00
Lee Hinman 0cb1a2ebe1 Prefer local shards for validate action 2011-12-28 08:54:55 -07:00
Lee Hinman be6e18cb36 Add query validation feature 2011-12-27 13:51:59 -07:00
Shay Banon f79cf4149f remove unused code 2011-12-27 20:36:57 +02:00
Shay Banon 5049f60b6c Set an index / indices to read only, or make the cluster read only, closes #1573. 2011-12-27 20:35:07 +02:00
bbgordonn b41166a78a RestIndicesExistsAction: include block message in error if ClusterBlockException. 2011-12-27 17:19:03 +02:00
bbgordonn 661d04e9de #1452 closed: block writes or metadata changes if {index,cluster}.read_only is set. 2011-12-27 17:19:03 +02:00
Shay Banon cc3f44473f Search: Support partial fields that can returns partial view of the _source, closes #1570. 2011-12-26 16:49:55 +02:00
Shay Banon 37398c2000 ignore index shard missing failure when refreshing as it might happen 2011-12-26 16:32:30 +02:00
Shay Banon 038d91d134 Java API: ScriptSortBuilder does not pass the lang used, closes #1569. 2011-12-25 18:37:42 +02:00
Shay Banon fb218babe3 add adapter streams that wrap another adapter and delegate all method calls, have handles use them 2011-12-25 17:37:58 +02:00
Shay Banon aa078788f9 Nested objects not deleted on "delete by query", closes #1537. 2011-12-25 13:33:02 +02:00
Shay Banon 0ea58cacfd Query DSL: Add different execution models for terms filter, closes #1568. 2011-12-24 00:29:55 +02:00
Shay Banon 73b74847aa cleanup test 2011-12-22 23:24:12 +02:00
jayson.minard 52e6327467 unit tests for issue 1560, customfiltersscore min and multiply search modes 2011-12-22 23:19:58 +02:00
Shay Banon 3d9e87201e Cluster metadata files destroyed when using blob store gateway causing data loss, closes #1564, 2011-12-22 20:42:37 +02:00
Shay Banon a0fb6f3d92 sync with latest patch of byte buffer directory submitted ot Lucene, seems to pass all Luceen tests 2011-12-22 20:31:32 +02:00
Shay Banon 415ee6425a Allow search to continue when sort field is missing from type mapping, closes #1558. 2011-12-22 14:25:54 +02:00
jayson.minard 61b2562623 Query DSL: custom_filters_score allow score_mode for "min" and "multiply", closes #1560 2011-12-22 14:05:51 +02:00
Shay Banon fe4ba2ad55 Improve multi field mapper with highlighting based on source, closes #1559. 2011-12-22 02:24:36 +02:00
Shay Banon c0053a601b Boolean Type: Consider `F` as false as well when searching on it, closes #1556. 2011-12-21 23:48:16 +02:00
Shay Banon 52743a05fa rename setEncoder to setHighlighterEncoder, its not evident which encoder is refers to 2011-12-21 23:36:16 +02:00
Shay Banon 55d8d0d9c6 Analyze API: Allow to execute it without pre-creating an index, and allow to build custom analyzer (tokenizer + token_filters), closes #1555. 2011-12-21 23:24:55 +02:00
Shay Banon c918a68554 better output 2011-12-21 07:04:49 +02:00
Shay Banon 91b60f1d2f Generate pid file even when running in foreground mode, closes #1553. 2011-12-21 05:28:28 +02:00
Shay Banon ffca91dda0 improve detection of which logging library to use, use slf4j if its the log4j jar file used (does not have setLevel method) 2011-12-21 04:27:28 +02:00
Shay Banon a488424404 Analysis: Add phonetic encodder called `bm` or `beider_morse`, closes #1552. 2011-12-21 03:53:44 +02:00
Shay Banon 2b838b808e add another path trie test for wildcard vs. contant 2011-12-20 17:42:06 +02:00
Shay Banon dd6c076454 simplify and improve scaling/blocking thread pools 2011-12-20 12:03:28 +02:00
Shay Banon 1f250ede50 better support for "embedded" token types (binaries) when parsing 2011-12-19 15:51:05 +02:00
Shay Banon 41b5c3d562 wait for yellow state in test 2011-12-19 13:51:33 +02:00
Shay Banon 33db88232d move to 0.18.7 2011-12-19 11:43:50 +02:00
Shay Banon 0328a300eb move jmeter files under jmeter, no need for jmx 2011-12-18 01:01:12 +02:00
Shay Banon dd87bec6cd optimize checksum computation to make sure we only work on buffers and no on single bytes 2011-12-18 00:59:38 +02:00
Shay Banon a3ca1afed5 Translog: When not sync'ing on each operation, buffer writes, closes #1549. 2011-12-18 00:19:35 +02:00
Shay Banon 010b910333 0.18.5 ignores query string analyzer, closes #1547. 2011-12-16 23:50:11 +02:00
Shay Banon ec04435b06 rename test 2011-12-16 23:36:31 +02:00
Shay Banon 26fc9bcb25 abstract away the fs translog file to an interface 2011-12-16 23:30:31 +02:00
Shay Banon 9c1280f6eb add future support to track current merge 2011-12-16 22:55:00 +02:00
Shay Banon cb4c249a65 Search: When searching against a type with a dfs search type, dfs is ignored, closes #1546. 2011-12-16 19:17:31 +02:00
Shay Banon f74256afcd improve multicast message to have an internal header for node to node discovery 2011-12-16 18:29:10 +02:00
Shay Banon 3ddbc6469a fix spelling 2011-12-16 17:01:02 +02:00
Shay Banon c53f9694d1 add a utility main class that will automatically run it in the foreground without setting a system property 2011-12-16 15:43:15 +02:00
Shay Banon 367a608707 remove jline from distribution to simplify it (no longer painting log levels though...) 2011-12-16 15:36:22 +02:00
Shay Banon 1a26ba7968 improve guessing if upper date range check works or is it a numeric 2011-12-15 22:36:44 +02:00
Shay Banon 92c162d534 optimize field query/filter for numerics to only parse the string representation once 2011-12-15 21:24:28 +02:00
Shay Banon f745b80edb timestamp term match broken in 0.18.5, closes #1543. 2011-12-15 20:49:38 +02:00
Shay Banon 922833cdc4 source not returned when * specified in fields list, closes #1541. 2011-12-14 21:18:14 +02:00
Shay Banon f05fa91cb2 if we loaded source, use it when needing it in other fetch phases like extracting specific fields instead of loading it again 2011-12-14 16:28:29 +02:00
Shay Banon 9ae402dde9 Nested queries: getDocIdSet NullPointerException, closes #1536. 2011-12-14 15:07:36 +02:00
Shay Banon 16c4c8c726 mark hostname as nullable 2011-12-13 19:11:36 +02:00
Nicolas Lalevée 4693b1e875 Add the hostname to the node info 2011-12-13 19:10:31 +02:00
Shay Banon d2c1ec5f25 Query DSL: Allow to default certain settings in query_string / field queries, closes #1540. 2011-12-13 19:02:01 +02:00
Shay Banon 679bd1c877 Query DSL: query_string analyze wildcard option with prefix to automatically do OR'ed wildcard when its broken down into several tokens, closes #1539. 2011-12-13 18:38:30 +02:00
Shay Banon 0cd38f505d Query DSL: Replace index.query.bool.max_clause_count with indices.query.bool.max_clause_count (old one still supported), closes #1538. 2011-12-13 17:47:09 +02:00
Shay Banon 0d195eb368 move unused variable 2011-12-12 20:54:13 +02:00
Shay Banon 346d2fc28c remove unused setting 2011-12-12 20:53:47 +02:00
Shay Banon 5d65b98611 add the version number to the json multicast response 2011-12-12 20:35:17 +02:00
Shay Banon ce999489d5 set the node service on the discovery to get the additional service level attributes (issue #1532) 2011-12-12 20:22:19 +02:00
Shay Banon 775339d78a Allow to configure a shard with no file based data location locking, closes #1535. 2011-12-12 15:04:54 +02:00
Shay Banon b0b379dc88 River: When deleting a river, make sure when its closed that its data is deleted, closes #1534. 2011-12-12 01:09:46 +02:00
Shay Banon de861d6f43 Support Multicast discovery for external clients, closes #1532. 2011-12-11 18:54:07 +02:00
Shay Banon 5258b505eb Multicast: Add discovery.zen.ping.multicast.send_ping setting to disable sending ping requests while still having multicast enabled, closes #1479. 2011-12-11 16:24:12 +02:00
Shay Banon 3a363976ed don't debug log conflict base failure (version conflict / document exists) 2011-12-10 01:38:29 +02:00
Shay Banon e7eed3c182 fix package location of trove extensions 2011-12-10 00:12:42 +02:00
Shay Banon 2b388cff5a better debug logging of where the default mapping is loaded from 2011-12-09 23:50:46 +02:00
Shay Banon 72eb1508c6 no need to check and throw eof in readBoolean, already done in readByte 2011-12-09 10:05:07 +02:00
Shay Banon a71f2eed99 fix test to wait for async indexing to finish 2011-12-09 10:04:11 +02:00
Shay Banon 0412e3e2e6 create NodeEnvironment outside of guice so if it fails, it fails early and does not takes ages with guice trying to create it per injection 2011-12-08 18:08:30 +02:00
Shay Banon e56086cf7b allow to perform operations on a recovering shard using versioning to do conflict detection 2011-12-08 17:41:27 +02:00
Shay Banon 1cd3af9de0 better exception message 2011-12-08 17:40:43 +02:00
Shay Banon 1fd5a48409 wait for yellow status before searching 2011-12-08 16:28:57 +02:00
Shay Banon 76af8425f0 separate writeAllowed check to actual operation compared to optimize/flush/refresh 2011-12-08 14:14:04 +02:00
Shay Banon b7d3f8fc99 use the smaller value possible 2011-12-08 14:10:25 +02:00
Shay Banon 16c2c6b2c3 fix deb to properly copy over sigar 2011-12-08 13:40:09 +02:00
Peter bccf0b193e moving debian package to maven 2011-12-08 13:22:09 +02:00
Shay Banon ba29160562 allow to enabled/disable gc deletes internally 2011-12-08 12:07:55 +02:00
Shay Banon df9f333a27 Default mapping means new types not mapped explicitly, closes #1524. 2011-12-07 23:17:27 +02:00
Shay Banon 5ea6c0bac5 wait for green status in test to make sure shards are allocated 2011-12-07 17:01:57 +02:00
Shay Banon c1b86f5786 upgrade to guava 10.0.1 and fix assembly 2011-12-06 21:09:28 +02:00
Shay Banon 9781d8675d cleanups, remove unused code 2011-12-06 16:40:07 +02:00
Shay Banon c6d5672a17 fix to provided scope from runtime since we need to compile with it 2011-12-06 13:52:40 +02:00
Shay Banon 19d80a7f1b assemblies 2011-12-06 13:41:49 +02:00
Shay Banon 6a71eab51f finalize structure, tests pass 2011-12-06 02:43:17 +02:00
Shay Banon a8fd2d48b8 first cleanup phase, move to single src 2011-12-06 00:59:23 +02:00