Commit Graph

32502 Commits

Author SHA1 Message Date
Adrien Grand a939c08dba LUCENE-8932: Move BKDReader's index off-heap when the input is a ByteBufferIndexInput. 2019-10-25 09:02:23 +02:00
Tomas Fernandez Lobbe 3524494025 SOLR-13866: Remove entry from CHANGES.txt
The fix made it in time to 8.3 so it was never released, no need for a CHANGES entry
2019-10-24 11:50:21 -07:00
Munendra S N 3ef54e4516 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 19:41:14 +05:30
Munendra S N f71e4b210d SOLR-13403: test terms component with point fields on empty index 2019-10-24 10:06:16 +05:30
Tomas Fernandez Lobbe dc9dbd266b
SOLR-13866: Override getSolrMetricsContext in DirectUpdateHandler2 (#971) 2019-10-23 16:13:26 -07:00
Noble Paul 98f08d39aa
SOLR-13822: Isolated Classloading from packages (#957)
SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
  the configuration, APIs to read/edit them and isolated classloaders to load the classes from
  those packages if the 'class' attribute is prefixed with `<package-name>:`
2019-10-24 08:55:11 +11:00
David Smiley 3ae8204248 SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
2019-10-23 17:49:01 -04:00
Andrzej Bialecki c1174dc0d6 SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 20:48:10 +02:00
Tomas Fernandez Lobbe 98cdac82a1
SOLR-13860: Enable back TestTlogReplica (#965)
* Wait for leader in testBasicLeaderElection

It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)

* Wait for leader to be active in testKillTlogReplica

* Add hack to prevent unrelated failure

* Reduce the time wait time for replica state change

* A more robust attempt to add replicas in the tests

* Wait for replication for 2 times the replication time
2019-10-23 10:46:36 -07:00
Christine Poerschke 3a3df47840 Revert "LUCENE-8996: maxScore was sometimes missing from distributed grouped responses."
This reverts commit 5289fce4bf.
2019-10-23 18:13:18 +01:00
Christine Poerschke 5289fce4bf LUCENE-8996: maxScore was sometimes missing from distributed grouped responses.
(Julien Massenet, Diego Ceccarelli, Christine Poerschke)
2019-10-23 12:08:42 +01:00
David Smiley 517bfd0ab7 LUCENE-9006: WDGF catenateAll should come before parts
Fixes #953
2019-10-22 16:30:57 -04:00
Andrzej Bialecki 1d7cd61575 SOLR-13854: Remove deprecated SolrMetricProducer.initializeMetrics API. 2019-10-22 21:23:48 +02:00
Christine Poerschke f8292f5372 LUCENE-9010: extend TopGroups.merge test coverage 2019-10-22 15:50:48 +01:00
jimczi 421718607e LUCENE-8062: Update CHANGES entry after backport to 8.3 2019-10-22 15:51:18 +02:00
Jim Ferenczi c68470e577
LUCENE-9022: Never cache GlobalOrdinalsWithScoreQuery (#963) 2019-10-22 15:14:36 +02:00
Munendra S N 597241a412 SOLR-13403: disable distrib test for point fields in terms 2019-10-22 10:40:38 +05:30
Mikhail Khludnev afdb80069c SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:25:06 +03:00
jimczi cfa4940167 LUCENE-8992: Update CHANGES after backport to 8x 2019-10-21 16:17:34 +02:00
Jim Ferenczi 066d324006
Merge pull request #904 from jimczi/shared_min_score
LUCENE-8992: Share minimum score across segment in concurrent search
2019-10-21 15:03:12 +02:00
jimczi 4cd9759ec3 fix uts 2019-10-21 14:28:15 +02:00
jimczi 66a8ad04e7 fix the logic to require the next float when checking the global minimum score 2019-10-21 14:18:10 +02:00
Jim Ferenczi a35996fcbb
Update lucene/core/src/java/org/apache/lucene/search/TopScoreDocCollector.java
replace modulo with a bitwise and (ter)

Co-Authored-By: Adrien Grand <jpountz@gmail.com>
2019-10-21 13:37:09 +02:00
Jim Ferenczi 50ae67bf1e
Update lucene/core/src/java/org/apache/lucene/search/TopFieldCollector.java
replace modulo with a btiwise and (bis)

Co-Authored-By: Adrien Grand <jpountz@gmail.com>
2019-10-21 13:36:39 +02:00
epugh 2e6119e8fd tweak documentation to be clearer about uprefix 2019-10-20 23:50:42 -04:00
Munendra S N 80bca5040a SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 15:57:19 +05:30
Noble Paul 831f90fa36
SOLR-13841: Add jackson databind annotations to SolrJ classpath
SOLR-13841: Add jackson databind annotations to SolrJ classpath
2019-10-20 10:00:13 +11:00
Munendra S N cabc125eef SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-18 23:45:57 +05:30
Munendra S N 227a624f8a SOLR-12769: correct documentation for delete op in request params API 2019-10-18 21:13:35 +05:30
Munendra S N dce0c5953c SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:08:33 +05:30
Andrzej Bialecki f07998fc23 SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 17:15:04 +02:00
Shalin Shekhar Mangar 86a40c1cd5 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas 2019-10-18 14:48:37 +05:30
Chris Hostetter 63e9bcf5d1 SOLR-13741: Harden AuditLoggerIntegrationTest 2019-10-16 16:56:34 -07:00
Chris Hostetter ebc720c5b0 SOLR-13852: Fix TestCloudNestedDocsSort to ensure child docs are never created in a way that violates uniqueKey rules 2019-10-16 15:49:58 -07:00
Jan Høydahl 611c4f960e
SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT (#946) 2019-10-17 00:44:34 +02:00
Cassandra Targett b3d59a7a8b SOLR-12786: add back explicit asciidoctor install for Jenkins build 2019-10-16 12:21:48 -05:00
Alan Woodward f7711d7124 LUCENE-9005: BooleanQuery.visit() pulls subvisitors from a top-level MUST visitor 2019-10-16 17:25:45 +01:00
Cassandra Targett 621461fd1a SOLR-12786: Update Ref Guide build tool versions & fix section links for new format requirements 2019-10-16 11:03:17 -05:00
Cassandra Targett b881a09592 Ref Guide: fix headline case 2019-10-16 10:08:57 -05:00
jimczi 7b0c096b91 Merge branch 'master' into shared_min_score 2019-10-16 13:12:33 +02:00
jimczi 6a5279d215 replace modulo with a bitwise operation 2019-10-16 13:09:46 +02:00
Andrzej Bialecki f7f6a37f33 SOLR-13849: Ignore events created by running triggers. 2019-10-16 10:32:54 +02:00
iverase 39fcd907fb LUCENE-8746: Call relate line with points in the same order as they
come from the original tessellation.
2019-10-16 07:20:45 +02:00
Chris Hostetter 939b3364e6 SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it 2019-10-15 15:37:33 -07:00
Cassandra Targett 8dd2ab52b4 Ref Guide: fix headline case, e.g & i.e, random spaces 2019-10-15 09:45:08 -05:00
Cassandra Targett 96cf2d1762 Ref Guide: first pass at 8.3 upgrade notes 2019-10-15 09:02:31 -05:00
Cassandra Targett 3deff52b5f Ref Guide: Upgrade Notes for 8.2 (neglected to do earlier) 2019-10-15 08:14:12 -05:00
Adrien Grand afcf3e296c LUCENE-8746: Disable testRandomLineEncoding for now. 2019-10-15 13:23:10 +02:00
Ishan Chattopadhyaya e2b160b865 SOLR-13834: ZkController#getSolrCloudManager() now uses the same ZkStateReader instance instead of instantiating a new one
ZkController#getSolrCloudManager() created a new instance of ZkStateReader, thereby causing mismatch in the
visibility of the cluster state and, as a result, undesired race conditions.
2019-10-15 14:51:02 +05:30
Ishan Chattopadhyaya b8648c60e7 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:20 +05:30