Commits on Mar 2, 2015
  1. [Native] Use direct mapping call in Kernel32Library

    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
    tlrx committed Mar 2, 2015
  2. Update search-type.asciidoc

    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
    clintongormley committed Mar 2, 2015
  3. Recovery: synchronize RecoveryState.timer methods

    Avoids a minor concurrent race condition causing time() to potentially return a negative value
    Closes #9943
    bleskes committed Mar 1, 2015
Commits on Mar 1, 2015
  1. Update getting-started.asciidoc

    Closes #9932
    ppf2 committed with clintongormley Mar 1, 2015
  2. Spelling out the sort order options

    Closes #9768
    itzg committed with clintongormley Feb 19, 2015
  3. Test: InternalEngineTests.testSegmentsWithMergeFlag should close it's…

    … translog
    Also improve test suite tearDown to not fail if setUp didn't create engines, translogs etc.
    bleskes committed Mar 1, 2015
Commits on Feb 28, 2015
  1. Test: InternalEngineTests - JVM specific paths + retry to clean up tr…

    …anslogs on startUp
    Files may still be locked
    bleskes committed Feb 28, 2015
  2. REST tests - disable expressions test for now

    Java returns floating point but JSON contains integer
    clintongormley committed Feb 28, 2015
  3. REST test: Fixed expressions test

    Perl reads the number as a string, so instead mapped the field as a long
    Also, the value returned in JSON is an integer, not a float
    clintongormley committed Feb 28, 2015
  4. Update search.asciidoc

    Removed operation threading from the docs. Not supported since v1.2.0
    Closes #9917
    clintongormley committed Feb 28, 2015
  5. Updated copyright years to include 2015

    Removed ruby, perl, and python docs from 1.x as only needed in master
    clintongormley committed Feb 28, 2015
  6. Update span-multi-term-query.asciidoc

    Added comma - there is no "term range" query
    Closes #9855
    cgp committed with clintongormley Feb 24, 2015
Commits on Feb 27, 2015
  1. [doc] Link mapper-attachment type documentation to its repo

    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
    dadoonet committed with clintongormley Feb 19, 2015
  2. Netty HTTP Transport: Change access modifiers to protected

    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.
    jaymode committed Feb 17, 2015
  3. Recovery: unify RecoveryState management to IndexShard and clean up s…

    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
    bleskes committed Feb 23, 2015
  4. Core: we use Lucene bugfix releases now for 1.x, so we don't need Luc…

    …ene snapshot repository
    mikemccand committed with mikemccand Feb 27, 2015
  5. Docs: Update snapshots.asciidoc

    Adds more determiners.
    Closes #9673
    IsaacHaze committed with clintongormley Feb 12, 2015
  6. Tests: Add back tests.cluster

    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
    rjernst committed Feb 27, 2015
  7. Engine: close snapshots before recovery counter

    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
    bleskes committed Feb 19, 2015
  8. Tests: check node ports availability when using unicast discovery

    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.
    jaymode committed Feb 25, 2015
Commits on Feb 26, 2015
  1. Mappings: Add enabled flag for _field_names to replace disabling thro…

    …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
    rjernst committed Feb 26, 2015
  2. [TEST] Adding 'AwaitsFix' annotation to randomGeoCollection test

    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.
    nknize committed Feb 26, 2015
  3. [TEST] resolved a few compiler warnings in ElasticsearchIntegrationTest

    Mainly simplified buildTestCluster method now that there is no global cluster anymore.
    javanna committed with javanna Feb 26, 2015