Commit graph

15 commits

Author SHA1 Message Date
fhajny
eaffcefb7d Update databases/elasticsearch to 2.0.0.
Breaking changes
- Remove option to configure custom config file via CONF_FILE
  or -Des.default.conf

Deprecations
- Deprecate index.analysis.analyzer.default_index in favor
  of index.analysis.analyzer.default.

Enhancements
- Make PerThreadIDAndVersionLookup per-segment
- TransportNodesAction shouldn't hold on to cluster state
- Packaging: change permissions/ownership of config dir
- Release: Fix package repo path to only consist of major version
- Plugin Cloud GCE: Add _gce_ network host setting
- Check "plugin already installed" before jar hell check.
- Plugin script to set proper plugin bin dir attributes
- Plugin script to set proper plugin config dir attributes

Bug fixes
- CRUD: Send response for update request when it timed out
- Engine: Never wrap searcher for internal engine operations
- Fielddata: Add GeoPoint in StreamInput/StreamOutput
- Properly bind ClassSet extensions as singletons
- Streamline top level reader close listeners and forbid
  general usage
- Settings in log config file should not overwrite custom parameters
- Plugin cli tool should not create empty log files
- Mappings: Enforce metadata fields are not passed in documents
- Plugin Cloud AWS: Discovery-ec2 plugin should check discovery.type
- Parse Java system properties in plugin.bat
- PluginManager: Dont leave leftover files on unsuccessful installs
- REST: Restore support for escaped '/' as part of document id
- REST: Add missing REST spec for detect_noop
- REST: Expose nodes operation timeout in REST API
- REST: Ensure XContent is consistent across platforms
- Shadow Replicas: Don't pull translog from shadow engine
- Snapshot restore operations throttle more than specified

Upgrades
- Upgrade Netty to 3.10.5.final

NOT CLASSIFIED
- [DOCS] terminate_after is not experimental anymore
- Remove unused clear(IndexReader) method from IndexFieldData
- changed ben to been
- move render search template methods to cluster admin client
- Docs: Document ES_CLASSPATH removal in breaking changes
- Rewrite native script documentation
- Docs: Update repository docs with new major version structure
- Add a note about shard failure in the api
2015-11-12 15:37:07 +00:00
agc
efd9ad4549 Remove duplicate SHA512 digests that crept in. 2015-11-04 17:41:15 +00:00
agc
d549bff9a5 Add SHA512 digests for distfiles for databases category
Problems found with existing distfiles:
	distfiles/D6.data.ros.gz
	distfiles/cstore0.2.tar.gz
	distfiles/data4.tar.gz
	distfiles/sphinx-2.2.7-release.tar.gz
No changes made to the cstore or mariadb55-client distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:56:09 +00:00
fhajny
ea769cd606 Update databases/elasticsearch to 1.7.3.
Fix the plugin script.

elasticsearch 1.7.3
===================

Enhancements
  Tribe Node:
    TransportNodesAction shouldn't hold on to cluster state

Bug fixes
  Internal:
    - An inactive shard is activated by triggered synced flush
    - Pending operations in the translog prevent shard from being
      marked as inactive
  Mapping:
    - Ensure more specific analyzer is used independent of the mapping order
  REST:
    - Expose nodes operation timeout in REST API
  Snapshot/Restore:
    - Snapshot restore operations throttle more than specified
  Tribe Node:
    - Increment tribe node version on updates

Upgrades
  Network:
    - Upgrade Netty to 3.10.5.final

elasticsearch 1.7.2
===================

Enhancements
  Allocation:
    - Avoid extra reroutes of delayed shards in RoutingService
  Packaging:
    - Shade joda-convert
  Query DSL:
    - Add a check if FieldMappers exists

Bug fixes
  Allocation:
    - Take relocating shard into consideration during awareness allocation
    - Take initializing shards into consideration during awareness allocation
    - Fix messaging about delayed allocation
  Internal:
    - Fix concurrency issue in PrioritizedEsThreadPoolExecutor.
  Nested Docs:
    - Nested query should only use bitset cache for parent filter
  Packaging:
    - Fix upgrade RPM script
  Plugins:
    - Plugin script: Fix ES_HOME with spaces
  Query DSL:
    - Do not track named queries that are null
    - multi_match query applies boosts too many times.
  Recovery:
    - Rethrow exception during recovery finalization even if source is
      not broken
  Snapshot/Restore:
    - Snapshot restore request should accept indices options
  Suggesters:
    - Prevent DirectCandidateGenerator to reuse an unclosed analyzer
2015-10-18 16:02:05 +00:00
fhajny
18ff3771be Update databases/elasticsearch to 1.7.1.
elasticsearch 1.7.1
===================

Deprecations
  Geo:
    Deprecate validate_* and normalize_*

Enhancements
  Logging:
    Add -XX:+PrintGCDateStamps when using GC Logs

Bug fixes
  Aggregations:
    Fix cidr mask conversion issue for 0.0.0.0/0 and add tests
  Core:
    ThreadPools: schedule a timeout check after adding command to queue
  Internal:
    IndicesStore shouldn't try to delete index after deleting a shard
  Plugins:
    Plugin script: Fix ES_HOME with spaces
  Query DSL:
    Fix malformed query generation
    QueryString ignores maxDeterminizedStates when creating a WildcardQuery
    Fix RegexpQueryBuilder#maxDeterminizedStates
  Scripting:
    Consistently name Groovy scripts with the same content
  Search:
    _only_nodes preference parsed incorrectly
    Copy headers from the MLT request before calling the multi-termvectors API
  Settings:
    Add explicit check that we have reached the end of the settings stream
      when parsing settings
    Copy the classloader from the original settings when checking for prompts

elasticsearch 1.7.0
===================

Breaking changes
  Allocation:
    Default delayed allocation timeout to 1m from 0

New features
  Allocation:
    Optional Delayed Allocation on Node leave
  Recovery:
    Add basic recovery prioritization to GatewayAllocator

Enhancements
  Allocation:
    Simplify ShardRouting and centralize move to unassigned
  Cluster:
    Remove scheduled routing
    Reset registeredNextDelaySetting on reroute
    Add Unassigned meta data
  Exceptions:
    Reduce the size of the XContent parsing exception
  Internal:
    Remove reroute with no reassign
    Mark store as corrupted instead of deleting state file on engine failure
  REST:
    Create Snapshot: remove _create from POST path to match PUT
    Add rewrite query parameter to the indices.validate_query API spec
  Search:
    Search preference based on node specification
  Snapshot/Restore:
    Backport to 1.7 - Snapshot info should contain version of elasticsearch
      that created the snapshot
    Add validation of snapshot FileInfo during parsing
  Term Vectors:
    Only load term statistics if required
  Upgrade:
    Upgrade groovy from 2.4.0 to 2.4.4

