Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Mar 2, 2015
  1. @tlrx

    [Native] Use direct mapping call in Kernel32Library

    tlrx authored
    This commit modifies the Kernel32Library to use direct mapping instead of a proxy class when doing native calls on Windows platforms. It also adds the "createSecurityManager" permission to the tests.policy file, and adds unit tests that should have failed when the Java security manager is enabled.
    
    Closes #9802
  2. @clintongormley

    Update search-type.asciidoc

    clintongormley authored
    Changed search_type docs to reflect that the `(dfs_)query_and_fetch` modes are an internal optimization and should not be specified explicitly by the user.
    
    Relates to #9606
  3. @bleskes

    Recovery: synchronize RecoveryState.timer methods

    bleskes authored
    Avoids a minor concurrent race condition causing time() to potentially return a negative value
    
    Closes #9943
  4. @clintongormley
Commits on Mar 1, 2015
  1. @ppf2 @clintongormley

    Update getting-started.asciidoc

    ppf2 authored clintongormley committed
    Closes #9932
  2. @itzg @clintongormley

    Spelling out the sort order options

    itzg authored clintongormley committed
    Closes #9768
  3. @bleskes

    Test: InternalEngineTests.testSegmentsWithMergeFlag should close it's…

    bleskes authored
    … translog
    
    Also improve test suite tearDown to not fail if setUp didn't create engines, translogs etc.
  4. @bleskes
  5. @bleskes
  6. @bleskes
Commits on Feb 28, 2015
  1. @bleskes

    Test: InternalEngineTests - JVM specific paths + retry to clean up tr…

    bleskes authored
    …anslogs on startUp
    
    Files may still be locked
  2. @clintongormley

    REST tests - disable expressions test for now

    clintongormley authored
    Java returns floating point but JSON contains integer
  3. @clintongormley

    REST test: Fixed expressions test

    clintongormley authored
    Perl reads the number as a string, so instead mapped the field as a long
    specifically.
    
    Also, the value returned in JSON is an integer, not a float
  4. @rjernst
  5. @clintongormley

    Update search.asciidoc

    clintongormley authored
    Removed operation threading from the docs. Not supported since v1.2.0
    
    Closes #9917
  6. @clintongormley

    Updated copyright years to include 2015

    clintongormley authored
    Removed ruby, perl, and python docs from 1.x as only needed in master
  7. @cgp @clintongormley

    Update span-multi-term-query.asciidoc

    cgp authored clintongormley committed
    Added comma - there is no "term range" query
    
    Closes #9855
  8. @clintongormley
Commits on Feb 27, 2015
  1. @dadoonet @clintongormley

    [doc] Link mapper-attachment type documentation to its repo

    dadoonet authored clintongormley committed
    As explained in elastic/elasticsearch-mapper-attachments#101, we should have consistent documentation.
    
    The best option is to link the  documentation in elasticsearch guide to the most recent README in the plugin repo.
    
    Closes #9756
  2. @jaymode

    Netty HTTP Transport: Change access modifiers to protected

    jaymode authored
    Previously a few methods and many class members were package-private
    or private and could not be referenced from overriding classes. This changes
    the member variables and a few methods to have protected access, so they
    can be referenced or overridden from a subclass.
  3. @bleskes
  4. @bleskes

    Recovery: unify RecoveryState management to IndexShard and clean up s…

    bleskes authored
    …emantics
    
    We keep track of the current stage of recovery using an instance of RecoveryState which is stored on the relevant IndexShard. At the moment changes to this object are made in many places of the code, which are charged of doing it in the right order, keeping track of timers and many more. Also the changes to shard state are decoupled from the recovery stages which caused #9503.
    
    This PR refactors this and brings all of the changes into IndexShard. It also makes all recovery follow the exact same stages and shortcut some. This is in order to keep things simple and always the same (those shortcuts didn't add anything, we ended doing it all anyway).
    
    Also, all timer management is now folded into RecoveryState and unit tests are added.
    
    This closes #9503 by moving the shard to post recovery only once the recovery is done (before they were decoupled), meaning that master promotion of the target shard to started can not cancel the recovery.
    
    Closes #9902
  5. @mikemccand
  6. @IsaacHaze @clintongormley

    Docs: Update snapshots.asciidoc

    IsaacHaze authored clintongormley committed
    Adds more determiners.
    
    Closes #9673
  7. @rjernst

    Tests: Add back tests.cluster

    rjernst authored
    This setting is used by the release script to run rest tests against
    the version being released.  It used to work only for tests using
    the global cluster.  Now it supercedes both SUITE and TEST scope
    test clusters.
    
    closes #9916
  8. @bleskes

    Engine: close snapshots before recovery counter

    bleskes authored
    When we clean up after recoveries, we currently close the recovery counter first, followed up by the different snapshots. Since the recovery counter may issue a flush (introduced in #9439) , the snapshot references prevent the flush from cleaning up the current translog file. This commit changes the order of the close command.
    
    Note: this is not a problem on master, as we moved the translog delete logic, making it kick in if needed when the ref counter goes to 0.
    
    Closes #9760
  9. @jaymode

    Tests: check node ports availability when using unicast discovery

    jaymode authored
    Some tests failures are seen when a node attempts to use a port that is already bound
    by some other process on the test machine. This commit adds a bind to test port availability
    and iterates over the port range until an available port is found. This reduces the likelihood
    of a test node failing to start up due to the port already being bound.
  10. @rjernst
Commits on Feb 26, 2015
  1. @rjernst
  2. @rjernst

    Mappings: Add enabled flag for _field_names to replace disabling thro…

    rjernst authored
    …ugh index=no
    
    Almost all of our meta fields that allow enabling/disabling have an `enabled`
    setting.  However, _field_names is enabled by default, and disabling
    requires setting `index=no`.  This change adds a flag similar to that
    with other meta fields.
    
    closes #9893
    
    Conflicts:
    	src/main/java/org/elasticsearch/index/mapper/internal/FieldNamesFieldMapper.java
  3. @s1monw
  4. @nknize

    [TEST] Adding 'AwaitsFix' annotation to randomGeoCollection test

    nknize authored
    Random geo shape testing periodically fails on a known issue within Spatial4j core. A simple patch in ES will fix the issue.  For now this random test will be disabled until the patch can be applied.
  5. @mikemccand
  6. @mikemccand
  7. @javanna

    [TEST] resolved a few compiler warnings in ElasticsearchIntegrationTest

    javanna authored
    Mainly simplified buildTestCluster method now that there is no global cluster anymore.
Something went wrong with that request. Please try again.