7230 Commits

Author SHA1 Message Date
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
David Smiley
f5508505f2 SOLR-12361: Fix test AddBlockUpdateTest.indexSolrInputDocumentsDirectly 2018-06-18 23:59:44 -04:00
Ishan Chattopadhyaya
4138ad662e SOLR-12428: Solr LTR jar now included in _default configset's solrconfig.xml 2018-06-18 15:02:20 +05:30
Varun Thacker
11fcb23906 SOLR-11676: Keep nrtReplicas and replicationFactor in sync while creating a collection and modifying a collection 2018-06-18 12:09:53 +04:00
Andrzej Bialecki
28967e0f67 SOLR-12392: BadApple this test for now. 2018-06-18 08:51:25 +02:00
Uwe Schindler
e21d4937e0 SOLR-12450: Don't allow referal to external resources in various config files 2018-06-17 13:15:29 +02:00
Erick
2519025fda LUCENE-7976: Make TieredMergePolicy respect maxSegmentSizeMB and allow singleton merges of very large segments 2018-06-15 12:33:02 -07:00
David Smiley
c22da7d7a9 SOLR-12416: When creating a time routed alias, the router.autoDeleteAge option wasn't considered. 2018-06-15 07:41:03 -04:00
Erick Erickson
a98fcda9c6 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-06-14 13:16:39 -07:00
user
21fe4164de SOLR-12362: Uploading docs in JSON now supports child documents as field values 2018-06-14 12:14:49 -04:00
Andrzej Bialecki
481a1f859d SOLR-11779: Reduce logging, fix index size conversion bug. 2018-06-13 19:44:55 +02:00
Noble Paul
377f16de5e SOLR-12208: added a testcase for fetching arbitrary replica info 2018-06-14 00:07:30 +10:00
Steve Rowe
ba62472bd3 SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} 2018-06-12 20:01:20 -04:00
yonik
23da90813c SOLR-9685: fix parsing of tagged sub-queries 2018-06-12 16:06:46 -04:00
Andrzej Bialecki
7c4bad0e8f SOLR-12208: Add simulator support for properly tracking INDEX.sizeInBytes and INDEX.sizeInGB. 2018-06-12 16:22:00 +02:00
Andrzej Bialecki
87d9343a9b SOLR-12392: Don't create conflicting ops when docs / index size criteria conflict. 2018-06-12 10:43:13 +02:00
Noble Paul
d9da757bc5 SOLR-12208: ignored the test , because it fails now 2018-06-12 18:33:56 +10:00
David Smiley
8095139da3 SOLR-12361: Allow nested child documents to be in field values of a SolrInputDocument.
* AddUpdateCommand and it's relationship with DirectUpdateHandler2 was reworked substantially.

Fixes #385
2018-06-11 10:48:30 -04:00
Andrzej Bialecki
16e0c234ed SOLR-11779: Improve stability of this test - use predictable timestamps and avoid sampling races. 2018-06-11 12:23:07 +02:00
Noble Paul
0242409fae SOLR-12474: Add an UpdateRequest Object that implements RequestWriter.ContentWriter 2018-06-11 13:04:54 +10:00
broustant
a06256ccee SOLR-11865: QueryElevationComponent changes
* new useConfiguredElevatedOrder setting
* more extensible (customizable via subclass)
** ElevationProvider
** handleInitializationException with cause enum
* use BytesRef for uniqueKey ID pervasively instead of String.
* ElevatorComparatorSource now reuses getBoostedDocs logic
* setSort will short-circuit if there are no elevated Ids
* extensive refactoring and affects some interrelated components
2018-06-09 11:32:24 -04:00
Noble Paul
944b24fab8 SOLR-12455: Refactor JSON serialization code into SolrJ package 2018-06-09 23:40:55 +10:00
Noble Paul
8f9eeb1e2c SOLR-12449: Response /autoscaling/diagnostics shows improper json 2018-06-09 23:35:53 +10:00
Noble Paul
7ffdbf15f5 SOLR-12449: Response /autoscaling/diagnostics shows improper json 2018-06-09 23:35:16 +10:00
Adrien Grand
15078ccc83 SOLR-12392: Bad-apple IndexSizeTriggerTest.test(Split|Merge)Integration. 2018-06-08 16:37:06 +02:00
Adrien Grand
d6d24ecfd2 SOLR-12075: Disable TestLargeCluster again. 2018-06-08 16:29:29 +02:00
Jan Høydahl
30bf6b657f SOLR-12350: Do not use docValues as stored for _str (copy)fields in _default configset 2018-06-08 15:12:48 +02:00
Andrzej Bialecki
417940cdd7 SOLR-12438: Improve status reporting of metrics history API. 2018-06-07 22:26:47 +02:00