Bug fixes
  Allocation:
    Shard Started messages should be matched using an exact match
    Reroute after node join is processed
  Core:
    Throw LockObtainFailedException exception when we can't lock
      index directory
    Only clear open search ctx if the index is delete or closed via API
    Workaround deadlock on Codec initialisation
  Discovery:
    ZenDiscovery: #11960 failed to remove eager reroute from node join
  Highlighting:
    Fix exception for plain highlighter and huge terms for Lucene 4.x
  Index APIs:
    Use IndexWriter.hasPendingChanges() to detect if a flush is needed.
  Internal:
    Fix FieldDataTermsFilter.equals.
    Add a null-check for XContentBuilder#field for BigDecimals
  More Like This:
    Fix potentially unpositioned enum
  Packaging:
    Fix endless looping if starting fails
    Create PID_DIR in init.d script
  Percolator:
    Support filtering percolator queries by date using now
    Fail nicely if nested query with inner_hits is used in a percolator query
  Query DSL:
    CommonTermsQuery fix for ignored coordination factor
  Scroll:
    Append the shard top docs in such a way to prevent AOOBE
  Search:
    Free all pending search contexts if index is closed or removed
  Settings:
    Do not prompt for node name twice
  Shadow Replicas:
    Fail engine without marking it as corrupt when recovering on SharedFS
  Snapshot/Restore:
    Add url repository whitelist - backport of #11687 to 1.6 and 1.7
    Improve repository verification failure message
    Aborting snapshot might not abort snapshot of shards in very early
      stages in the snapshot process
    Improve logging of repository verification exceptions.
  Stats:
    Fix wrong reused file bytes in Recovery API reports
    Fix RecoveryState timestamps

Regression
  More Like This:
    Support for deprecated percent_terms_to_match REST parameter

elasticsearch 1.6.1
===================

Breaking changes
  Snapshot/Restore:
    Url repository should respect repo.path for file urls

Enhancements
  Exceptions:
    Reduce the size of the XContent parsing exception
  REST:
    Create Snapshot: remove _create from POST path to match PUT
    Add rewrite query parameter to the indices.validate_query API spec
  Snapshot/Restore:
    Add validation of snapshot FileInfo during parsing
    Add snapshot name validation logic to all snapshot operations
  Term Vectors:
    Only load term statistics if required
  Upgrade:
    Upgrade groovy from 2.4.0 to 2.4.4

Bug fixes
  Core:
    Throw LockObtainFailedException exception when we can't lock
      index directory
    Only clear open search ctx if the index is delete or closed via API
    Workaround deadlock on Codec initialisation
    Consistently add one more maxMerge in ConcurrentMergeSchedulerProvider
  Highlighting:
    Fix exception for plain highlighter and huge terms for Lucene 4.x
  Index APIs:
    Use IndexWriter.hasPendingChanges() to detect if a flush is needed.
  Internal:
    Fix FieldDataTermsFilter.equals.
    Add a null-check for XContentBuilder#field for BigDecimals
    AsyncShardFetch can hang if there are new nodes in cluster state
  Logging:
    Use task's class name if not a TimedPrioritizeRunnable
  More Like This:
    Fix potentially unpositioned enum
  Packaging:
    Fix endless looping if starting fails
    Postrm script should not fail
    Create PID_DIR in init.d script
  Percolator:
    Support filtering percolator queries by date using now
    Fail nicely if nested query with inner_hits is used in a percolator query
  Query DSL:
    CommonTermsQuery fix for ignored coordination factor
    Fix support for _name in some queries
  Scroll:
    Append the shard top docs in such a way to prevent AOOBE
  Search:
    Free all pending search contexts if index is closed or removed
  Settings:
    Do not prompt for node name twice
  Shadow Replicas:
    Return empty CommitID from ShadowEngine#flush
  Snapshot/Restore:
    Add url repository whitelist - backport of #11687 to 1.6 and 1.7
    Improve repository verification failure message
    Aborting snapshot might not abort snapshot of shards in very early
      stages in the snapshot process
    Improve logging of repository verification exceptions.
  Stats:
    Fix wrong reused file bytes in Recovery API reports
    Fix RecoveryState timestamps

Regression
  More Like This:
    Support for deprecated percent_terms_to_match REST parameter
    Add back support for deprectated percent_terms_to_match REST parameter
2015-08-03 11:57:43 +00:00
fhajny
f2ba5c66db Update databases/elasticsearch to 1.6.0
elasticsearch 1.6.0

Breaking changes
- Benchmark api: removed leftovers
- Wildcard field names in highlighting should only return fields that
  can be highlighted
- Remove unsafe options
- Fix FSRepository location configuration

Deprecations
- Deprecate async replication
- Query DSL: deprecate BytesFilterBuilder in favour of WrapperFilterBuilder
- Deprecate async replication
- Deprecate the More-Like-This API in favour of the MLT query
- Deprecate rivers
- Warning in documentation for deprecation of rivers
- Deprecated the thrift and memcached transports
- Deprecate the top_children query
- Plugins: deprecate addQuery methods that are going to be removed in 2.0
- Deprecate Groovy sandbox and related settings
- Deprecate delete-by-query in client/transport/action APIs too
- Deprecate filter option in PhraseSuggester collate

New features
- Add ability to specify a SizeBasedTriggeringPolicy for log configuration
- Bring back numeric_resolution
- API: Add response filtering with filter_path parameter
- Synced flush backport
- Move index sealing terminology to synced flush
- Seal indices for faster recovery
- Add support for fine-grained settings
- Validate API: provide more verbose explanation
- Add ability to prompt for selected settings on startup
- bootstrap.mlockall for Windows (VirtualLock)
- Allow shards on shared filesystems to be recovered on any node
- Add field stats api

For a full changelog see here:

  https://www.elastic.co/downloads/past-releases/elasticsearch-1-6-0

elasticsearch 1.5.2

Security
- Ensure URL expansion only works within the plugins directory

Enhancements
- Only flush for checkindex if we have uncommitted changes
- Update tree_level and precision parameter priorities
- Add merge conflicts to GeoShapeFieldMapper
- pom.xml updates to allow m2e integration to work correctly
- Fix to pom.xml to allow eclipse maven integration using m2e
- Eclipse fixes
- Implement retries for ShadowEngine creation
- Allow rebalancing primary shards on shared filesystems
- Update forbiddenapis to version 1.8

Bug fixes
- Fix _as_string output to only show when format specified
- _default_ mapping should be picked up from index template during
  auto create index
- Correct ShapeBuilder coordinate parser to ignore values in 3rd+ dimension
- Fix hole intersection at tangential coordinate
- Search: FielddataTermsFilter equality is based on hash codes
- Fix possible NPE in InternalClusterService$NotifyTimeout, the future
  field is set from a different thread
- Add missing hashCode method to RecoveryState#File
- Make GeoContext mapping idempotent
- Fixed an equality check in StringFieldMapper.
- Score value is 0 in _explanation with random_score query
- Fix updating templates.
- Analysis: fix ignoring tokenizer settings in SynonymTokenFilterFactory
- ShardTermVectorsService calls docFreq() on unpositioned TermsEnum
- FSTranslog#snapshot() can enter infinite loop

elasticsearch 1.5.1

Deprecations
- Warning in documentation for deprecation of rivers

Enhancements
- Core: also refresh if many deletes in a row use up too much
  version map RAM
- Use static logger name in Engine.java
- service.bat file should explicitly use the Windows find command.
- AbstractBlobContainer.deleteByPrefix() should not list all blobs

Bug fixes
- Core: Lucene merges should run on the target shard during recovery
- Sync translog before closing engine
- Fix validate_* merge policy for GeoPointFieldMapper
- Make sure size=0 works on the inner_hits level.
- Make sure inner hits also work for nested fields defined in object field
- Fix bug where parse error is thrown if a inner filter is used in
  a nested filter/query.
- Fix nested stored field support.
- Bugfix+unittest for unneccesary mapping refreshes caused by unordered
  fielddata settings
