32357 Commits

Author SHA1 Message Date
Tobias Ibounig
dfad6f0fd6 Add temporal unit to warmupTime param in ref guide (#975) 2019-10-25 15:02:06 -05:00
Cassandra Targett
3a7bf3b3af SOLR-13847: Fix docs for Metrics Trigger 2019-10-25 13:58:49 -05:00
Adrien Grand
e648d601ef LUCENE-8932: Move BKDReader's index off-heap when the input is a ByteBufferIndexInput. 2019-10-25 09:54:33 +02:00
Tomas Fernandez Lobbe
c82aa3e61b 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-24 12:02:26 -07:00
Munendra S N
21e58bc128 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 20:02:32 +05:30
Andrzej Bialecki
b029de191e SOLR-13677: Add a missing override, which resulted in missing metrics (reported by tflobbe). 2019-10-24 13:02:23 +02:00
Munendra S N
255bdaebbc SOLR-13403: test terms component with point fields on empty index 2019-10-24 10:23:19 +05:30
David Smiley
9a108996bb SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969

(cherry picked from commit 3ae820424809baa4e5a85d8bbdb0294cf6fe5b9b)
2019-10-23 17:51:27 -04:00
Andrzej Bialecki
6e6b36cbcd SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 21:14:05 +02:00
Christine Poerschke
acaaf4c270 Revert "LUCENE-8996: maxScore was sometimes missing from distributed grouped responses."
This reverts commit fb37f89af27d881efb0f7b40eff2dc76ef5bc2c4.
2019-10-23 18:12:24 +01:00
Christine Poerschke
fb37f89af2 LUCENE-8996: maxScore was sometimes missing from distributed grouped responses.
(Julien Massenet, Diego Ceccarelli, Christine Poerschke)

Resolved Conflicts:
	lucene/grouping/src/java/org/apache/lucene/search/grouping/TopGroups.java
2019-10-23 12:32:33 +01:00
Christine Poerschke
516f607618 LUCENE-9010: extend TopGroups.merge test coverage 2019-10-23 12:21:57 +01:00
David Smiley
bb3bcddeda LUCENE-9006: WDGF catenateAll should come before parts
Fixes #953

(cherry picked from commit 517bfd0ab75adb59ad85797118d263bebcf11f52)
2019-10-22 16:31:48 -04:00
Jim Ferenczi
c89ec4b074 LUCENE-9022: Never cache GlobalOrdinalsWithScoreQuery (#963) 2019-10-22 15:16:47 +02:00
Munendra S N
c5d91017d0 SOLR-13403: disable distrib test for point fields in terms 2019-10-22 11:06:38 +05:30
Mikhail Khludnev
0b8b1438e9 SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:35:15 +03:00
jimczi
1c23a3c14e LUCENE-8992: Share minimum score across segment in concurrent search
This is a follow up of LUCENE-8978 that introduces shared minimum score across segment
in concurrent search for top field collectors that sort by relevance first.
2019-10-21 16:14:20 +02:00
epugh
0356dbef7b tweak documentation to be clearer about uprefix
(cherry picked from commit 2e6119e8fd31867251353ab864cad0d33d22ab2d)
2019-10-20 23:52:32 -04:00
Munendra S N
437b7445c6 SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 16:10:55 +05:30
Munendra S N
c65451115c SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-19 00:09:07 +05:30
Andrzej Bialecki
441af3e7aa SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 18:44:16 +02:00
Munendra S N
b8213cef1a SOLR-12769: correct documentation for delete op in request params API 2019-10-18 21:29:05 +05:30
Munendra S N
2cbe03429e SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:28:53 +05:30
Shalin Shekhar Mangar
ab65f34686 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas
(cherry picked from commit 86a40c1cd5691ce8c9c233c9a8186a4f50aa4f5f)
2019-10-18 14:52:26 +05:30
Chris Hostetter
28c1049a25 SOLR-13741: Harden AuditLoggerIntegrationTest
(cherry picked from commit 63e9bcf5d150e6324e5133a001613bd7f738a183)
2019-10-16 16:56:57 -07:00
Chris Hostetter
3a67c82c91 SOLR-13852: Fix TestCloudNestedDocsSort to ensure child docs are never created in a way that violates uniqueKey rules
(cherry picked from commit ebc720c5b09ae06b8ab093b296bf87e4f6ed978f)
2019-10-16 16:04:58 -07:00
Jan Høydahl
5a074b0fe4 SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT (#946)
(cherry picked from commit 611c4f960e9472880e2ec24dda9336a59cd41426)
2019-10-17 00:47:42 +02:00
Cassandra Targett
dc47aa5b16 SOLR-12786: add back explicit asciidoctor install for Jenkins build 2019-10-16 12:44:08 -05:00
Cassandra Targett
802e97d6aa SOLR-12786: Update Ref Guide build tool versions & fix section links for new format requirements 2019-10-16 12:43:59 -05:00
Alan Woodward
574e1e2d52 LUCENE-9005: BooleanQuery.visit() pulls subvisitors from a top-level MUST visitor 2019-10-16 16:17:53 +01:00
Cassandra Targett
fec849f6ff Ref Guide: fix headline case 2019-10-16 10:09:26 -05:00
Uwe Schindler
fa726bec50 Revert "LUCENE-8993: Also update to latest version of Apache Parent POM"
This reverts commit 9d21418dfcc5c884f45ab668579b0391965a18bb.

This is needed because Lucene 8.x does not yet update minimum Maven version, but Apache Parent POM requires this.
2019-10-16 12:34:14 +02:00
Andrzej Bialecki
ac418540d0 SOLR-13849: Ignore events created by running triggers. 2019-10-16 10:34:18 +02:00
iverase
b7309899e1 LUCENE-8746: Call relate line with points in the same order as they
come from the original tessellation.
2019-10-16 07:21:32 +02:00
Chris Hostetter
59548c16d3 SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it
(cherry picked from commit 939b3364e604a4a16b3c4c5f278c4d7f30f1354b)
2019-10-15 15:38:02 -07:00
Cassandra Targett
e685cf7087 Ref Guide: first pass at 8.3 upgrade notes 2019-10-15 09:46:51 -05:00
Cassandra Targett
b65f62cbd1 Ref Guide: fix headline case, e.g & i.e, random spaces 2019-10-15 09:46:03 -05:00
Cassandra Targett
b6cbc60ab5 Ref Guide: Upgrade Notes for 8.2 (neglected to do earlier) 2019-10-15 08:14:55 -05:00
Adrien Grand
8378be83b3 LUCENE-8746: Disable testRandomLineEncoding for now. 2019-10-15 13:23:55 +02:00
Ishan Chattopadhyaya
fb4b2a8834 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:52:16 +05:30
Ishan Chattopadhyaya
46df93ced4 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:57 +05:30
Jan Høydahl
337dbd50a6 SOLR-13665: Added missing netty dependencies to solrJ (#938)
(cherry picked from commit 64fb42c71475fb849da873297f53a982e5293f14)
2019-10-15 10:36:45 +02:00
Cassandra Targett
d1b3b14008 Ref Guide: Fix errant & empty style block throwing errors 2019-10-14 19:55:56 -05:00
iverase
9f02892949 Merge branch 'branch_8x' of https://gitbox.apache.org/repos/asf/lucene-solr into branch_8x 2019-10-14 20:28:42 +02:00
iverase
e719ea5a42 LUCENE-8928: Check that point is inside an edge bounding box when
checking if the point belongs to the edge
2019-10-14 20:28:09 +02:00
Adrien Grand
e5ca494769 LUCENE-9003: Compute numDocs() lazily. (#939) 2019-10-14 19:56:23 +02:00
Koen De Groote
575f8a6ad8 LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 19:56:23 +02:00
Koen De Groote
93f9a093cc LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 19:56:00 +02:00
Przemko Robakowski
dad15ba15e LUCENE-9001: Fix race condition in SetOnce (#931) 2019-10-14 19:56:00 +02:00
Adrien Grand
da73a6aff5 LUCENE-8920: Disable direct addressing of arcs. (#950) 2019-10-14 19:56:00 +02:00