Commit Graph

32383 Commits

Author SHA1 Message Date
ginger 8da9e1915f LUCENE-9002: Query caching leads to absurdly slow queries (#940)
Co-Authored-By: Adrien Grand <jpountz@gmail.com>
2019-11-11 22:09:58 +01:00
Jason Gerlowski f072747827 LUCENE-9026: Add getters to DocValuesTermsQuery 2019-11-11 15:33:13 -05:00
noble a09f2df216 SOLR-13822: Missing package-info files 2019-11-08 14:42:49 +11:00
noble edb5f63869 SOLR-13822: precommit error fixed 2019-11-08 12:56:26 +11:00
Houston Putman f4eea9b2f5 SOLR-13844: Fixing tests related to ShardTerms recovery removal (#995) 2019-11-06 17:25:52 +00:00
Noble Paul 37059eb594
SOLR-13822: Isolated Classloading from packages (#997)
* SOLR-13821: A Package store to store and load package artifacts 

* 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>:` 

*  SOLR-13841: Provide mappings for jackson annotation @JsonProperty to use Jackson deserializer
2019-11-06 19:45:14 +11:00
Joel Bernstein e4f23388dc SOLR-13864: MathExpressionTest non-reproducible failures due to assertions of non-absolutes and randomization beyond test seed 2019-11-05 15:16:33 -05:00
Joel Bernstein 3d69d112bc Fix CHANGES.txt 2019-11-05 09:20:34 -05:00
Joel Bernstein 70f5533045 SOLR-10786: Update CHANGES.txt 2019-11-05 09:18:41 -05:00
Andrzej Bialecki 848529128f SOLR-13882: Collections API COLSTATUS does not check live_nodes when reporting replica's status. 2019-11-05 14:07:24 +01:00
Jason Gerlowski a98198cc04 SOLR-13762: Allow BinaryField use with non-binary wt's.
Closes #883
2019-11-04 08:44:33 -05:00
Houston Putman 2f8b3ea634 SOLR-13844: Remove replica recovery terms with the replica term (#951) 2019-11-04 09:41:40 +00:00
Ishan Chattopadhyaya c3b8b584bf DOAP changes for release 8.3.0 2019-11-03 04:28:46 +05:30
Joel Bernstein fa7fe3af19 SOLR-10786: Add DBSCAN clustering Streaming Evaluator 2019-11-02 14:52:51 -04:00
Mikhail Khludnev 1f6c06f305 LUCENE-9028: fix test compile 2019-11-01 16:40:52 -07:00
Tomas Fernandez Lobbe 332f1d7741 SOLR-13207: Fix tests 2019-11-01 15:54:43 -07:00
Mikhail Khludnev d49b36ec9c LUCENE-9028: Introduce Intervals.multiterm() 2019-11-01 15:11:14 -07:00
Chris Hennick 543d0b79aa SOLR-13207: Handle query errors in calculateMinShouldMatch (#978)
Traps error that arises when the < operator is used at the end of a query field.
Also handles NumberFormatException when the operand isn't a number.
2019-11-01 10:43:34 -07:00
Ishan Chattopadhyaya c8eaf54478 Add back-compat indices for 8.3.0 2019-11-01 06:32:50 +05:30
Munendra S N 0e3a66be43 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 14:07:20 +05:30
Munendra S N 2055983d80 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 14:07:20 +05:30
Paul Sanwald 7d0dbdaf62 LUCENE-9024: Optimize IntroSelector to use median of medians (#966) 2019-10-29 09:25:54 +01:00
Munendra S N e713811b17 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:53:47 +05:30
Tomas Fernandez Lobbe 220faa5cbf SOLR-13865: Add missing package docs 2019-10-28 16:25:01 -07:00
Houston Putman bf26279699 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:51:04 -07:00
noble 8489b0f159 a simple perf test to check serialization/deserialization perf 2019-10-28 17:18:37 +11:00
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 3ae8204248)
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 fb37f89af2.
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 517bfd0ab7)
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 2e6119e8fd)
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 86a40c1cd5)
2019-10-18 14:52:26 +05:30