32720 Commits

Author SHA1 Message Date
noble
22b681755c SOLR-13822: Disbaled on windows till further investigation 2019-10-30 08:27:23 +11:00
Adrien Grand
f23d5c122a LUCENE-9024: CHANGES entry. 2019-10-29 15:28:22 +01:00
Munendra S N
24134cf9b1 SOLR-13823: fix ClassCastEx in group.query when score is requested
* This makes sures score computed for standalone and distributed
  is same for group.query. This is done by using mainQuery to compute
  scores
2019-10-29 13:56:03 +05:30
Munendra S N
0a4f6c566e SOLR-13877: fix NPE in expand component
* This could happen when expand component is not used with collapse
  and matched docs have fewer unique values
2019-10-29 13:56:03 +05:30
Paul Sanwald
d53e877152 LUCENE-9024: Optimize IntroSelector to use median of medians (#966) 2019-10-29 09:21:52 +01:00
Munendra S N
b82b7725e1 SOLR-13783: fix failing tests due to NamedList.toString() change 2019-10-29 13:35:31 +05:30
Munendra S N
bd0091d94e update documentation for q.op and df
* defaultSearchField and defaultOperator are removed from schema.
  update the documentation to reflect this change
2019-10-29 10:51:31 +05:30
Tomas Fernandez Lobbe
c7c0bdf2df SOLR-13783: Move CHANGES entry 2019-10-28 17:10:24 -07:00
Chris Hennick
74333c3af2 SOLR-13783: Add space after comma in NamedList.toString() (#979) 2019-10-28 17:09:08 -07:00
Tomas Fernandez Lobbe
ee82e4567f SOLR-13865: Add missing package docs 2019-10-28 16:25:26 -07:00
Houston Putman
fa27e476f7 SOLR-13865: Migrate replica routing code to SolrJ (#974)
* [SOLR-13865] Migrate replica routing code to  solrJ

* Added a CommonTestInjection class.

* Fixing imports.

* Reverted extraneous streaming changes.

* Fix precommit errors.

* Changing name of the RLTManager.

* Splitting up existing tests.

* Updated documentation.

* Added solr/CHANGES.txt entry
2019-10-28 15:49:21 -07:00
noble
3af4e6adc6 SOLR-13822: Adressing Windows test failures 2019-10-29 06:12:52 +11:00
David Smiley
3bf33c1fda LUCENE-8986: labels: remove dubious 'sql', add 'information-retrieval' 2019-10-28 10:19:13 -04:00
noble
e5a5ceb6d8 a simple perf test to check serialization/deserialization perf 2019-10-28 17:17:26 +11:00
Jan Høydahl
b58a546d65
LUCENE-8986: Add asf.yaml to our git repo (#958)
And force squash merge for the merge button
2019-10-26 22:07:59 +02:00
Chris Hostetter
b17a4cb5a9 SOLR-13822: AwaitsFix this test until the file leaks are addressed 2019-10-25 14:44:25 -07:00
Tobias Ibounig
ce3857cb27 Add temporal unit to warmupTime param in ref guide (#975) 2019-10-25 15:01:16 -05:00
Cassandra Targett
d91152e113 SOLR-13847: Fix docs for Metrics Trigger 2019-10-25 13:56:53 -05:00
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 5289fce4bf857861af3644f6240a8369aa9f5407.
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