- Don't try to send a mapping refresh if there is no master
- Fix _field_names to be disabled on pre 1.3.0 indexes
- Transport: fix racing condition in timeout handling
- Children aggregation: Fix 2 bugs in children agg
- Fix wrong use of currentFieldName outside of a parsing loop
- Avoid NPE during query parsing
- Function score: apply min_score to sub query score if
  no function provided
- Function_score: undo "Remove explanation of query score from functions"
- State: Refactor state format to use incremental state IDs
- Recovery: RecoveryState.File.toXContent reports file length
  as recovered bytes
- Fail shard when index service/mappings fails to instantiate
- Don't reuse source index UUID on restore
- Snapshot/Restore: separate repository registration
- Automatically add "index." prefix to the settings are changed
  on restore...

elasticsearch 1.5.0

Breaking changes
- Aliases: Throw exception if index is null or missing when creating
  an alias
- Benchmark api: removed leftovers
- Resiliency: Throw exception if the JVM will corrupt data
- [ENGINE] Remove full flush / FlushType.NEW_WRITER
- Change behaviour of indices segments api to allow no indices
- Plugins: Don't overwrite plugin configuration when removing/upgrading
  plugins
- [QUERY] Remove lowercase_expanded_terms and locale options
- Recovery: RecoveryState clean up
- Scripting: cleanup ScriptService & friends
- Disable dynamic Groovy scripting by marking Groovy as not sandboxed
- Scripting: Script with _score: remove dependency of DocLookup and scorer

Deprecations
- Deprecate async replication
- Core: deprecate index.fail_on_merge_failure
- Mappings: Deprecate _analyzer and per query analyzers
- Deprecation: MLT Field Query
- Deprecated the thrift and memcached transports
- Core: add deprecation messages for delete-by-query

New features
- New aggregations feature - "PercentageScore" heuristic
  for significant_terms
- significant terms: add scriptable significance heuristic
- Cat API: show open and closed indices in _cat/indices
- Circuit Breakers: Add NoopCircuitBreaker used in NoneCircuitBreakerService
- Shadow replicas on shared filesystems
- MLT Query: Support for artificial documents
- Add time_zone setting for query_string
- Search: add format support for date range filter and queries
- Add min_score parameter to function score query to only match docs
  above this threshold
- Add inner hits to nested and parent/child queries
- Add index.data_path setting
- Term Vectors/MLT Query: support for different analyzers than default
  at the field

For a full changelog see here:

  https://www.elastic.co/downloads/past-releases/elasticsearch-1-5-0
2015-07-07 14:11:59 +00:00
fhajny
0db69ff4d5 Update elasticsearch to 1.4.4
Changes in 1.4.4
================

- Introduce TimedPrioritizedRunnable base class to all commands
  that go into InternalClusterService.updateTasksExecutor
- Ensure that we don't pass negative timeInQueue to writeVLong
- Aggregations: Prevent negative intervals in date_histogram
- Packaging: Add antlr and asm dependencies

Changes in 1.4.3
================

- Disable dynamic Groovy scripting by marking Groovy as not sandboxed.

Aggs:
- Add standard error bounds to extended_stats
- nested agg needs to reset root doc between segments.
- Fix handling of multiple buckets being emitted for the same parent doc
- id in nested aggregation
- In reverse nested aggregation, fix handling of the same child doc id
  being processed multiple times.
- The parent filter of the nested aggregator isn't resolved correctly all
  the time
- post collection the children agg should also invoke that phase on its
  wrapped child aggs.
- Validate the aggregation order on unmapped terms in terms agg.

Allocation:
- Weight deltas must be absolute deltas

Core:
- don't throttle recovery indexing operations
- Fix Store.checkIntegrity() for lucene 3.x index files.
- Don't verify adler32 for lucene 3.x terms dict/terms index.
- Mapping update task back references already closed index shard
- Disable auto gen id optimization
- Verify the index state of concrete indices after alias resolution
- ignore_unavailable shouldn't ignore closed indices
- Terms filter lookup caching should cache values, not filters.

Discovery:
- publishing timeout to log at WARN and indicate pending nodes
- check index uuid when merging incoming cluster state into the local one

Engine:
- back port fix to a potential dead lock when failing engine during
  COMMIT_TRANSLOG flush

Geo:
- Update GeoPolygonFilter to handle polygons crossing the dateline
- GeoPolygonFilter not properly handling dateline and pole crossing
- Removing unnecessary orientation enumerators
- Add optional left/right parameter to GeoJSON
- Feature/Fix for OGC compliant polygons failing with ambiguity
- Correct bounding box logic for GeometryCollection type
- Throw helpful exception for Polygons with holes outside of shell
- GIS envelope validation

Indices API:
- Fix to make GET Index API consistent with docs
- Fix wrong search stats groups

Internal:
- ClusterInfoService should wipe local cache upon unknown exceptions
- Log when upgrade starts and stops
- promptly cleanup updateTask timeout handler
- Avoid unnecessary utf8 conversion when creating ScriptDocValues for a
  string field.

Logging:
- improve logging messages added in
- Better timeout logging on stalled recovery and exception
- add logging around gateway shard allocation

Mapping:
- Throw StrictDynamicMappingException exception
- Include currentFieldName into ObjectMapper errors
- Explicit _timestamp default null is set to now
- Using default=null for _timestamp field creates a index loss on restart
- Reencode transformed result with same xcontent
- serialize doc values settings for _timestamp
- Mapping With a null Default Timestamp Causes NullPointerException on Merge

Nodes Stats:
- Fix open file descriptors count on Windows

Parent/child:
- Fix concurrency issues of the _parent field data.

Percolator:
- Support encoded body as query string param consistently
- Fixed bug when using multi percolate api with routing

Plugins:
- Installation failed when directories are on different file systems
- NPE when plugins dir is inaccessible

Query cache:
- Remove query-cache serialization optimization.
- Queries are never cached when date math expressions are used (including
  exact dates)

Query DSL:
- Expose max_determinized_states in regexp query, filter

Recovery:
- add a timeout to local mapping change check
- flush immediately after a remote recovery finishes (unless there are
  ongoing ones)

REST:
- Add fielddata_fields to the REST spec

Scripting:
- Make script.groovy.sandbox.method_blacklist_patch truly append-only
- Make groovy sandbox method blacklist dynamically additive
- Add explainable script again
- Disallow method pointer expressions in Groovy scripting
- Make _score in groovy scripts comparable

Search:
- Make sure that named filters/ queries defined in a wrapped
  query/filters aren't lost
- Fix paging on strings sorted in ascending order.
- Function score and optional weight : avg score is wrong

Settings:
- Reset TieredMP settings only if the value actually changed
- cluster.routing.allocation.disk.threshold_enabled accepts wrong values

Snapshot status api:
- make sure headers are handed over to inner nodes request

Stats:
- Relax restrictions on filesystem size reporting in DiskUsage

Tribe node:
- remove closed indices from cluster state

Upgrade:
- Change wait_for_completion to default to true
- Fix version check in bytes to upgrade that spans major versions

Windows:
- makes elasticsearch.bat more friendly to automated processes
2015-02-23 12:42:12 +00:00
fhajny
d6fd6dff69 Update elasticsearch to 1.4.2.
Minor enhancements and bugfixes, see release notes for 1.4.1 and 1.4.2:

  http://www.elasticsearch.org/downloads/1-4-1/
  http://www.elasticsearch.org/downloads/1-4-2/
