7407 Commits

Author SHA1 Message Date
Varun Thacker
9d9c3a0cd8 SOLR-11598: Support more than 4 sort fields in the export writer 2018-07-20 11:38:07 -07:00
Alexandre Rafalovitch
f6e9d00b90 SOLR-12553: Check local params in SignificantTerms Query Parser 2018-07-19 22:12:22 -04:00
Chris Hostetter
3a5d4a25df SOLR-12343: Fixed a bug in JSON Faceting that could cause incorrect counts/stats when using non default sort options
This also adds a new configurable "overrefine" option
2018-07-19 10:05:28 -07:00
Adrien Grand
7d8fc543f0 LUCENE-8411: Remove fillFields from TopFieldCollector factory methods. 2018-07-18 12:55:05 +02:00
Adrien Grand
331ccf3910 LUCENE-8405: Remove TopDocs.maxScore. 2018-07-18 08:38:57 +02:00
Christine Poerschke
e9c6effd07 SOLR-12454: Tweak Overseer leadership transition related logging for easier troubleshooting. 2018-07-17 20:16:11 +01:00
Christine Poerschke
f7aed28760 SOLR-12464: Reduce Overseer.close() logging (for non-Overseer leaders) 2018-07-17 20:16:10 +01:00
Adrien Grand
8093c450c1 LUCENE-8263: Replace TieredMergePolicy's reclaimDeletesWeight with deletesPctAllowed. 2018-07-17 18:31:06 +02:00
Cao Manh Dat
705e6f76a4 SOLR-12412: Fix test failure 2018-07-17 18:42:29 +07:00
Uwe Schindler
c97f27b06c Merge branch 'remove-constructor-wrapper-classes' of https://github.com/michaelbraun/lucene-solr:
LUCENE-8345, GitHub PR #392: Remove instantiation of redundant wrapper classes for primitives; add wrapper class constructors to forbiddenapis.
This closes #392
2018-07-16 12:24:45 +02:00
Noble Paul
11b22b441a SOLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules 2018-07-16 17:36:02 +10:00
Noble Paul
09526a560c Revert "OLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules"
This reverts commit 5b9f4f3
2018-07-16 17:33:51 +10:00
Noble Paul
5b9f4f3ecf OLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules 2018-07-16 17:29:25 +10:00
Michael Braun
f0e1864ceb Merge remote-tracking branch 'source/master' into remove-constructor-wrapper-classes 2018-07-14 13:39:37 -04:00
David Smiley
424608946c SOLR-12441: Lowercase _NEST_PARENT_ and _NEST_PATH_ fields. 2018-07-13 22:51:13 -04:00
Chris Hostetter
0545901c24 Tighten up the test variability to reduce the risk of some random collection/query combinations that can't be verified 2018-07-12 21:48:38 -07:00
David Smiley
fe180bbd59 SOLR-12441: New NestedUpdateProcessorFactory 2018-07-10 22:59:41 -04:00
Cao Manh Dat
cd08c7ef13 SOLR-12412: release IndexWriter after getting tragic exception 2018-07-10 09:25:38 +07:00
Cao Manh Dat
1197176110 SOLR-12412: Leader should give up leadership when IndexWriter.tragedy occur 2018-07-09 09:14:23 +07:00
Chris Hostetter
7d8ef9e39d SOLR-12516: Fix some bugs in 'type:range' Facet refinement when sub-facets are combined with non default values for the 'other' and 'include' options.
1) the optional other buckets (before/after/between) are not considered during refinement

