https://github.com/elastic/elasticsearch

sort by:
Revision Author Date Message Commit Date
5c38d60 Included only runtime dependencies when copying This makes sure, that no test dependencies are placed in the distribution 06 August 2013, 13:14:21 UTC
073c82d release 0.90.3 06 August 2013, 12:28:39 UTC
df90723 Maxing out retries on conflict in bulk update cause null pointer exceptions Also: Bulk update one less retry then requested Document for retries on conflict says it default to 1 (but default is 0) TransportShardReplicationOperationAction methods now catches Throwables instead of exceptions Added a little extra check to UpdateTests.concurrentUpdateWithRetryOnConflict Closes #3447 & #3448 06 August 2013, 12:01:54 UTC
548bd6e Use assertHitCount 06 August 2013, 10:47:44 UTC
8bde4c2 Added missing metadata fields to upserted documents (parent, routing, ttl, timestamp, version and versionType) Closes #3444 06 August 2013, 10:23:49 UTC
f21d320 Explicitly invoke refresh, this might have failed as part of type removal from the _percolator index. 06 August 2013, 07:56:13 UTC
46bd232 Catch RejectedExecutionException in outer ping request 05 August 2013, 21:34:55 UTC
b266b76 Use domain specific assertions for shard failures across tests 05 August 2013, 15:53:39 UTC
36ca160 Use busy sleeps in NoMasterNodeTests The busy sleep is less prone to slow tests / machines while still fails if the actual condition isn't met. 05 August 2013, 15:12:41 UTC
2e09bb5 Add better assertion reporting if nodes are not present in the ClusterState 05 August 2013, 15:12:41 UTC
715406f the ttl purger might have already deleted the documents. 05 August 2013, 12:22:17 UTC
19540ae Streamline Search / Broadcast (count, suggest, refresh, ...) APIs header closes #3441 05 August 2013, 10:58:04 UTC
cb2a2f9 Fix occasionally hanging test moving away from timeouts. Fixes EsExecutorTests to use latches and a busy wait util from ElasticsearchTestCase. This commit also adds some minor randomization to the test. 05 August 2013, 09:54:47 UTC
6c99a18 Added busy waiting util and add suite timeout. Some rare tests require to busy-wait a short time until a given condition occurs for instance until a threadpool scaled down the number of threads. This commit adds a util that waits a give time until a condition is met, in contrast to Thread.sleep this method waits increases the wait time by doubleling the waiting time iterativly by doubeling it to prevent fast tests to always wait a given sleep interval. This commit also adds a suite timeout to fail a test if the test times out. The test infrastructure will provide thread stack traces if the timeout kicks in. The default timeout is set to 1h. 05 August 2013, 09:54:32 UTC
ce8e5f3 Overwriting pidfile on startup The current implementation does not overwrite, but only prepend the new PID into the pidfile. So if the process is 4 digits long, but the file is already there with a 5 digit number, the file will contain 5 digits after the write. Note: If the pidfile still exists this usually means, there either is already an instance running using this pidfile or the process has not finished correctly. Closes #3425 05 August 2013, 09:40:17 UTC
9f01260 Added index templates REST support for HEAD and proper 404 * Added HEAD support for index templates to find out of they exist * Returning a 404 instead of a 200 if a GET hits on a non-existing index template Closes #3434 05 August 2013, 08:48:57 UTC
23e0bb6 Make (HighlightBuilder|SearchContextHighlight).Field consistent Update HighlightBuilder.Field API, it should allow for the same API as SearchConstextHighlight.Field. In other words, what is possible to setup using DSL in highlighting at the field level is also possible via the Java API. Closes #3435 02 August 2013, 20:22:46 UTC
08c4398 Wait for green status when index is created 02 August 2013, 18:57:27 UTC
37634a4 Don't cache BytesRef in ThreadLocal 02 August 2013, 18:32:18 UTC
30d4ea9 Improving test CompletionSuggestSearch test stability Ensuring that the maximum number of replicas is less than the number of nodes. 02 August 2013, 17:40:39 UTC
2495b97 Added prefix suggestions based on AnalyzingSuggester This commit introduces near realtime suggestions. For more information about its usage refer to github issue #3376 From the implementation point of view, a custom AnalyzingSuggester is used in combination with a custom postingsformat (which is not exposed to the user anywhere for him to use). Closes #3376 02 August 2013, 17:40:30 UTC
83028b4 Added support for named filters in top-level filter Closes #3097 02 August 2013, 15:13:19 UTC
16de7c1 Removed AliasMissingException, get alias api will now just return an empty map. In the rest layer a 404 is returned when map is empty. 02 August 2013, 15:09:31 UTC
b8f2a33 Use assertions that print out shard failures, if there are any 02 August 2013, 14:31:59 UTC
77fc025 mark bool field type as not toknized even though we use keyword analyzer for the bool type, we should mark it as not tokenized in the lucene field type as well, no reason to take it though analysis phase to begin with 02 August 2013, 12:44:40 UTC
12c5e1a Use debug logging rather than info for rejected ping task This exception is thrown on node shutdown and doesn't indicate an critical situation but rather is caught for consistency reasons. 02 August 2013, 12:11:57 UTC
64b5bfe Catch and Log RejectedExecutionException in async ping 02 August 2013, 09:31:36 UTC
ffd420e Search on a shard group while relocation final flip happens might fail single shard read operations should have the same override exception logic as search and broadcast relates to #3427 02 August 2013, 07:57:47 UTC
c81e3af Allow bin/plugin to set -D JVM parameters Currently the bin/plugin command did not allow one to set jvm parameters for startup. Usually this parameters are not needed (no need to configure heap sizes for such a short running process), but one could not set the configuration path. And that one is important for plugins in order find out, where the plugin directory is. This is especially problematic when elasticsearch is installed as debian/rpm package, because the configuration file is not placed in the same directory structure the plugin shell script is put. This pull request allows to call bin/plugin like this bin/plugin -Des.default.config=/etc/elasticsearch/elasticsearch.yml -install mobz/elasticsearch-head As a last small improvement, the PluginManager now outputs the directort the plugin was installed to in order to avoid confusion. Closes #3304 02 August 2013, 07:28:17 UTC
106da6b Search on a shard group while relocation final flip happens might fail make sure relocation shards add their corresponding initializing shard routing when search across initializing shards also, make shardFailures lazy again closes #3427 01 August 2013, 22:22:57 UTC
59ca47e Search on a shard group while relocation final flip happens might fail make sure relocation shards add their corresponding initializing shard routing when search across initializing shards also, make shardFailures lazy again closes #3427 01 August 2013, 22:22:45 UTC
d508ea6 less agreesive timeout to catch it on the pending check 01 August 2013, 17:52:19 UTC
664bdd1 improve test to wait for nodes before getting the local node id 01 August 2013, 17:45:38 UTC
dcfaad4 Search on a shard group while relocation final flip happens might fail At the final stage of a relocation, during the final flip of the states, a search request might hit a node that would then execute it on a shard that has already relocated. For this, we need to execute broadcast and search operations against initializing shards as well, but only as a last resort. The operation will be rejected if not applicable (i.e. IndexShard#searcher() checked for read allowed). Note, this requires careful though about which failures we send back. If we try and initializing shard and it fails, its failure should not override an actual failure of an active shard. Also, removed an atomic integer used in broadcast request and use a similar shard index trick we now have in our search execution. closes #3427 01 August 2013, 16:42:03 UTC
0ec894e Modified test to make failures clearer Added shard failure check when sorting on unmapped field, could be any SearchPhaseExecutionException otherwise (e.g. missing shards) 01 August 2013, 15:09:36 UTC
09d9214 Take fragile test out of the loop UpdateNumberOfReplicasTests#simpleUpdateNumberOfReplicasTests is very fragile due to executing searches based on dated knowledge of the cluster state and calling shards that have been relocating away in the mean time. A fix is on the way. 01 August 2013, 13:40:57 UTC
aab6334 Run refresh before executing non realtime get 01 August 2013, 13:12:57 UTC
9557550 Made use of the static client() method instead of the client field. 01 August 2013, 13:12:47 UTC
37e23fe If no mapping can be found for value field, throw a proper exception. 01 August 2013, 12:08:03 UTC
a55af9a cleamup ShardIter#reset method don't have teh reset method return an instance, as it might confuse usage into thinking it might be a different instance 01 August 2013, 11:24:06 UTC
fafe77c better failure message in test 01 August 2013, 10:42:01 UTC
10011ff Query/Filter Facet should support 64bit counter, not 32 closes #3419 31 July 2013, 20:11:12 UTC
db0a5f0 Reroute eagerly on shard started events We have an optimization where we try to delay reroute after we processed the shard started events to try and combine a few into the same event. With teh queueing of shard started events in places, we don't need to do it, and we can reroute right away, which will actually reduce the amount of cluster state events we send. This will also have a nice side effect of not missing on "waitForRelocatingShards(0)" on cluster health checks since relocations will happen right away. closes #3417 31 July 2013, 14:58:53 UTC
c5aa818 Improved test - checking routing table taken from same (up-to-date) cluster state - added @Slow annotation - forced cluster reroute when needed - changed order of assertions so that if it fails again it's easier to understand why 31 July 2013, 12:29:20 UTC
ca49d42 process deleted index events on a node even if it has no local FS this will not happen now, but in the future, if data nodes will only be in memory (including translog and such), then we need to fire the deleted events 31 July 2013, 12:01:25 UTC
5529a9a Forbid usage of StringReader in favor of FastStringReader. StringReader is synchronized although input streams should always be consumed by a single thread at a time. FastStringReader on the other hand is completely thread unsafe. Closes #3411 31 July 2013, 07:41:38 UTC
c35fd90 don't call the refresh mapping listener callback twice though not harmful, results in an annoying transport service log 30 July 2013, 21:42:12 UTC
39ac448 auto_expand_replicas causing very large amount of cluster state changes when a node joins or leaves the cluster Closes #3399 30 July 2013, 20:21:57 UTC
0d19472 Delete API ack to wait also for actual deletion of shards from disk closes #3413 30 July 2013, 17:00:49 UTC
0aa4a3f removed a left over assert made redundant by last commit 30 July 2013, 15:40:21 UTC
c758971 ElasticsearchAssertions.assertHitCount variants now report shard failure upon fail. Cleaned up a UpdateNumberOfReplicasTests a bit. 30 July 2013, 15:27:29 UTC
02b3730 Use Analyzer.tokenStream(fieldName, text) instead of Analyzer.tokenStream(fieldName, new StringReader(text)). Lucene 4.4 introduced the tokenStream(String fieldName, String text) helper method which nicely reuses the string reader. Whenever analyzing Strings, we should use this method instead of using the Reader method with a (Fast)StringReader. Closes #3409 30 July 2013, 15:19:39 UTC
1593bd4 Improved how aliases are handled in the cluster state. The following changes improved alias creation: * Moved away from ImmutableMap to JCF's UnmodifiableMap. The ImmutableMap always made a copy, whereas the UnmodifiableMap just wraps the target map. * Reducing the number of maps being created during the creation of MetaData and IndexMetadata. * Changed IndexAliasesService's aliases from a copy on write ImmutableMap to ConcurrentMap. Closes #3410 30 July 2013, 15:12:49 UTC
6b46ec5 make sure we wrap a potential failure in sending master state change in a catch 30 July 2013, 14:44:50 UTC
cc9da1f Solved test timing issue and removed meaningless test 30 July 2013, 11:19:03 UTC
f8f892c Dynamic update of gc_delete setting for RobinEngine failed. Closes #3396 30 July 2013, 10:53:43 UTC
3c04f46 warmer test to use 0 replicas they are meaningless in the context of the test, should stabilize it 30 July 2013, 08:08:17 UTC
10e5ba2 completed renaming of MetaDataStateIndexService to MetaDataIndexStateService 29 July 2013, 13:51:59 UTC
c4010cf Renamed MetaDataStateIndexService to MetaDataIndexStateService for consistency 29 July 2013, 13:32:55 UTC
4389469 Updated test to reflect added acknowledgement from all nodes in open/close index api If it's acknowledged all the other nodes already hold the latest cluster state, thus we can search on the closed index and be sure we get an error back 29 July 2013, 13:26:45 UTC
6ab76a5 Added support for acknowledgement from other nodes in open/close index api The open/close index api now waits for an acknowledgement from all the other nodes before returning its response, till the timeout (configurable, default 10 secs) expires. The returned acknowledged flag reflects whether the cluster state change was acknowledged by all the nodes or the timeout expired before. Closes #3400 29 July 2013, 13:26:23 UTC
ca0778e FuzzLikeThis*QueryBuilder and MoreLikeThis*QueryBuilder do not send failOnUnsupportedField if not explicitly specified. Closes #3402 , a better solution to #3374 29 July 2013, 13:04:11 UTC
a3f2807 remove our own version of highlighting boundary scanner the bug that we fixed in it was already pushed to the lucene version 29 July 2013, 11:36:46 UTC
50f2327 cleanup unused classes (not needed with Lucene 4.4) 29 July 2013, 10:58:47 UTC
eb6ac0b cleanup deprecations / warnings 28 July 2013, 23:56:01 UTC
86ceabf cleanup - remove Digest/Hex, only used in test, directly use MD5 there - don't use Closeables and use IOUtils - remove duplicate Classes usage and unused LongsLAB 28 July 2013, 23:30:19 UTC
5daf61b remove unused class 28 July 2013, 23:08:25 UTC
9cd9d56 remove RandomStringGenerator, using random strings from randomized testing 28 July 2013, 23:06:47 UTC
2a2b49f use BigDoubleList on all cases of geo point field data same with other field data implementations, prefer to use the paged list compared to single long array in all cases 28 July 2013, 22:20:56 UTC
6aced7a remove RamUsage and use Lucene one 28 July 2013, 22:02:58 UTC
55ecc65 wait till connection callback have executed on setup 28 July 2013, 20:51:42 UTC
ea1ec00 move char array caching to streams 28 July 2013, 20:44:17 UTC
638c61c don't use guava ordering sorted copy, since it does 2 copies (instead of 1) simply use regular toArray and sort on it (we do need to copy it) 28 July 2013, 18:09:36 UTC
8dfa612 improve test to be more descriptive when it fails 28 July 2013, 17:36:25 UTC
bbe391a improve test the test checks that even though some shards might not be active, search will still work 28 July 2013, 13:27:15 UTC
b9770b5 randomize ports on specific transport and disco tests 28 July 2013, 12:46:29 UTC
29a97a7 fix transport support for versioning when starting the request/response cycle, we should use the lowest version out of the current node version, and the target node version to serialize the request, and put it in the header. this will allow to support both backward and forward comp. in addition, have Version as an injected value to different services, to make different versions more easily testable, compared to using Version#CURRENT 27 July 2013, 20:14:39 UTC
81442ee Don't allow unallocated indexes to be closed. Closes #3313 26 July 2013, 20:04:13 UTC
460da2d enable sys out check + remove unused code 26 July 2013, 16:57:39 UTC
781c514 cleanup signatures file 26 July 2013, 16:33:19 UTC
421a23d Only check if ttl purger has deleted the docs when the delete count in indexing stats has been increased. 26 July 2013, 14:07:09 UTC
a7ea8f7 pass the codec to fix index its not used in Lucene fix index implementation, but just in case, pass it because we can (tm). 26 July 2013, 13:49:06 UTC
225e9a7 Add a "score_mode" parameter to rescoring query. Default value is "total", possible values are: "max", "min", "avg", "multiply" and "total". - "total": the final score of a document is the sum of the original query score with the rescore query score. - "max": only the highest score count. - "min": only the lowest score is kept (if the document doesn't match the rescore query, the original query score is used). - "avg": average of both scores - "multiply": product of both scores Closes #3258 26 July 2013, 10:30:48 UTC
1c01d96 better handling of failures in transport to catch assertions move wrapping the stream into the try block, even though its unlikely they will throw a failure, better be safe... 26 July 2013, 10:28:22 UTC
aebfb2c better handling of failures in transport to catch assertions make sure we also catch assertions (well Throwable) in our transport layer and properly log or callback the exception handler in that case 26 July 2013, 10:01:19 UTC
586a472 Fixed test taht relied on internal document ordering. Lucene might internally tie-break on low level doc-Ids which can change depending on merges etc. and test timings. No test should rely on the actual order if scores are identical. 26 July 2013, 08:37:42 UTC
bba4e7b fix test to use correct store setting 25 July 2013, 18:36:05 UTC
5e559e0 Math is as hard as Concurrency 25 July 2013, 16:38:50 UTC
3fd7576 Added regression tests for #3381 25 July 2013, 16:32:35 UTC
f66850e Fixed hang when submitting mappings and no changes are made Added missing listener call before return Closes #3381 25 July 2013, 14:42:14 UTC
8bbd297 Add facility to index in random order Tests are more reproducible if documents are indexed in random order with random flushes/refreshes etc. in order to catch corner cases where doc Ids are used for tie-breaking and tests rely on a certain order. 25 July 2013, 13:36:07 UTC
4db710c Fix CustomScoreSearchTest that assumed a certain order of doc IDs with equal score 25 July 2013, 11:23:13 UTC
017b389 Generate consistent random settings across nodes IndexGatewayTests rely on that all nodes have the same type of storage to pass consistently. Random configs should be the same for all nodes in the cluster. 25 July 2013, 11:23:13 UTC
af63d2c Expose recursion level for Hunspell token filter. Closes #3369 25 July 2013, 07:21:40 UTC
25ed0ec Fix test that assumed a certain order of doc IDs with equal score If the score is equal in Lucene the order of the result depends on the actual global doc ID such that due to background merges or concurrency these test can return different result set orders. 25 July 2013, 06:16:34 UTC
d6b37f6 Mapping: Allow to update/merge the dynamic flag Allow to update / merge in the dynamic flag on object or the root object mapper, meaning that it can be changed dynamically using the update mapping API. closes #3384 24 July 2013, 20:57:32 UTC
b6fdad5 process internal refresh/update mapping events per index this allows us to only create the index (if needed) for the exact duration it is needed, and not across processing of all the events 24 July 2013, 19:34:52 UTC
83bdefe Add Git build info when we build a distribution closes #3370 24 July 2013, 18:25:19 UTC
9fdaad1 add the reduced pom to git ignore 24 July 2013, 17:14:17 UTC
9742f78 only process an internal refresh mapping once we only need to process a refresh on an index/type tuple once even if there are several pending, optimize to not do it several times 24 July 2013, 17:13:26 UTC
back to top