2015-01-21 15:42:50 +00:00
fhajny
2922e972f6 Update elasticsearch to 1.4.0.
Update elasticsearch to 1.4.0.

Changes in 1.3.3:
- More efficient networking
- Fix for possible corruption on shard recovery
- Fix for corruption when upgrading old indices

  Full changelog:
  http://www.elasticsearch.org/downloads/1-3-3/

Changes in 1.3.4:
- Fix for 100+ shards node management

  Full changelog:
  http://www.elasticsearch.org/downloads/1-3-4/

Changes in 1.4.0beta1:
- Better node stability through reduced memory usage.
- Better cluster stability through improved discovery algorithms.
- Better detection of corrupted data through checksums.
- groovy replaces mvel
- cors disabled by default (closes XSS vulnerability)
- New experimental shard-level query cache
- Three new aggregations
- get-index API
- Improvements to document indexing and updating

  Full changelog:
  http://www.elasticsearch.org/downloads/1-4-0-Beta1

Changes in 1.4.0:
- HTTP pipelining
- Lucene upgrade API

  Full changelog:
  http://www.elasticsearch.org/downloads/1-4-0
2014-11-13 10:02:05 +00:00
imil
412997585e Updated elasticsearch to version 1.3.2
Details: http://www.elasticsearch.org/downloads/
2014-08-14 16:48:15 +00:00
fhajny
ebb6f79192 Update elasticsearch to 1.3.1.
bug fixes
- Internal: Support parsing Lucene minor version strings
- Aggregations:
  - The nested aggregator should also resolve and use the parentFilter
    of the closest reverse_nested aggregator.
  - Geo bounds aggregation outputs aggregation name
  - Make _source parsing in top_hits aggregation and search API consistent
  - Tracking scores should be applied properly for top_hits aggregation.
2014-08-01 11:57:48 +00:00
fhajny
9894b0954e Fix patch that was setting plugins path incorrectly. Bump PKGREVISION. 2014-07-29 16:57:23 +00:00
fhajny
3cf72e3a3a Update elasticsearch to 1.3.0.
pkgsrc changes
==============
- Install sigar on supported platforms
- Add SMF support
- Cleanup


Changes in 1.3.0
================

breaking changes
- Allocation: Enable disk-space allocation decider by default
- Analysis: Improvements to StemmerTokenFilter
- Internal:
  - Make transport action name available in TransportAction base class
  - Thread pool rejection status code should be 429
  - Remove unnecessary intermediate interfaces
  - Remove unsafe unaligned memory access - illegal on SPARC
- Mappings: Update mapping on master in async manner
- REST API: Replace error code 503 with 429 when appropriate to tell client
  to back off
- Security: Disable JSONP by default

new features
- Aggregations:
  - Created infrastructure for changing easily the significance terms
    heuristic
  - Added the percentiles_rank aggregation
  - Deferred aggregations prevent combinatorial explosion
  - Added top_hits aggregation
  - Support bounding box aggregation on geo_shape/geo_point data types
- Scripting:
  - Add script engine for Lucene expressions
  - Add Groovy as a scripting language, add groovy sandboxing
  - Allow search templates stored in an index to be retrieved and used
    at search time
  - Allow to run scripts/templates stored in .scripts index
- Mappings: Add transform to document before index
- Suggester: Phrase suggest option to limit suggestions to existing phrases

enhancements
- Resiliency:
  - Resend failed shard messages when receiving a cluster state still
    referring to the failed shards
  - Send shard exists requests if shard exists locally but is not allocated
    to the node
  - Don't attempt to start or fail shard if no master node can be found
  - Improve handling of failed primary replica handling
  - During discovery, verify connect when sending a rejoin cluster request
  - During relocation, process pending mapping update in phase 2
  - Set a default of 5m to recover_after_time when any of the expected*Nodes
    is set
  - Start master/node fault detection pinging immediately during discovery
  - Before deleting shard verify that another node holds an active shard
    instance
  - Ensure index.version.created is consistent
  - Cancel recovery if shard on the target node closes during recovery
    operation
  - Raise proper failure if not fully reading translog entry
  - Wait till node is part of cluster state for join process
  - Have a dedicated join timeout that is higher than ping.timeout for join
  - Before deleting a local unused shard copy, verify we're connected
    to the node it's supposed to be on
  - Use Lucene built-in checksumming
- Indexing:
  - Set default translog flush_threshold_ops to unlimited, to flush by byte
    size by default and not penalize tiny documents
  - Don't acquire dirtyLock on autoid for create
  - Clear versionMap on refresh not flush
  - If versionMap is too large we should trigger refresh
  - Reuse Lucene's TermsEnum for faster _uid/version lookup during indexing
  - Don't use AllTokenStream if no fields were boosted
- Analysis:
  - Improve Hunspell error messages
  - Share numeric date analyzer instances between mappings
  - Added missing pre built analysis components
  - PatternAnalyzer should use PatternTokenFilter instead
  - More resource efficient analysis wrapping usage
  - Added additional Analyzers, Tokenizers, and TokenFilters from Lucene
- Administration & Monitoring:
  - Improve pending API to include current executing class
  - Stats: Expose IndexWriter and versionMap RAM usage
  - Improve indices stats options
  - Improve cluster update settings api
  - Remove field names in stats url
  - Index template API: Unified PUT/POST behaviour in relation to create
    parameter
- Snapshot/Restore:
  - Restore an index without restoring its aliases
  - Add ability to restore partial snapshots
- Aggregations:
  - Extend allowed characters in aggregation name
  - Add from support to top_hits aggregator
  - Moved BucketsAggregator#docCounts field to IntArray
  - GlobalOrdinalsStringTermsAggregator is inefficient for high-cardinality
    fields
  - Remove ordinals execution hint.
  - Delegation of nextReader calls
- Fielddata:
  - Make BytesValues.WithOrdinals more similar to Lucene's SortedSetDocValues
  - Don't expose hashes in Fielddata anymore.
- Allocation:
  - Allow primaries that have never been allocated to be allocated if under
    the low watermark
  - Change high/low watermark defaults for disk based allocation decider
  - Disk-aware allocation decider should allow initial primary allocation
    if under the high watermark
- Mapping:
  - Improve performance for many new fields introduction in mapping
  - Better logic on sending mapping update new type introduction
  - Wait for mapping updates during local recovery
- Scripting:
  - Add a transformer to translate constant BigDecimal to double
  - Add Groovy sandboxing for GString-based method invocation
  - Fix optional default script loading
  - Exposed _uid, _id and _type fields as stored fields (_fields notation)
- Search:
  - Wrap filter only once in ApplyAcceptedDocsFilter
  - Remove Queries#optimizeQuery - already handled in BooleanQuery
  - Speed up exists and missing filters on high-cardinality fields
  - Parent/Child: Support min_children and max_children on has_child
    query/filter
  - Geo: Added caching support to geohash filter
- Highlighting:
  - Make the HighlightQuery class public
  - Highlight fields in request order
  - Plain highlighter does not honor _analyzer
- More Like This Query:
  - Ensure selection of best terms is indeed O(n)
  - creates only one MLT query per field for all queried items
  - Values of a multi-value fields are compared at the same level
  - replaced exclude with include to avoid double ...
  - allow for both like_text and docs/ids to be specified.
