diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt index 143067d74a1..26eff543068 100644 --- a/lucene/CHANGES.txt +++ b/lucene/CHANGES.txt @@ -25,10 +25,6 @@ New Features * LUCENE-7234: Added InetAddressPoint.nextDown/nextUp to easily generate range queries with excluded bounds. (Adrien Grand) -* LUCENE-7278: Spatial-extras DateRangePrefixTree's Calendar is now configurable, to - e.g. clear the Gregorian Change Date. Also, toString(cal) is now identical to - DateTimeFormatter.ISO_INSTANT. (David Smiley) - * LUCENE-7300: The misc module now has a directory wrapper that uses hard-links if applicable and supported when copying files from another FSDirectory in Directory#copyFrom. (Simon Willnauer) @@ -112,38 +108,6 @@ Bug Fixes * LUCENE-7168: Switch to stable encode for geo3d, remove quantization test leniency, remove dead code (Mike McCandless) -* LUCENE-7187: Block join queries' Weight#extractTerms(...) implementations - should delegate to the wrapped weight. (Martijn van Groningen) - -* LUCENE-7188: remove incorrect sanity check in NRTCachingDirectory.listAll() - that led to IllegalStateException being thrown when nothing was wrong. - (David Smiley, yonik) - -* LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders - match the underlying queries' (lower|upper)Term optionality logic. - (Kaneshanathan Srivisagan, Christine Poerschke) - -* LUCENE-7209: Fixed explanations of FunctionScoreQuery. (Adrien Grand) - -* LUCENE-7232: Fixed InetAddressPoint.newPrefixQuery, which was generating an - incorrect query when the prefix length was not a multiple of 8. (Adrien Grand) - -* LUCENE-7257: Fixed PointValues#size(IndexReader, String), docCount, - minPackedValue and maxPackedValue to skip leaves that do not have points - rather than raising an IllegalStateException. (Adrien Grand) - -* LUCENE-7279: JapaneseTokenizer throws ArrayIndexOutOfBoundsException - on some valid inputs (Mike McCandless) - -* LUCENE-7284: GapSpans needs to implement positionsCost(). (Daniel Bigham, Alan - Woodward) - -* LUCENE-7231: WeightedSpanTermExtractor didn't deal correctly with single-term - phrase queries. (Eva Popenda, Alan Woodward) - -* LUCENE-7293: Don't try to highlight GeoPoint queries (Britta Weber, - Nick Knize, Mike McCandless, Uwe Schindler) - * LUCENE-7301: Multiple doc values updates to the same document within one update batch could be applied in the wrong order resulting in the wrong updated value (Ishan Chattopadhyaya, hossman, Mike McCandless) @@ -156,12 +120,6 @@ Bug Fixes other ranges had more than one clause matching (Ahmet Arslan, hossman, Mike McCandless) -Documentation - -* LUCENE-7223: Improve XXXPoint javadocs to make it clear that you - should separately add StoredField if you want to retrieve these - field values at search time (Greg Huber, Robert Muir, Mike McCandless) - Other * LUCENE-7295: TermAutomatonQuery.hashCode calculates Automaton.toDot().hash, @@ -200,7 +158,52 @@ Build (Uwe Schindler) ======================= Lucene 6.0.1 ======================= -(No Changes) + +New Features + +* LUCENE-7278: Spatial-extras DateRangePrefixTree's Calendar is now configurable, to + e.g. clear the Gregorian Change Date. Also, toString(cal) is now identical to + DateTimeFormatter.ISO_INSTANT. (David Smiley) + +Bug Fixes + +* LUCENE-7187: Block join queries' Weight#extractTerms(...) implementations + should delegate to the wrapped weight. (Martijn van Groningen) + +* LUCENE-7209: Fixed explanations of FunctionScoreQuery. (Adrien Grand) + +* LUCENE-7232: Fixed InetAddressPoint.newPrefixQuery, which was generating an + incorrect query when the prefix length was not a multiple of 8. (Adrien Grand) + +* LUCENE-7279: JapaneseTokenizer throws ArrayIndexOutOfBoundsException + on some valid inputs (Mike McCandless) + +* LUCENE-7188: remove incorrect sanity check in NRTCachingDirectory.listAll() + that led to IllegalStateException being thrown when nothing was wrong. + (David Smiley, yonik) + +* LUCENE-7219: Make queryparser/xml (Point|LegacyNumeric)RangeQuery builders + match the underlying queries' (lower|upper)Term optionality logic. + (Kaneshanathan Srivisagan, Christine Poerschke) + +* LUCENE-7257: Fixed PointValues#size(IndexReader, String), docCount, + minPackedValue and maxPackedValue to skip leaves that do not have points + rather than raising an IllegalStateException. (Adrien Grand) + +* LUCENE-7284: GapSpans needs to implement positionsCost(). (Daniel Bigham, Alan + Woodward) + +* LUCENE-7231: WeightedSpanTermExtractor didn't deal correctly with single-term + phrase queries. (Eva Popenda, Alan Woodward) + +* LUCENE-7293: Don't try to highlight GeoPoint queries (Britta Weber, + Nick Knize, Mike McCandless, Uwe Schindler) + +Documentation + +* LUCENE-7223: Improve XXXPoint javadocs to make it clear that you + should separately add StoredField if you want to retrieve these + field values at search time (Greg Huber, Robert Muir, Mike McCandless) ======================= Lucene 6.0.0 ======================= diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt index 5d1d17c0730..d73c61fd517 100644 --- a/solr/CHANGES.txt +++ b/solr/CHANGES.txt @@ -158,92 +158,29 @@ New Features Bug Fixes ---------------------- -* SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is - hard coded to 256. (Mark Miller, yonik, Gregory Chanan) - * SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. (Mark Miller) -* SOLR-8902: Make sure ReturnFields only returns the requested fields from (fl=) evn when - DocumentTransformers ask for getExtraRequestFields() (ryan) - -* SOLR-8875: SolrCloud Overseer clusterState could unexpectedly be null resulting in NPE. - (Scott Blum via David Smiley) - * SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue. (Jessica Cheng Mallet via shalin) -* SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. (Scott Blum, hoss, - sarowe, Erick Erickson, Mark Miller, shalin) - * SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. (Nicolas Gavalda, Jorge Luis Betancourt Gonzalez via Mark Miller) -* SOLR-8946: bin/post failed to detect stdin usage on Ubuntu; maybe other unixes. (David Smiley) - * SOLR-8662: SchemaManager waits correctly for replicas to be notified of a new change. (sarowe, Noble Paul, Varun Thacker) -* SOLR-9004: Fix "name" field type definition in films example. (Alexandre Rafalovitch via Varun Thacker) - * SOLR-8983: Cleanup clusterstate and replicas for a failed create collection request (Varun Thacker, Anshum Gupta) -* SOLR-8990: Fix top term links from schema browser page to use {!term} parser (hossman) - -* SOLR-8971: Preserve root cause when wrapping exceptions (hossman) - -* SOLR-8992: Restore Schema API GET method functionality removed in 6.0 (noble, Steve Rowe) - * SOLR-9029: fix rare ZkStateReader visibility race during collection state format update (Scott Blum, hossman) -* SOLR-9016: Fix SolrIdentifierValidator to not allow empty identifiers. (Shai Erera) - * SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0. (Bram Van Dam, Uwe Schindler) -* SOLR-9034: Atomic updates failed to work when there were copyField targets that had docValues - enabled. (Karthik Ramachandran, Ishan Chattopadhyaya, yonik) - -* SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested (hossman) - -* SOLR-9059: NPE in SolrClientCache following collection reload (Joel Bernstein, Ryan Yacyshyn) - -* SOLR-8792: ZooKeeper ACL support fixed. (Esther Quansah, Ishan Chattopadhyaya, Steve Rowe) - * SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation (Dennis Gove) -* SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter. - (Scott Blum, Mark Miller, shalin) - -* SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart. - (Lior Sapir, Mark Miller, shalin) - -* SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the - incoming streams, eg. fieldA=fieldB. (Dennis Gove, Stephan Osthold) - -* SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. (Christine Poerschke) - -* SOLR-8970: Change SSLTestConfig to use a keystore file that is included as a resource in the - test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths (hossman) - -* SOLR-9080, SOLR-9085: (6.0 bug) For years <= 1582, date math (round,add,sub) introduced error. Range faceting - on such dates was also affected. With this fixed, this is the first release range faceting works on BC years. - (David Smiley) - -* SOLR-9118: HashQParserPlugin should trim partition keys (Joel Bernstein) - -* SOLR-9117: The first SolrCore is leaked after reload. (Jessica Cheng Mallet via shalin) - -* SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded. - (Jessica Cheng Mallet via shalin) - * SOLR-9128: Fix error handling issues in Streaming classes (Joel Bernstein) -* SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists. - (Khalid Alharbi, Marius Grama via Steve Rowe) - -* SOLR-9134: Fix RestManager.addManagedResource return value. (Christine Poerschke) - * SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD (janhoy) * SOLR-9141: Fix ClassCastException when using the /sql handler count() function with @@ -290,9 +227,6 @@ Optimizations Other Changes ---------------------- -* SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy. - (Jason Gerlowski, Benoit Vanalderweireldt, shalin) - * SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0. (shalin) * SOLR-8866: UpdateLog will now throw an exception if it doesn't know how to serialize a value. @@ -313,11 +247,6 @@ Other Changes * SOLR-8097: Implement builder pattern design for constructing SolrJ clients and also deprecate direct construction of client objects. (Jason Gerlowski, Shawn Heisey, Anshum Gupta) -* SOLR-8967: In SolrCloud mode, under the 'Core Selector' dropdown in the UI the Replication tab won't be displayed - anymore. The Replication tab is only beneficial to users running Solr in master-slave mode. (Varun Thacker) - -* SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint (noble) - * SOLR-9015: Adds SelectStream as a default function in the StreamHandler (Dennis Gove) * SOLR-8929: Add an idea module for solr/server to enable launching start.jar (Scott Blum, Steve Rowe) @@ -328,8 +257,6 @@ Other Changes * SOLR-9047: zkcli should allow alternative locations for log4j configuration (Gregory Chanan) -* SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability (Jeff Field, Mike Drob via janhoy) - * SOLR-9066: Make CountMetric return long instead of double (Kevin Risden) * SOLR-9065, SOLR-9072, SOLR-9132: Migrate some distributed tests to SolrCloudTestCase. (Alan Woodward) @@ -346,11 +273,6 @@ Other Changes * SOLR-9105: Fix a bunch of typos across 103 files (Bartosz KrasiƄski via janhoy) -* SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in SimplePostTool - for Java 9 compatibility. (Uwe Schindler) - -* SOLR-9131: Fix "start solr" text in cluster.vm Velocity template (janhoy) - * SOLR-9159: New cloud based concurrent atomic update test (hossman) * SOLR-9119: several static methods in ValueSourceParser have been made private (hossman) @@ -368,7 +290,100 @@ Other Changes * SOLR-8445: fix line separator in log4j.properties files (Ahmet Arslan via Mikhail Khludnev) ================== 6.0.1 ================== -(No Changes) + +Upgrade Notes +---------------------- + +* If you use historical dates, specifically on or before the year 1582, you should re-index. + +Bug Fixes +---------------------- + +* SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. (Scott Blum, hoss, + sarowe, Erick Erickson, Mark Miller, shalin) + +* SOLR-9016: Fix SolrIdentifierValidator to not allow empty identifiers. (Shai Erera) + +* SOLR-8992: Restore Schema API GET method functionality removed in 6.0 (noble, Steve Rowe) + +* SOLR-9080, SOLR-9085: (6.0 bug) For years <= 1582, date math (round,add,sub) introduced error. Range faceting + on such dates was also affected. With this fixed, this is the first release range faceting works on BC years. + (David Smiley) + +* SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is + hard coded to 256. (Mark Miller, yonik, Gregory Chanan) + +* SOLR-8902: Make sure ReturnFields only returns the requested fields from (fl=) evn when + DocumentTransformers ask for getExtraRequestFields() (ryan) + +* SOLR-8875: SolrCloud Overseer clusterState could unexpectedly be null resulting in NPE. + (Scott Blum via David Smiley) + +* SOLR-8946: bin/post failed to detect stdin usage on Ubuntu; maybe other unixes. (David Smiley) + +* SOLR-9004: Fix "name" field type definition in films example. (Alexandre Rafalovitch via Varun Thacker) + +* SOLR-8990: Fix top term links from schema browser page to use {!term} parser (hossman) + +* SOLR-8971: Preserve root cause when wrapping exceptions (hossman) + +* SOLR-9034: Atomic updates failed to work when there were copyField targets that had docValues + enabled. (Karthik Ramachandran, Ishan Chattopadhyaya, yonik) + +* SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested (hossman) + +* SOLR-9059: NPE in SolrClientCache following collection reload (Joel Bernstein, Ryan Yacyshyn) + +* SOLR-8792: ZooKeeper ACL support fixed. (Esther Quansah, Ishan Chattopadhyaya, Steve Rowe) + +* SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter. + (Scott Blum, Mark Miller, shalin) + +* SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart. + (Lior Sapir, Mark Miller, shalin) + +* SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the + incoming streams, eg. fieldA=fieldB. (Dennis Gove, Stephan Osthold) + +* SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. (Christine Poerschke) + +* SOLR-9118: HashQParserPlugin should trim partition keys (Joel Bernstein) + +* SOLR-9117: The first SolrCore is leaked after reload. (Jessica Cheng Mallet via shalin) + +* SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded. + (Jessica Cheng Mallet via shalin) + +* SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists. + (Khalid Alharbi, Marius Grama via Steve Rowe) + +* SOLR-9134: Fix RestManager.addManagedResource return value. (Christine Poerschke) + +Other Changes +---------------------- +* SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy. + (Jason Gerlowski, Benoit Vanalderweireldt, shalin) + +* SOLR-8967: In SolrCloud mode, under the 'Core Selector' dropdown in the UI the Replication tab won't be displayed + anymore. The Replication tab is only beneficial to users running Solr in master-slave mode. (Varun Thacker) + +* SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint (noble) + +* SOLR-9131: Fix "start solr" text in cluster.vm Velocity template (janhoy) + +* SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability (Jeff Field, Mike Drob via janhoy) + +* SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in SimplePostTool + for Java 9 compatibility. (Uwe Schindler) + +* SOLR-5776,SOLR-9068,SOLR-8970: + - Refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom + to prevent SSL tests from blocking on entropy starved machines. + - SSLTestConfig: Alternate (psuedo random) NullSecureRandom for Constants.SUN_OS. + - SSLTestConfig: Replace NullSecureRandom w/ NotSecurePsuedoRandom. + - Change SSLTestConfig to use a keystore file that is included as a resource in the + test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths. + (hossman) ================== 6.0.0 ==================