Tue Jul 7 14:11:59 2015 UTC ()
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


(fhajny)
diff -r1.9 -r1.10 pkgsrc/databases/elasticsearch/Makefile
diff -r1.4 -r1.5 pkgsrc/databases/elasticsearch/PLIST
diff -r1.8 -r1.9 pkgsrc/databases/elasticsearch/distinfo

cvs diff -r1.9 -r1.10 pkgsrc/databases/elasticsearch/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/Makefile 2015/02/23 12:42:12 1.9
+++ pkgsrc/databases/elasticsearch/Makefile 2015/07/07 14:11:59 1.10
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.9 2015/02/23 12:42:12 fhajny Exp $ 1# $NetBSD: Makefile,v 1.10 2015/07/07 14:11:59 fhajny Exp $
2 2
3DISTNAME= elasticsearch-1.4.4 3DISTNAME= elasticsearch-1.6.0
4CATEGORIES= textproc 4CATEGORIES= textproc
5MASTER_SITES= https://download.elasticsearch.org/elasticsearch/elasticsearch/ 5MASTER_SITES= https://download.elasticsearch.org/elasticsearch/elasticsearch/
6 6
7MAINTAINER= imil@NetBSD.org 7MAINTAINER= imil@NetBSD.org
8HOMEPAGE= http://www.elasticsearch.org/ 8HOMEPAGE= http://www.elasticsearch.org/
9COMMENT= Distributed RESTful Search Engine 9COMMENT= Distributed RESTful Search Engine
10LICENSE= apache-2.0 10LICENSE= apache-2.0
11 11
12USE_LANGUAGES= # none 12USE_LANGUAGES= # none
13USE_JAVA= run 13USE_JAVA= run
14USE_JAVA2= yes 14USE_JAVA2= yes
15NO_BUILD= yes 15NO_BUILD= yes
16 16