- Plugins:
  - Enables plugins to define default logging configuration for their needs.
  - bin/plugin tests for missing plugin name when passing --url
- Build:
  - Check for tabs and nocommits in the code on validate
  - Generate source jars for tests
  - Packaging: Remove java-6 directories from debian init script
  - Startup: Reset locale to C in bin/elasticsearch
  - Windows: Modify command window title (windows)
- REST API:
  - Copy the headers from REST requests to the corresponding
    TransportRequest(s)
  - Ensure 503 responses lead to retry on another node
  - Security: Make JSONP responses optional.
- Internal:
  - Make XContentBuilder implement Releasable
  - Don't close/reopen IndexWriter when changing RAM buffer size
  - Added more utility methods to Settings
  - Cleanup of the transport request/response messages
  - Add local node to cluster state
  - Control whether MapperService docMapper iterator should contain
    DEFAULT_MAPPING
  - Upgrade to Jackson 2.4.1.1
  - Don't replace indices within ActionRequest and check blocks against
    concrete indices
  - Improve Settings#get lookup for camel case support
  - Improve large bytes request handling by detecting content composite
    buffer
  - Call callback on actual mapping processed
  - Remove intern calls on FieldMapper#Names for better performance
  - Clean shard bulk mapping update to only use type name
  - Disable explicit GC by default
  - Make a hybrid directory default using mmapfs/niofs
  - Make sure we don't reuse arrays when sending an error back
  - Wrap RateLimiter rather than copy RateLimitedIndexOutput
  - Upgrade to Lucene 4.9
  - Re-shade MVEL as a dependency
  - Refactored AckedClusterStateUpdateTask & co. to remove code repetitions
    in subclasses
  - Better default size for global index to alias map
  - Suppress Unsafe is an internal proprietary API... compilation warnings
  - use ConcurrentHashMapV8 for lower memory overhead
  - Base64 decode parsing detects more errors
  - Upgrade to netty 3.9.1
  - Added plugins to .gitignore
  - Change the default type of the page recycler to CONCURRENT instead
    of SOFT_CONCURRENT
  - Entirely cut over to TopDocs#merge for merging shard docs in the reduce
    phase
  - Add support for Byte and BytesRef to the XContentBuilder
  - Make Node and Client interfaces Closeable
  - Settings: Throw error when incorrect setting applied
    to auto_expand_replicas
  - TransportClient: Improve logging, fix minor issue
  - Java API: Client intermediate interfaces removal follow-up

bug fixes
- Resiliency:
  - Increment Store refcount on RecoveryTarget
  - Improve handling of failed primary replica handling
  - Do not ignore ConnectTransportException for shard replication operations
  - Recovering replicas might get stuck in initializing state
  - During recovery, only send mapping updates to master if needed
  - If the node initialisation fails, make sure the node environment
    is closed correctly
  - Handle ConnectionTransportException during a Master/Node fault detection
    ping during discovery
  - Recovery from local gateway should re-introduce new mappings
  - Also send Refresh and Flush actions to relocation targets
  - Honor time delay when retrying recoveries
- Aggregations:
  - Histogram Aggregation key bug
  - Fix JSON response for significant terms
  - Fix reducing of range aggregations.
  - Fix cardinality aggregation when doc values field is empty
  - ReverseNestedAggregator does not compute parent documents correctly
  - ClassCastException when sibling aggregations have the same name
  - date_histogram aggregation breaks on date fields with multiple formats
  - DateHistogramBuilder uses wrong data type for pre_offset and post_offset
- Administration & Monitoring:
  - Admin: Recovery API should also report ongoing relocation recoveries
  - Cat API: Fix NullPointerException in recovery API
  - Index Templates API: GET templates doesn't honor
    the flat_settings parameter.
  - Snapshot/Restore: Allow deleting of interrupted snapshot
- Indexing:
  - Translog: Better support for partial buffer reads/writes in translog
    infrastructure
  - Force refresh when versionMap is using too much RAM
  - Lower the translog flush triggers to workaround
  - Clear versionMap on refresh not flush
  - DocumentMissingException is uncaught if thrown during retry
    of update request
  - Geo: Valid polygon crossing dateline fails to parse
- Search:
  - The query_string cache should returned cloned Query instances.
  - Replace empty bool queries with match_all to prevent NullPointerException
  - Match query with operator and, cutoff_frequency and stacked tokens
  - Search template not replacing parameter after initial failure
    in parameter substitution
  - Nested: queries/filters/aggregations expect FixedBitSets, yet it isn't
    the case with NoneFilterCache
- Query DSL:
  - Fix MatchQueryParser not parsing fuzzy_transpositions
  - Function score without function throws NPE
  - Improved explanation for match_phrase_prefix
- Mapping:
  - MapperParsingException when create default mapping with 'include_in_all'
    nested
  - Fix possibility of losing meta configuration on field mapping update
  - Allow _version to use disk as a doc values format.
- Analysis:
  - stem_exclusion as array not working in language analyzers
  - Default analyzer includes stopwords
- Bulk API:
  - Fix return of wrong request type on failed updates
  - Bulk request which try and fail to create multiple indices may
    never return
  - BulkProcessor does not call afterBulk when bulk throws
    eg NoNodeAvailableException
- Percolator:
  - Fix memory leak when percolating with nested documents
  - Fix handling of nested documents
  - Allow significant terms and geo hash grid aggregations in the percolator
- Plugins:
  - bin/plugin removes itself
  - Removing plugin does not fail when plugin dir is read only
  - Fix github download link when using specific version
- Java API:
  - Fix source excludes setting if no includes were provided
  - BulkRequest#add(Iterable) to support UpdateRequests
- Internal:
  - Fix possible NPE during shutdown for requests using timeouts
  - Prevent NPE if engine is closed while version map is checked
  - Fixes Logger class for BackgroundIndexer
  - Check for index blocks against concrete indices on master operations
  - IndexingMemoryController should only update buffer settings of fully
    recovered shards
  - Fix possible race condition in checksum name generator
  - Lucene: Use XNativeFSLockFactory instead of the buggy
    Lucene 4.8.1 version
  - Disable circuit breaking for BigArrays
  - Guava doesn't explicitly remove entries when clearing the entire cache
  - Filter cache size limit not honored for 32GB or over
  - Threadpool Info: Allow to serialize negative thread pool sizes
  - Core: The ignore_unavailable option should also ignore indices
    that are closed
  - Remove indicesLifecycle.Listener from IndexingMemoryController
  - Store: delete unallocated shards under a cluster state task
  - Routing: Restore shard routing
  - Scripting: Wrap groovy script exceptions in a serializable
    Exception object

Changes in 1.2.3
================

bug fixes
- Indexing: DocumentMissingException is uncaught if thrown during retry
  of update request
- Internal:
  - Remove unsafe unaligned memory access - illegal on SPARC
  - Allow to serialize negative thread pool sizes
- Plugin Manager: Properly quote $JAVA in bin/plugin
- Plugins: bin/plugin removes itself
- Query DSL: Function score without function throws NPE

Changes in 1.2.2
================

enhancements
- Internal:
  - Make sure we don't reuse arrays when sending an error back
  - Better default size for global index -> alias map

bug fixes
- Aggregations:
  - Fix reducing of range aggregations.
  - Fix cardinality aggregation when doc values field is empty
  - Bulk API: Fix return of wrong request type on failed updates
  - Cat API: Fix NullPointerException in cat-recovery API
  - Core: The ignore_unavailable option should also ignore indices
    that are closed