2) when using the include option: if edge is specified, then the refinement of all range buckets mistakenly includes the lower bound of the range, regardless of whether lower was specified.
2018-07-06 09:34:05 -07:00
Erick Erickson
a09f3facfc SOLR-12028: BadApple and AwaitsFix annotations usage 2018-07-05 13:47:51 -07:00
Christine Poerschke
7b2a2d989c SOLR-12395: Remove SignificantTermsQParserPlugin's deprecated old name ('sigificantTerms') in favour of new 'significantTerms' name 2018-07-04 14:13:56 +01:00
Christine Poerschke
067a6633ed SOLR-12537: remove some unused (private static) loggers 2018-07-04 11:37:56 +01:00
yonik
b7b6f242e8 SOLR-12533: getting index size shouldn't create directory (metrics race) 2018-07-03 22:55:38 -04:00
Christine Poerschke
a444e82bab SOLR-12527: factor out a test-framework/ConfigRequest class 2018-07-03 18:27:17 +01:00
Christine Poerschke
1a4b1358ea SOLR-12395: Make 'significantTerms' the SignificantTermsQParserPlugin's name and deprecate its old 'sigificantTerms' name.
(Tobias Kässmann, Christine Poerschke)
2018-07-03 18:09:35 +01:00
Cao Manh Dat
d38a1753d5 SOLR-11216: Fix test failures, since the new PeerSyncWithLeader won't open a realtime searcher everytime 2018-07-03 09:02:16 +07:00
Erick Erickson
9a9c65a6ba SOLR-12028: Forgot to check in last Thursday 2018-07-02 12:32:49 -07:00
Jason Gerlowski
ea4043b954 SOLR-12427: Correct status for invalid 'start', 'rows'
Prior to this commit we correctly handled negative start/rows param
values by returning a 400 (BAD REQUEST) with an appropriate error
message, but would return an ugly 500 with stack trace for non-numeric
input values.  This commit corrects this later case to also return
a 400 status code with a nicer error message.
2018-06-30 15:04:55 -04:00
yonik
ee12253385 SOLR-12326: add more=true to terms facets with more buckets 2018-06-30 09:45:42 -04:00
Ishan Chattopadhyaya
c291fa3724 SOLR-12530: Ability to disable configset upload 2018-06-29 19:12:07 +05:30
Christine Poerschke
ab666ff9cf SOLR-12524: mention ids in CdcrLogReader.forwardSeek's assert 2018-06-28 14:53:56 +01:00
Alan Woodward
0fbe3d257e LUCENE-8356: Remove StandardFilter from Solr schemas 2018-06-27 12:05:23 +01:00
Andrzej Bialecki
1023b839ae SOLR-11665: Improve error handling of shard splitting. Fix splitting of mixed replica types. 2018-06-26 20:35:34 +02:00
Varun Thacker
c33bb65cf6 SOLR-11807: Test code didn't take into account changing maxShardsPerNode for one code path 2018-06-26 16:39:43 +05:30
Noble Paul
1eb2676f27 SOLR-11985: Support percentage values in replica attribute in autoscaling policy
SOLR-12511: Support non integer values for replica in autoscaling policy

SOLR-12517: Support range values for replica in autoscaling policy
2018-06-26 16:28:17 +10:00
David Smiley
095f9eb90d SOLR-12398: Add Heatmap facet option to JSON Facet API.
* moved the preponderance of the implementation from SpatialHeatmapFacets (used by SimpleFacets) into the new API.
2018-06-25 22:37:13 -04:00
Erick Erickson
1d85cd7838 SOLR-12513 Reproducing TestCodecSupport.testMixedCompressionMode failure 2018-06-25 15:17:40 -07:00
Shalin Shekhar Mangar
8c714348ae SOLR-12506: Add SolrJ support for the modify collection API 2018-06-25 19:09:57 +05:30
Shalin Shekhar Mangar
ccfae65050 SOLR-12507: Re-enabling tests in TestCollectionAPI that I had disabled temporarily during debugging 2018-06-25 17:31:05 +05:30
Shalin Shekhar Mangar
6b4e9340d8 SOLR-12507: Support deleting properties using a blank parameter value 2018-06-25 16:34:52 +05:30
Steve Rowe
25e7631b90 SOLR-12482: Config API returns status 0 for failed operations 2018-06-21 23:21:13 -04:00
Erick Erickson
5cd8aa4ff9 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-06-21 16:02:56 -07:00
Chris Hostetter
08e3141f6c Fix a silly test bug that was assuming numFound=0 would mean no facet results, even though these facet requests always use an explicit query domain.
Also fix the expected/actual facet response checks to ensure there are no 'extra' keys, since not checking that is how the the previous problem slipt through the cracks until it just hapened to affect a testBespoke query (because the randomized index didn't have any matches for that query) and manifested as 0 buckets being checked
2018-06-21 12:05:26 -07:00
Gus Heck
bc9ac994a4 SOLR-11654 TimePartitionedUpdateProcessor.lookupShardLeaderOfCollection should route to the ideal shard 2018-06-21 11:45:59 -04:00
David Smiley
8eb006e4ed SOLR-12471: testLLPDecodeIsStableAndPrice -- raise threshold some more 2018-06-21 09:29:27 -04:00
Shalin Shekhar Mangar
fabc408d3b SOLR-12507: Modify collection API should support un-setting properties 2018-06-21 15:45:24 +05:30
Varun Thacker
3a2ec9baf8 SOLR-11807: Restoring collection now treats maxShardsPerNode=-1 as unlimited 2018-06-21 14:21:16 +05:30
Cao Manh Dat
daff67e279 SOLR-11216: Race condition in peerSync 2018-06-20 16:26:02 +07:00
Varun Thacker
3d20e8967b SOLR-12489: User specified replicationFactor and maxShardsPerNode is used when specified during a restore operation.
A user can now specify nrtReplicas/tlogReplicas/pullReplicas while restoring the collection.

Specifying replicationFactor or nrtReplicas have the same effect and only one can be specified
2018-06-19 19:45:08 +05:30