cvs diff -r1.4 -r1.5 pkgsrc/databases/elasticsearch/PLIST (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/PLIST 2015/02/23 12:42:12 1.4
+++ pkgsrc/databases/elasticsearch/PLIST 2015/07/07 14:11:59 1.5
@@ -1,34 +1,34 @@ @@ -1,34 +1,34 @@
1@comment $NetBSD: PLIST,v 1.4 2015/02/23 12:42:12 fhajny Exp $ 1@comment $NetBSD: PLIST,v 1.5 2015/07/07 14:11:59 fhajny Exp $
2lib/elasticsearch/antlr-runtime-3.5.jar 2lib/elasticsearch/antlr-runtime-3.5.jar
 3lib/elasticsearch/apache-log4j-extras-1.2.17.jar
3lib/elasticsearch/asm-4.1.jar 4lib/elasticsearch/asm-4.1.jar
4lib/elasticsearch/asm-commons-4.1.jar 5lib/elasticsearch/asm-commons-4.1.jar
5lib/elasticsearch/${PKGNAME}.jar 6lib/elasticsearch/${PKGNAME}.jar
6lib/elasticsearch/groovy-all-2.3.2.jar 7lib/elasticsearch/groovy-all-2.4.0.jar
7lib/elasticsearch/jna-4.1.0.jar 8lib/elasticsearch/jna-4.1.0.jar
8lib/elasticsearch/jts-1.13.jar 9lib/elasticsearch/jts-1.13.jar
9lib/elasticsearch/log4j-1.2.17.jar 10lib/elasticsearch/log4j-1.2.17.jar
10lib/elasticsearch/lucene-analyzers-common-4.10.3.jar 11lib/elasticsearch/lucene-analyzers-common-4.10.4.jar
11lib/elasticsearch/lucene-core-4.10.3.jar 12lib/elasticsearch/lucene-core-4.10.4.jar
12lib/elasticsearch/lucene-expressions-4.10.3.jar 13lib/elasticsearch/lucene-expressions-4.10.4.jar
13lib/elasticsearch/lucene-grouping-4.10.3.jar 14lib/elasticsearch/lucene-grouping-4.10.4.jar
14lib/elasticsearch/lucene-highlighter-4.10.3.jar 15lib/elasticsearch/lucene-highlighter-4.10.4.jar
15lib/elasticsearch/lucene-join-4.10.3.jar 16lib/elasticsearch/lucene-join-4.10.4.jar
16lib/elasticsearch/lucene-memory-4.10.3.jar 17lib/elasticsearch/lucene-memory-4.10.4.jar
17lib/elasticsearch/lucene-misc-4.10.3.jar 18lib/elasticsearch/lucene-misc-4.10.4.jar
18lib/elasticsearch/lucene-queries-4.10.3.jar 19lib/elasticsearch/lucene-queries-4.10.4.jar
19lib/elasticsearch/lucene-queryparser-4.10.3.jar 20lib/elasticsearch/lucene-queryparser-4.10.4.jar
20lib/elasticsearch/lucene-sandbox-4.10.3.jar 21lib/elasticsearch/lucene-sandbox-4.10.4.jar
21lib/elasticsearch/lucene-spatial-4.10.3.jar 22lib/elasticsearch/lucene-spatial-4.10.4.jar
22lib/elasticsearch/lucene-suggest-4.10.3.jar 23lib/elasticsearch/lucene-suggest-4.10.4.jar
23${PLIST.sigar}lib/elasticsearch/sigar/${SIGAR_FILE} 24${PLIST.sigar}lib/elasticsearch/sigar/${SIGAR_FILE}
24${PLIST.sigar}lib/elasticsearch/sigar/sigar-1.6.4.jar 25${PLIST.sigar}lib/elasticsearch/sigar/sigar-1.6.4.jar
25lib/elasticsearch/spatial4j-0.4.1.jar 26lib/elasticsearch/spatial4j-0.4.1.jar
26share/doc/elasticsearch/LICENSE.txt 27share/doc/elasticsearch/LICENSE.txt
27share/doc/elasticsearch/NOTICE.txt 28share/doc/elasticsearch/NOTICE.txt
28share/doc/elasticsearch/README.textile 29share/doc/elasticsearch/README.textile
29share/elasticsearch/elasticsearch 30share/elasticsearch/elasticsearch
30share/elasticsearch/elasticsearch.in.sh 31share/elasticsearch/elasticsearch.in.sh
31share/elasticsearch/plugin 32share/elasticsearch/plugin
32share/examples/elasticsearch/elasticsearch.yml 33share/examples/elasticsearch/elasticsearch.yml
33share/examples/elasticsearch/logging.yml 34share/examples/elasticsearch/logging.yml
34@pkgdir lib/elasticsearch/plugins 

cvs diff -r1.8 -r1.9 pkgsrc/databases/elasticsearch/distinfo (expand / switch to unified diff)

--- pkgsrc/databases/elasticsearch/distinfo 2015/02/23 12:42:12 1.8
+++ pkgsrc/databases/elasticsearch/distinfo 2015/07/07 14:11:59 1.9
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.8 2015/02/23 12:42:12 fhajny Exp $ 1$NetBSD: distinfo,v 1.9 2015/07/07 14:11:59 fhajny Exp $
2 2
3SHA1 (elasticsearch-1.4.4.tar.gz) = 963415a9114ecf0b7dd1ae43a316e339534b8f31 3SHA1 (elasticsearch-1.6.0.tar.gz) = cb8522f5d3daf03ef96ed533d027c0e3d494e34b
4RMD160 (elasticsearch-1.4.4.tar.gz) = e12133d7493a903869720c63416ba23c501765de 4RMD160 (elasticsearch-1.6.0.tar.gz) = c243fb8ff45f006b144ee2b83883768708117fec
5Size (elasticsearch-1.4.4.tar.gz) = 27900004 bytes 5Size (elasticsearch-1.6.0.tar.gz) = 28401477 bytes
6SHA1 (patch-config_elasticsearch.yml) = 769fdd62aacdc4743979edbc986e983a5c42a7f8 6SHA1 (patch-config_elasticsearch.yml) = 769fdd62aacdc4743979edbc986e983a5c42a7f8