- Internal:
  - [Translog] Better support for partial buffer reads/writes in
    translog infrastructure
  - [FileSystem] Use XNativeFSLockFactory instead of the buggy
    Lucene 4.8.1 version
- Java API:
  - Fix source excludes setting if no includes were provided
  - BulkRequest#add(Iterable) to support UpdateRequests
  - Mapping: Fix possibility of losing meta configuration on field
    mapping update
  - Mappings: Allow _version to use `disk` as a doc values format.
- Percolator:
  - Fix memory leak when percolating with nested documents
  - Fix handling of nested documents
  - Plugins: Fix github download link when using specific version
  - Query DSL: Improved explanation for match_phrase_prefix
  - Scripts: exposed _uid, _id and _type fields as stored fields
    (_fields notation)
- Search:
  - The query_string cache should returned cloned Query instances.
  - Replace empty bool queries with match_all to prevent
    NullPointerExceptions
  - Match query with operator and, cutoff_frequency and stacked tokens
  - Snapshot/Restore: Allow deleting of interrupted snapshot
  - Test: Fix possible race condition in checksum name generator

regression
- Aggregations: fix JSON response for significant terms

Changes in 1.2.1
================

enhancements
- Networking: Upgrade to Netty 3.9.1
- Cluster: have a dedicated join timeout

bug fixes
- Aggregations: Disable circuit break for aggregations
- Aggregations: The reverse nested  aggregator now computes parent
  documents correctly
- Indexing: Lower translog flush trigger
- Searching: Search template does not correctly replace a parameter after
  an initial failure
- Searching: Fixed issue with nested queries not working when filter cache
  is disabled
- Searching: The filter cache setting is now handled correctly when above
  32 GB in size

regression
- Routing: Restore shard routing
- Mapping: MapperParsingException with include_in_all

Changes in 1.2.0
================

breaking changes
- Java: Use the maven enforcer plugin to work only with java 1.7
- Scripting: Disable dynamic scripting by default
- Configuration: Change default filter cache to 10% and circuit breaker
  to 60% to prevent unwanted OOMs
- Snapshot/Restore API: Added PARTIAL snapshot status
- Gateways: Removed deprecated gateway functionality (in favor
  of snapshot/restore)
- Versioning: Version types EXTERNAL & EXTERNAL_GTE test for
  version equality in read operation & disallow them in the Update API
- Versioning: A Get request with a version set always validates for equality
- Versioning: Calling the Update API using EXTERNAL and EXTERNAL_GTE
  version type throws a validation error
- Aggregations: Changed response structure of percentile aggregations
- Cluster State API: Remove index template filtering
- Nodes Stats API: Add human readable JVM start_time and process
  refresh_interval
- Java API: Unified IndicesOptions constants to explain intentions
- Internal: Removed operation threading from broadcast actions
- Internal: Remove search operation threading option
- Internal: Ordinals now start with zero
- Internal: Make IndexingOperation/Create/Delete classes less mutable
- Internal: Refactored and cleaned up REST infrastructure
- Internal: Remove Releasable in favor of Closeable

new features
- Aggregations: Add reverse_nested aggregation
- Aggregations: Added extended_bounds support for date_/histogram aggs
- Aggregations: Added option for a backgroundFilter in significant_terms agg
- Function score: Support multi values
- Function score: Added field_value_factor function, a shortcut for simple
  script score calculations
- Suggestions: Added support for contexts in the completion suggester
- cat API: Added /_cat/fielddata endpoint to display fielddata usage
- More like this Query API: Support searching for multiple similar documents
  specified by ids
- Doc Values: Added support for binary fields
- Internal: Added FreqTermsEnum which has built-in caching for
  more performance
- Lucene: Added support for uppercase token filter

enhancements
- Indexing: Don't lookup version for auto generated id and create immediately
- Indexing: Throttle incoming indexing when Lucene merges fall behind
- Indexing: Change default numeric precision_step
- Function Score API: Parser should throw exception if both options,
  functions:[] and single, are specified
- Field data: Added a AppendingDeltaPackedLongBuffer-based storage format
  to single value field data
- Field data: Add global ordinals
- Field data: Moved the decision to load p/c fielddata eagerly
  to a better place.
- Aggregations: Add global ordinal based implementations for
  significant_terms aggregation
- Aggregations: Add include/exclude support to global ordinals in terms
  and significant_terms aggregations
- Aggregations: Improve the way sub-aggregations are collected.
- Aggregations: Use collectExistingBucket() if a bucket already exists
- Aggregations: Improve terms aggregation to perform the segment ordinal
  to global ordinal lookup post segment collection
- Aggregations: Use segment ordinals as global ordinals if possible
- Aggregations: Instantiate facets/aggregations during the QUERY phase
- Aggregations: Refactor common code for unmapped aggregators into
  NonCollectingAggregator.
- Aggregations: Fail queries that have two aggregations with the same name
- Throttling: Change default recovery throttling to 50MB / sec
- More Like This API: Fix behavior on default boost factor for More
  Like This.
- More Like This API: Added the ability to include the queried document
  for More Like This API.
- Index Settings API: Allow to change concurrent merge scheduling
  setting dynamically
- Translog: Use unlimited flush_threshold_ops for translog to prefer
  size based flushing
- Translog: Fix visibility in buffered translog
- Java API: Made it mandatory to specify IndicesOptions when calling
  MetaData#concreteIndices
- Java API: Unified MetaData#concreteIndices methods into a single method
  that accepts indices (or aliases) and indices options
- Cluster state: Added new ClusterStateStatus to indicate cluster
  state life cycles
- Cluster state: Unify cluster state update on mapping change
- Cluster state: When sending shard start/failed message due to a cluster
  state change, use the master indicated in the new state rather than current
- Parent/Child: Make use of global ordinals in parent/child queries
- Parent/Child: Fix Parent/Child assertions for rewrite reader
- Discovery: Unicast discovery enhancement
- Discovery: MulticastChannel returned wrong channel in shared mode
- Mapping API: Allow to parse lat/lon geo points as strings and coerce them
- Mapping API: Support empty properties array in mappings
- Mapping API: Norms disabling on existing fields
- Scripting: Log script change/add and removal at INFO level
- Scroll Search API: Improve scroll search performance by using Lucene's
  IndexSearcher#searchAfter(...)
- REST Clear Scroll API: Return missing (404) if a scroll_id is cleared
  that no longer exists
- Index Status API: deprecate index status
- Replication: Fail replica shards locally upon failures
- Configuration: Remove spaces from commented config lines in
  elasticsearch.yml and logging.yml
- Circuit breaker: Include name of the field that caused a circuit break
  in the log and exception message
- Networking: Use loopback when localhost is not resolved
- Settings: Add getAsRatio to Settings class, allow DiskThresholdDecider
  to take percentages
- Query internals: Enforce query instance checking before it is wrapped
  as a filter
- Query API: Throw exception if an additional field was placed inside
  the query body
- Highlighting API: Java API does not have a way to set global highlighting
  settings
- Validate Query API: Query validation did not detect extra JSON properties
  after the query property
- Bulk API: Added BulkProcessor.flush() method
- Delete by Query API: Capture and set start time in Delete By Query operations
- cat API: Add configured thread pool sizes to _cat/thread_pool
- Plugins: Allow to check for Lucene version
- Format: Support CBOR data format
- Nodes stats API: Add suggest stats
- cat API: _cat/recovery endpoint now also shows relocations
- Circuit breaker: Track the number of times the CircuitBreaker has
  been tripped
- Tribe node: Index level blocks, index conflict settings
- Startup: Add possbility to display full stack trace of exception
- Dependencies: Use T-digest as a dependency and remove built-in code
- Dependencies: Upgrade to Guava 17
- Dependencies: Upgrade to Lucene 4.8.0
- Dependencies: Upgrade to Lucene 4.7.2
- Dependencies: Upgrade to Lucene 4.7.1
- Dependencies: Upgrade to mvel 2.2.0.Final
- Dependencies: Update forbidden-apis to 1.5.1 and remove the relaxed
  failOnMissingClasses setting, fix typo
- Dependencies: Update to forbidden-apis 1.4.1
- Dependencies: Update JNA to 4.1.0, properly warn on error, hint
  at noexec mount
- Dependencies: Update shade-plugin to 2.3
- Release: Release should fail if test are annotated with @AwaitsFix
- Release: Check for no open issues before build release
- Internal: Remove SoftReferences from StreamInput/StreamOutput
- Internal: RecoveryID in IndicesClusterStateService should not be
  a per JVM but per Node
- Internal: Forbid Math.abs(int/long).
- Internal: Limit the number of bytes that can be allocated
  to process requests.
- Internal: Improved bloom filter hashing
- Internal: Ensure IndexEngine.close() is called under lock in the case
  of an engine failure
- Internal: Make StreamOutput.writePrimitive*() and
  StreamInput.readPrimitive*() methods public.
- Internal: LongHash add/key not consistent
- Internal: Added releasable bytes output, which is uses
  in transport / translog
- Internal: Make Releasable extend AutoCloseable.
- Internal: Fail the engine/shard when refresh failed
- Internal: BytesReference.Helper should never materialize a byte[] array.
- Internal: XFilteredQuery defaults to Query First strategy [OPEN]
- Internal: Internally manipulate the terms execution hint as an enum
  instead of a String.
- Lucene: Use non analyzed token stream optimization everywhere
- Lucene: Enable turning on IndexWriter's infoStream
- Lucene: Prevent fsync from creating 0-byte files
- Lucene: Exposed LMSimilarity in Elasticsearch
- Lucene: Remove SerialMergeScheduler
- Lucene: Include thread name when logging IndexWriter's infoStream messages
- Lucene: Fix Lucene's getFiniteStrings() to not consume Java stack
- Transport API: Raise node disconnected exception even if the transport
  is stopped
- Cleanup: Some minor cleanups from findbugs report
- Cleanup: Fix code typo in FieldSortBuilder.java
- Cleanup: Cleaning up FileSystemUtils class
- Cleanup: REST layer refactoring phase 2 + recycling in HTTP layer
- Cleanup: Aggregation cleanup
- Cleanup: Aggregations cleanup
- Cleanup: StringBuilder should be used in place of StringBuffer
- Cleanup: Variable renamings to reduce unnecessary variable naming diversity
- Cleanup: Remove unused dump infra
- Cleanup: Field data diet

bug fixes
- Mapping API: stem_exclusion as array not working in language analyzers
- Mapping API: Remove RootMapper.validate and validate the routing
  key up-front
- Mapping API: Check if root mapping is actually valid
- Mapping API: geo_point doesn't allow null values as of 1.1.0
- Mapping API: Fix mapping creation on bulk request
- Mapping API: Fix include_in_all for multi fields
- Mapping API: GeoPointFieldMapper did not merge GeoPoint specific properties
- Mapping API: Throw error when updating binary field mapping to be stored
- Mapping API: Fix dynamic_type in dynamic_template
- Query API: Search might not return on thread pool rejection
- Query API: limit filter returns wrong results if deleted document
  are present
- Query API (internal): Don't report terms as live if all it's docs are
  filtered out
- Query API: Executing match_query to search only for an integer could
  result in a NullPointerException
- Query API: Lots of warn logs related to FreeContext due to not
  deserializing the full message
- Query API: Allow sorting on nested sub generated field
- Query API: optimize_bbox for geo_distance filters could cause
  missing results
- Query API: Range/Term query/filter on dates fail to handle numbers
  properly
- Query API: Parse has_child query/filter after child type has been parsed
- Query API: TemplateQueryParser swallowed additional parameters
- Query API: match_phrase_prefix broken in case of single term queries
- Search Template API: Made template endpoint compatible with search endpoint
- Search Template API: search_template does not support ?source=
- Validate Query API: Validate query ignores type filter
- Validate Query API: Validate query ignores alias filters
- Validate Query API: Validate query without a body throws an NPE
- More Like This API: Take size and from in request into account
- Suggest API: tie-break suggestions by term in phrase suggester
- Suggest API: Fix various context suggester issues
- Suggest API: Require precision in mapping for context suggester
  geo locations
- Suggest API: Renamed category type to "category" instead of "field"
  in context suggester
- Delete by Query API: Disabled parent/child queries in the delete
  by query api
- Analyze API: Default analyzer includes stopwords
- cat API: _cat/allocation return values are not consistent for clients nodes
- Scroll API: Reduce phase fails if shard failures occur
- Snapshot/Restore API: Unregistering snapshot repositories causes
  thread leaks
- Snapshot/Restore API: Fix hanging aborted snapshot during shutdown
- Snapshot/Restore API: Fix for hanging aborted snapshot during node shutdown
- Snapshot/Restore API: Snapshot Status failing without repository
- Snapshot/Restore API: Add an ability to snapshot relocating primary shards
- Snapshot/Restore API: Switch to shared thread pool for all snapshot
  repositories
- Field data: Fix setting of readerGen in BytesRefOrdValComparator
  on nested documents
- Field data: Provide meaningful error message if field has no fielddata type
- Field data: Add a dedicated field data type for the _index field mapper
- Field data: Remove ScriptDocValues.EMPTY
- Field data: Eager fielddata loading not working
- Field data: Global ordinals cause ClassCastExceptions if used with
  a bounded fielddata cache
- Search Scroll API: Throw better error if invalid scroll id is used
- Search Scroll API: Missing scroll ID no longer returns exception
- Clear Scroll API: Clear scroll should accept scroll_id in body
- Percolation API: Percolator doesn't reduce CircuitBreaker stats
  in every case.
- Percolation API: The percolator needs to take deleted percolator
  documents into account.
- Percolation API: Propagate percolate mapping changes to cluster state
- Percolation API: Fix assertion in percolation with nested docs
- Aggregations: Parsing is now more strict
- Aggregations: DateHistogram.Bucket should return the date key in UTC
- Aggregations: A nested nested aggregation falls outside of its parent
  nested aggregation bounds
- Aggregations: Add shard_min_doc_count parameter to terms aggregation
- Aggregations: Add shard_min_doc_count parameter for significant terms
  similar to shard_size
- Aggregations: Lower the initial sizing of sub aggregations
- Aggregations: Remove abstraction in the percentiles aggregation.
- Allocation: Failed shards could be re-assigned to the same nodes
  if multiple replicas failed at once
- Allocation: Fix format string for DiskThresholdDecider reroute explanation
- cat API: ElasticsearchIllegalStateException when invoking
  /_cat/plugin endpoint
- cat API: Node version sometimes empty in _cat/nodes endpoint
- Transport: Fixed NPE when initializing an accepted socket in NettyTransport.
- Transport: A master node operation can timeout in a rare race condition
  when a master has a connection issue which is quickly restored
- Recovery: Do not start a recovery process if the primary shard is currently
  allocated on a node which is not part of the cluster state
- Recovery API: Percent bytes recovered greater than 100%
- REST Recovery API: Empty HTTP body returned from _recovery API on empty
  cluster
- Throttling: Store IO throttling throttles far more than asked
- Merging: Ensure pending merges are updated on segment flushes
- Time-to-live: TTL Purge Thread might bring back already deleted index
- Tribe node: Fix possible NullPointerException if index doesn't exist
- Cluster State: Added the cluster name as its identifier
- Function score: Fixing questionable PNRG behavior in random score
- Discovery: Count latch down if sendsPing throws exception
- Bulk API: Ensure that specific failures do not affect whole request
- Search API: Search might not return on thread pool rejectio
- Cluster State: Added tighter check for cluster state change on master
  node operations
- Build: Mustache dependency not shaded
- Internal: Restore read/write visibility in PlainShardsIterator.
- Internal: Fix bug in PropertyPlaceholder and add unit tests
- Internal: MetaData#concreteIndices now throws exception with a single
  index argument if allowNoIndices == false
- Internal: Closing an IndexReader on an already relocated / closed shard
  can cause memory leaks
- Internal: Make sure successful operations are correct if second search
  phase is fast
- Internal: Aggregations could keep pages in case of errors
- Internal: Fixed possible NullPointerException in PagedBytesReference
  by taking stream position into account
- Internal: Replace InternalSearchResponse#EMPTY
  with InternalSearchResponse#empty()
- Internal: JsonXContentGenerator#writeRawField produced invalid JSON
  if raw field was first field in the json object
- Internal: IndexShardRoutingTable might barf due to an overflow if it
  has handled lots of searches
- Internal: Searcher might not be closed if store handle could
  not be obtained
- Cleanup: Fix some warnings reported by findbugs

regression
- Merging: Switch back to ConcurrentMergeScheduler as the default
- Versioning: Indexing a document fails when setting version=0 &
  version_type=external

Changes in 1.1.2
================

enhancements
- Dependencies: Upgrade to mvel 2.2.0.Final, supporting java 8

bug fixes
- Percolation API: Fix assertion in percolation with nested docs
- Percolation API: Fix assertion in percolation with nested docs
- Percolation API: The percolator needs to take deleted percolator
  documents into account.
- Query API: limit filter returns wrong results if deleted document
  are present
- Query API: Executing match_query to search only for an integer could
  result in a NullPointerException
- Query API: Allow sorting on nested sub generated field
- Query API: Search might not return on thread pool rejection
- Query API: optimize_bbox for geo_distance filters could cause
  missing results
- Query API: Range/Term query/filter on dates fail to handle numbers properly
- Query API: TemplateQueryParser swallowed additional parameters
- Query API: Parse has_child query/filter after child type has been parsed
- Validate Query API: Validate query ignores type filter
- Validate Query API: Validate query ignores alias filters
- Validate Query API: Validate query without a body throws an NPE
- Snapshot/Restore API: Fix for hanging aborted snapshot during node shutdown
- Snapshot/Restore API: Fix for hanging aborted snapshot during node shutdown
- Snapshot/Restore API: Fix hanging aborted snapshot during shutdown
- Aggregations: Fail queries that have two aggregations with the same name
- Mapping API: stem_exclusion as array not working in language analyzers
- Mapping API: Remove RootMapper.validate and validate the routing
  key up-front
- Build: Mustache dependency not shaded
- Transport: Fixed NPE when initializing an accepted socket in NettyTransport.
- Internal: Restore read/write visibility in PlainShardsIterator.
- Internal: Fix bug in PropertyPlaceholder and add unit tests
- Field data: Fix setting of readerGen in BytesRefOrdValComparator
  on nested documents
- Field data: Provide meaningful error message if field has no fielddata type
- Analyze API: Default analyzer includes stopwords
- cat API: _cat/allocation return values are not consistent for clients nodes
- Delete by Query API: Disabled parent/child queries in the delete
  by query api
- Search API: Search might not return on thread pool rejection

Changes in 1.1.1
================

enhancements
- Upgrade to Lucene 4.7.2
- Geo Point Mapping: Allow to parse lat/lon as strings and coerce them
- Test cluster: Moved wipe* methods, randomIndexTemplate &
  ensureEstimatedStats to TestCluster

bug fixes
- Mapping API: Fix include_in_all for multi field
- Mapping API: Throw error when updating binary field mapping to be stored
- Mapping API: geo_point doesn't allow null values as of 1.1.0
- Mapping API: Ensure mapping is propagated to master at all times, even
  if index creation failed
- Mapping API: Ensure that TTL cleanup thread does not accidentally create
  indices again
- Mapping API: Propagate percolate mapping changes to cluster state
- Snapshot/Restore API: Snapshot status failing without repository
- Snapshot/Restore API: SnapshotMetaData.fromXContent does not match
  toXContent, but throws an Exception
- Internal: Ensure pending merges are updated on segment flushes
- Internal: Replace InternalSearchResponse#EMPTY with
  InternalSearchResponse#empty() to prevent out-of-scope modification
  of that instance
- Internal: Return to use ConcurrentMergeScheduler
- Internal: Closing an IndexReader on an already relocated / closed shard
  could cause memory leaks
- cat API: _cat plugin endpoint throws an exception
- Allocation: Fix format string for DiskThresholdDecider reroute explanation
- Allocation: Failed shards could be re-assigned to the same nodes if
  multiple replicas failed at once
- Aggregations: A nested nested aggregation falls outside of its parent
  nested aggregation bounds
- Field data: Percolator doesn't reduce CircuitBreaker stats in every case
- Field data: Fixed eager fielddata loading
- Bulk API: Ensure that specific failures do not affect whole request
- Search API: Prevent ArrayIndexOutOfBoundsSelection on counter which selects
  a random shard in case of a lot of searches
- Search Template API: endpoint now supports source parameter
- REST Scroll API: Clear scroll should accept scroll_id in body
- REST Scroll API: Throw useful error when invalid scroll_id is specified
- Search stats: Make sure successful operations are counted correct if
  second search phase is fast
- Scripting: ScriptDocValues.EMPTY doesn't implement getValue, resulting
  in different behaviour if no document in a segment had a value
- Cluster State: Clusterstate misses the cluster name as it's identifier
- Tribe node: Fixing errors on start up
- Index Template API: Fixed issue with dynamic mapping in Elasticsearch
2014-07-27 16:27:15 +00:00
imil
3684ea2e6d Default fd limit is too low for ElasticSearch, trick taken from mail/dovecot 2014-04-25 08:47:51 +00:00
imil
8aa69315b3 Initial import of elasticsearch, version 1.1.0, into the NetBSD Packages
Collection.

Elasticsearch is a distributed RESTful search engine built for the cloud.
Features include:

  * Distributed and Highly Available Search Engine.
  * Multi Tenant with Multi Types.
  * Various set of APIs
  * Document oriented
  * Reliable, Asynchronous Write Behind for long term persistency.
  * (Near) Real Time Search.
  * Built on top of Lucene
  * Per operation consistency
  * Open Source under Apache 2 License.
2014-04-16 17:22:14 +00:00