Cao Manh Dat
8c06dec16d
SOLR-12305: When a replica is applying updates, some kind of updates can skip buffering for faster recovery
2018-07-23 09:33:28 +07:00
Varun Thacker
2826a9550b
SOLR-12489: remove unused imports
2018-07-21 13:55:37 -07:00
Varun Thacker
18c29b7303
SOLR-12489: Fix test failures
2018-07-21 13:05:07 -07:00
Erick Erickson
1bea1da5dc
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-07-20 13:37:05 -07:00
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
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
Noble Paul
9b65d7e1a2
SOLR-12142: EmbeddedSolrServer should use req.getContentWriter
2018-06-08 02:38:50 +10:00
David Smiley
7c6d74376a
SOLR-12376: AwaitsFix testStopWords pending LUCENE-8344
2018-06-06 14:45:17 -04:00
Andrzej Bialecki
c1f42906ef
SOLR-11911: Move simulator reset to @Before method.
2018-06-06 11:48:42 +02:00
Cao Manh Dat
0358fcb175
SOLR-12250: Fix precommit
2018-06-06 15:52:15 +07:00
Cao Manh Dat
2f19ae1907
SOLR-12250: Create the temporary tlog file properly
2018-06-06 15:50:19 +07:00
Noble Paul
9ff3f5a136
SOLR-12444: added more assertions to the test
2018-06-06 13:13:20 +10:00
Michael Braun
78079fc552
Merge remote-tracking branch 'source/master' into remove-constructor-wrapper-classes
2018-06-05 18:48:55 -04:00
Jeff
0c6f38a315
SOLR-12233: QParserPlugin's static registry of builtins can be optimized
...
to avoid needless ClassLoader activity on SolrCore load.
2018-06-05 15:11:32 -04:00
David Smiley
cf63392183
SOLR-12376: New TaggerRequestHandler (SolrTextTagger).
2018-06-05 14:04:55 -04:00
David Smiley
c587598096
LUCENE-7960: fix Solr test to include mandatory args
2018-06-05 12:30:34 -04:00
Noble Paul
f9d807af75
SOLR-12387: fixing a test failure
2018-06-05 23:14:11 +10:00
Noble Paul
add77d2725
SOLR-12444: Updating a cluster policy fails
2018-06-05 22:29:06 +10:00
Andrzej Bialecki
6624773613
SOLR-11911: Make sure all processing is completed before asserting.
2018-06-05 12:32:35 +02:00
Andrzej Bialecki
2ef3d07561
SOLR-11911: Fix a number of synchronization issues in the simulator. Enable this test for now.
2018-06-04 14:20:19 +02:00
Noble Paul
727da63f4a
SOLR-12354: Register the /admin/info/key end-point at the startup time to avoid 404
2018-06-04 22:14:37 +10:00
Simon Willnauer
e7a0a12926
LUCENE-8335: Enforce soft-deletes field up-front
...
Soft deletes field must be marked as such once it's introduced
and can't be changed after the fact.
Co-authored-by: Nhat Nguyen <nhat.nguyen@elastic.co>
2018-06-04 08:28:38 +02:00
Cao Manh Dat
ab316bbc91
SOLR-9922: Write buffering updates to another tlog
2018-06-04 11:32:31 +07:00
Michael Braun
fb6574100e
LUCENE-8345 - add wrapper class constructors to forbiddenapis
2018-06-03 15:40:50 -04:00
Simon Willnauer
3dc4fa199c
Revert "LUCENE-8335: Enforce soft-deletes field up-front."
...
This reverts commit a2d9276674
.
2018-06-02 13:47:24 +02:00
Simon Willnauer
a2d9276674
LUCENE-8335: Enforce soft-deletes field up-front.
...
Soft deletes field must be marked as such once it's introduced
and can't be changed after the fact.
2018-06-02 13:14:53 +02:00
markrmiller
1ff24bbb28
SOLR-12290,SOLR-12391: Do not close any servlet streams and improve our servlet stream closing prevention code for users and devs.
2018-06-02 00:16:28 -05:00
David Smiley
4888adf08a
SOLR-12337: Remove the obsolete QueryWrapperFilter
2018-06-01 17:12:21 -04:00
Cao Manh Dat
1d33130fcb
SOLR-12433: Recovering flag of a replica is set equals to leader even it failed to receive update on recovering
2018-06-01 09:23:10 +07:00
Steve Rowe
252a8145d9
SOLR-12388: Add an expected exception message to SearchHandlerTest.testRequireZkConnectedDistrib()
2018-05-31 16:09:11 -04:00
David Smiley
1e63b32731
* SOLR-12366: A slow "live docs" implementation was being used instead of a bitset.
...
Affects classic faceting enum method, JSON Facets enum method, UnInvertedField faceting, GraphTermsQParser, JoinQParser.
Renamed SolrIndexSearcher.getLiveDocs to getLiveDocSet.
2018-05-31 10:55:12 -04:00
Noble Paul
12269abe34
SOLR-12387: cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas
...
SOLR-12389: support deeply nested json objects in clusterprops.json
2018-06-01 00:50:52 +10:00
Andrzej Bialecki
0e4512c231
SOLR-11779: Use fixed Locale for graph labels.
2018-05-30 17:37:33 +02:00
Andrzej Bialecki
d27a2e8996
SOLR-12392: Fix waitForElapsed logic and state restoration. Enable the test.
2018-05-30 15:44:19 +02:00
Steve Rowe
bd14de24e9
SOLR-12388: print out exception when assert fails
2018-05-30 00:39:26 -04:00
Cao Manh Dat
6084da559c
SOLR-12338: Replay buffering tlog in parallel
2018-05-30 11:05:48 +07:00
David Smiley
6e0da7e2f8
SOLR-12374 Add SolrCore.withSearcher(lambda accepting SolrIndexSearcher)
2018-05-29 16:27:11 -04:00
Andrzej Bialecki
64e4dda64e
Don't restart Overseer when picking a node randomly. Enable this test for now.
2018-05-29 21:52:31 +02:00
Andrzej Bialecki
6bbce38b77
SOLR-11779: Basic long-term collection of aggregated metrics.
2018-05-29 10:35:39 +02:00
Varun Thacker
44015e2acd
SOLR-11453: Configuring slowQueryThresholdMillis logs slow requests to a separate file - solr_slow_requests.log
2018-05-28 12:43:05 -07:00
Varun Thacker
071df6e114
SOLR-12314: Use http timeout's defined in solr.xml for creating ConcurrentUpdateSolrClient during indexing requests between leader and replica
2018-05-28 11:21:49 -07:00
Noble Paul
4e12546b02
SOLR-12294: changed the package of the test file
2018-05-28 15:04:19 +10:00
Cao Manh Dat
2a5346dd29
SOLR-12399: SearchRateTriggerTest.testTrigger fail frequently
2018-05-28 09:48:22 +07:00
yonik
f7500a6029
SOLR-12328: domain change using graph
2018-05-27 21:02:15 -04:00
yonik
e5998fcb5d
SOLR-9685: #tagging in JSON query syntax
2018-05-27 16:22:16 -04:00
Erick Erickson
fd929c1d60
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-05-25 10:39:58 -07:00
Noble Paul
18ad8d137a
SOLR-12294: update processors loaded from runtime jars fail to load if they are specified in an update processor chain
2018-05-26 00:25:39 +10:00
Noble Paul
b86a4c9297
SOLR-12294: jar file required for the testcase
2018-05-26 00:09:43 +10:00
Dawid Weiss
41ecad9897
SOLR-5351: Fixed More Like This Handler to use all fields provided in mlt.fl when used with content stream. The similarity is calculated between the content stream's value and all fields listed in mlt.fl.
2018-05-25 11:39:42 +02:00
Steve Rowe
54a63d0d0c
SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected"
2018-05-25 01:03:54 -04:00
Chris Hostetter
ad143a1cec
improvements/fixes to TestCloudJSONFacetJoinDomain based on lessons learned adapting TestCloudJSONFacetSKG
2018-05-24 18:02:26 -07:00
Cao Manh Dat
71ed5bafac
SOLR-12247: Ensure an event will contains newly added node
2018-05-24 09:42:17 +07:00
markrmiller
48bd259516
SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP.
2018-05-23 15:44:37 -05:00
David Smiley
53a3de3b98
SOLR-12375: Optimize Lucene ScoreMode use:
...
* A non-cached filter query could be told incorrectly that scores were needed.
* The /export (ExportQParserPlugin) would declare incorrectly that scores are needed.
* Expanded docs (expand component) could be told incorrectly that scores are needed.
2018-05-23 15:37:33 -04:00
Noble Paul
d32ce81eab
SOLR-12358: Autoscaling suggestions fail randomly with sorting
2018-05-24 01:26:50 +10:00
Shalin Shekhar Mangar
9b1cb6646f
SOLR-3567: Spellcheck custom parameters not being passed through due to wrong prefix creation
2018-05-23 11:12:39 +05:30
Cao Manh Dat
0a730d4c1a
SOLR-12247: NodeAddedTriggerTest.testRestoreState() failure: Did not expect the processor to fire on first run
2018-05-23 09:30:19 +07:00
David Smiley
af59c46363
SOLR-12386: Apply AwaitsFix to ConcurrentCreateRoutedAliasTest
2018-05-22 17:08:09 -04:00
Chris Hostetter
f9091473e0
SOLR-9480: minor cleanup of nits found by sarowe
2018-05-22 10:41:51 -07:00
Shalin Shekhar Mangar
5a47ed4209
SOLR-11880: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed search and update operations
2018-05-22 19:26:42 +05:30
Mikhail Khludnev
0f14e7fe5c
SOLR-12377: Don't spin off overseer when Zk controller is closed.
...
enable TestLeaderElectionZkExpiry
2018-05-22 11:26:44 +03:00
Chris Hostetter
0bf1eae92c
SOLR-9480 followup: remove/abstract deprecated implementations on master
2018-05-21 16:18:27 -07:00
Chris Hostetter
669b9e7a53
SOLR-9480: A new 'relatedness()' aggregate function for JSON Faceting to enable building Semantic Knowledge Graphs
2018-05-21 08:22:54 -07:00
Andrzej Bialecki
93926e9c83
Fix API change and add javadoc.
2018-05-21 12:26:31 +02:00
Cao Manh Dat
4603541d18
SOLR-11452: Remove BadApple annotation
2018-05-21 15:03:30 +07:00
Cao Manh Dat
a4f83f66ea
SOLR-10841: Remove BaddApples annotation
2018-05-21 09:12:45 +07:00
Cao Manh Dat
39256e8348
SOLR-10841: TestTlogReplica.testRecovery sometimes fails
2018-05-21 09:05:13 +07:00
Steve Rowe
d91273ddf0
LUCENE-8273: Rename TermExclusionFilter -> ProtectedTermFilter. Allow ProtectedTermFilterFactory to be used outside of CustomAnalyzer, including in Solr, by allowing wrapped filters and their parameters to be specified on construction. Add tests for ProtectedTermFilterFactory in lucene/common/analysis/ and in solr/core/. Add Solr ref guide documentation for ProtectedTermFilterFactory. Improve javadocs for CustomAnalyzer, ConditionalTokenFilter, and ProtectedTermFilter.
2018-05-20 19:52:07 -04:00
Anshum Gupta
27c6275c48
SOLR-11277: Synchronize UpdateLog.getCurrentLogSizeFromStream and return size of tlog as 0 to avoid NPE
2018-05-18 09:56:52 -07:00
Cao Manh Dat
4a9a8397e4
SOLR-12028: Remove BadApple for TestCloudRecovery
2018-05-18 10:36:14 +07:00
Simon Willnauer
e7cf4929f8
SOLR-12181: Fix JavaDoc Lint
2018-05-16 16:04:13 +02:00
Andrzej Bialecki
b809d633ce
SOLR-12181: Improve test stability.
2018-05-16 13:59:55 +02:00
Mikhail Khludnev
414fcb8e88
SOLR-12200: abandon OverseerExitThread when ZkController is closed.
2018-05-16 13:11:56 +03:00
Cao Manh Dat
25ebe0e35f
SOLR-12028: Remove TestCloudConsistency BadApples after beasting
2018-05-16 14:55:11 +07:00
Mikhail Khludnev
a0acc63d02
SOLR-12307: abandon OverseerTriggerThread on Zk expiration noiseless
2018-05-12 11:37:52 +03:00
Mikhail Khludnev
d020ba84e4
SOLR-12333: drop redundant lines in JSON response writers
2018-05-12 11:22:48 +03:00
markrmiller
ab58b7f9ba
SOLR-12290: Update assert messages about closing request / response streams.
2018-05-12 00:15:19 -05:00
markrmiller
4c09a13afb
SOLR-12290: Update assert messages about closing request / response streams.
2018-05-11 23:32:25 -05:00
yonik
1067cabc19
SOLR-12170: fix date format exceptions for terms facet on date field
2018-05-09 15:42:58 -04:00
David Smiley
c3d28a5b0f
SOLR-12258: A V2 request referencing a collection or alias may fail to resolve it if it was just recently created.
...
Now we sync with ZooKeeper and try one more time. V1 partially did this but only for aliases; now it does both.
2018-05-08 15:10:07 -04:00
Dawid Weiss
85c00e77ef
LUCENE-8267: removed references to memory codecs.
2018-05-08 10:32:11 +02:00
David Smiley
08ee037ff8
SOLR-12308: LISTALIASES is now assured to return an up-to-date response
...
* MiniSolrCloudCluster.deleteAllCollections will now first delete aliases
* Minor refactorings to AliasesManager, AliasIntegrationTest, CreateRoutedAliasTest
2018-05-07 22:17:30 -04:00
David Smiley
81f611209c
SOLR-12312: Replication's IndexFetcher buf size should be initialized
...
to an amount no greater than the size of the file being transferred.
2018-05-07 14:54:11 -04:00
Jason Gerlowski
6521d86dde
SOLR-12279: Reject invalid 'blockUnknown' values for 'bin/solr auth'
2018-05-07 07:41:13 -04:00
markrmiller
5fc7251540
SOLR-12290: We must close ContentStreams because we don't know the source of the inputstream - use a CloseShield to prevent tripping our close assert in SolrDispatchFilter.
2018-05-06 14:25:59 -05:00
Uwe Schindler
fb5b42a0e4
SOLR-12316: Fix test to work on linux and test also windows in a better way
2018-05-06 15:53:07 +02:00
Uwe Schindler
1b76011421
SOLR-12316: Do not allow to use absolute URIs for including other files in solrconfig.xml and schema parsing
2018-05-06 14:21:34 +02:00
Erick Erickson
89fc02a3b0
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-05-04 22:30:18 -07:00
Mark Miller
3a2572db79
SOLR-12293: Updates need to use their own connection pool to maintain connection reuse and prevent spurious recoveries.
2018-05-04 20:02:56 -05:00
Mark Miller
296201055f
SOLR-12290: Do not close any servlet streams and improve our servlet stream closing prevention code for users and devs.
2018-05-04 18:02:06 -05:00
Anshum Gupta
b617489638
SOLR-11277: Add auto hard commit setting based on tlog size (this closes #358 )
2018-05-03 15:00:47 -07:00
Varun Thacker
8b9c2a3185
SOLR-12288: Add more MDC logging information to core admin requests
2018-05-02 23:36:50 -07:00
Varun Thacker
84925ba9ab
SOLR-12289: Add more MDC logging information to collection admin requests
2018-05-02 19:01:07 -07:00
Adrien Grand
af680af77f
LUCENE-8142: Make postings APIs expose raw impacts rather than scores.
2018-05-02 14:49:32 +02:00
Cao Manh Dat
555b7ef270
SOLR-12278: Add IgnoreLargeDocumentProcessFactory
2018-05-02 17:43:29 +07:00
Mikhail Khludnev
ee7b52f4c6
SOLR-8998: uniqueBlock() aggreagation for singlevalue string fields in json.facet
2018-05-01 20:19:15 +03:00
jdyer1
d92b891f95
SOLR-12284: Stop adding parenthesis to word-break suggestions, unless query uses boolean operators.
2018-04-30 13:47:19 -05:00
Mikhail Khludnev
e3a9817174
SOLR-12275: test cleanup
2018-04-26 20:17:44 +03:00
Cao Manh Dat
e331c068df
SOLR-12250: Remove the usage of mockito
2018-04-26 17:57:41 +07:00
Mikhail Khludnev
d4d21028e9
SOLR-12275: fix caching for \{!filters} and {{filters}} in \{!parent} and \{!child}
2018-04-26 09:40:35 +03:00
Andrzej Bialecki
34170272e1
SOLR-12181: Reset simulator cache state when shard becomes inactive.
2018-04-25 12:24:52 +02:00
David Smiley
1370f6b520
SOLR-12261: Collection deletion's check for alias membership should
...
sync() aliases with ZK before throwing an error.
2018-04-24 23:25:11 -04:00
Andrzej Bialecki
0d969ab85d
SOLR-11833: Allow searchRate trigger to delete replicas.
2018-04-23 22:19:01 +02:00
David Smiley
1409ab8f84
SOLR-11914: Deprecated some SolrParams methods.
...
* toSolrParams(nl) moved to a NamedList method, which is more natural.
2018-04-23 13:26:49 -04:00
Simon Willnauer
4136fe0e65
SOLR-12250: Add missing assumeWorkingMockito call
2018-04-23 10:13:53 +02:00
Cao Manh Dat
f8c210f148
SOLR-12250: NegativeArraySizeException on TransactionLog if previous document more than 1.9GB
2018-04-23 08:42:03 +07:00
Chris Hostetter
4e0e8e979b
SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME
2018-04-22 13:38:37 -07:00
David Smiley
8f296d0ccf
SOLR-12256: AliasesManager.update() should call ZooKeeper.sync()
...
* SetAliasPropCmd now calls AliasesManager.update() first.
* SetAliasPropCmd now more efficiently updates multiple values.
* Tests: Commented out BadApple annotations on alias related stuff.
2018-04-20 16:22:16 -04:00
Dawid Weiss
4eead83a83
SOLR-11200: A new CMS config option 'ioThrottle' to manually enable/disable ConcurrentMergeSchedule.doAutoIOThrottle. (Amrit Sarkar, Nawab Zada Asad iqbal)
2018-04-20 11:34:04 +02:00
Erick Erickson
5ef43e900f
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-04-19 13:14:12 -07:00
Steve Rowe
46037dc674
SOLR-6286: TestReplicationHandler.doTestReplicateAfterCoreReload(): stop checking for identical commits before/after master core reload; and make non-nightly mode test 10 docs instead of 0.
2018-04-19 14:49:10 -04:00
noble
1c8ab330d6
SOLR-12142: EmbeddedSolrServer should use req.getContentWriter
2018-04-19 13:37:31 +10:00
Mikhail Khludnev
dbdedf3e3f
SOLR-12155: making TestUnInvertedFieldException more thread-safe
2018-04-18 14:57:49 +03:00
Mikhail Khludnev
507c439558
SOLR-12187: fix precommit
2018-04-18 12:43:25 +03:00
Cao Manh Dat
1d2441441b
SOLR-12187: ZkStateReader.Notification thread should only catch Exception
2018-04-18 08:40:06 +07:00
Simon Willnauer
d904112428
LUCENE-8253: Don't create ReadersAndUpdates for foreign segments
...
IndexWriter#numDeletesToMerge was creating a ReadersAndUpdates
for all incoming SegmentCommitInfo even if that info wasn't private
to the IndexWriter. This is an illegal use of this API but since it's
transitively public via MergePolicy#findMerges we have to be conservative
with regestiering ReadersAndUpdates. In IndexWriter#numDeletesToMerge we
can only use existing ones. This means for soft-deletes we need to react
earlier in order to produce accurate numbers.
This change partially rolls back the changes in LUCENE-8253. Instead of
registering the readers once they are pulled via IndexWriter#numDeletesToMerge
we now check if segments are fully deleted on flush which is very unlikely and
can be done in a lazy fashion ie. it's only paying the extra cost of opening a
reader and checking all soft-deletes if soft deletes are used and present
in the flushed segment.
This has the side-effect that flushed segments that are 100% hard deleted are also
cleaned up right after they are flushed, previously these segments were sticking
around for a while until they got picked for a merge or received another delete.
This also closes LUCENE-8256
2018-04-17 16:26:52 +02:00
Cao Manh Dat
09db13f4f4
SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed
2018-04-17 20:16:31 +07:00
Alan Woodward
f7f12a51f3
LUCENE-8253: Mute test while a fix is worked on
2018-04-17 11:58:59 +01:00
Ishan Chattopadhyaya
72ee0f64d4
SOLR-11920: Adding a file exists check before skipping a file for replication
2018-04-17 10:48:36 +05:30
Erick Erickson
a417a2cd6a
SOLR-10169: PeerSync will hit an NPE on no response errors when looking for fingerprint.
2018-04-16 21:51:02 -07:00
Alan Woodward
37e065007f
SOLR-12147: Don't use memory-intensive codecs to test uninvert limits
...
This separates out TestDocTermOrds.testTriggerUninvertLimit into its own
test class, and suppresses Memory codec on it
2018-04-16 15:24:04 +01:00
Andrzej Bialecki
1e759bc505
SOLR-12181: Fix test failures.
2018-04-16 13:16:05 +02:00
Cao Manh Dat
3028f3e9ea
SOLR-12028: Remove BadApple for CollectionsAPIDistributedZkTest.testCollectionReload()
2018-04-16 10:26:22 +07:00
David Smiley
dad2d1076d
SOLR-11731: revert to 7 decimal places so we can maintain the round-trip property.
...
Add test that we round-trip random numbers at 7 decimal places. Would fail at 8.
2018-04-14 10:51:51 -04:00
Varun Thacker
93f9a65b1c
SOLR-11724: Cdcr bootstrapping should ensure that non-leader replicas should sync with the leader
2018-04-13 15:38:26 -07:00
David Smiley
e4eb8a870c
SOLR-11731: one more decimal place (8) and we get the target/theoretical precision
2018-04-13 17:05:51 -04:00
Mike McCandless
7c0387ad3f
LUCENE-8248: MergePolicyWrapper is renamed to FilterMergePolicy and now also overrides getMaxCFSSegmentSizeMB
2018-04-13 15:45:19 -04:00
jdyer1
12bd5f9448
SOLR-10513: Implement .equals() for LuceneLevenshteinDistance.
2018-04-13 11:12:46 -05:00
David Smiley
9a149ad7e7
SOLR-11913: SolrParams now implements Iterable<Map.Entry<String,String[]>>
...
and has stream()
2018-04-13 12:05:23 -04:00
Andrzej Bialecki
dfc05faa35
SOLR-12181: Fix NPE. Disable the test until it's fixed.
2018-04-13 12:45:54 +02:00
Erick Erickson
0014f3af88
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-04-12 17:58:32 -07:00
Varun Thacker
2a2a0b6acd
SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir
2018-04-12 15:35:34 -07:00
David Smiley
3d5f2f24c3
SOLR-11336: DocBasedVersionConstraints URP is now more extensible; versionField is a list
2018-04-12 14:04:28 -04:00
Varun Thacker
7a57ca8c0d
SOLR-12065: A successful restore collection should mark the shard state as active and not buffering
2018-04-12 08:20:28 -07:00
Simon Willnauer
19b4483ca0
Fix lint error of unused imports in LeaderVoteWaitTimeoutTest
2018-04-12 12:44:34 +02:00
Cao Manh Dat
11d54b0cc4
SOLR-12214: Leader may skip publish itself as ACTIVE even its last published state is DOWN
2018-04-12 12:28:00 +07:00
yonik
8d20fc575b
SOLR-12190: properly escape output in GraphMLResponseWriter
2018-04-11 23:00:03 -04:00
Tomas Fernandez Lobbe
8927d469cb
SOLR-11982: Add support for indicating preferred replica types for queries
2018-04-11 16:23:00 -07:00
Andrzej Bialecki
376f6c4946
SOLR-12181: Add trigger based on document count / index size.
2018-04-11 15:38:54 +02:00
Steve Rowe
fe0da9e8d5
SOLR-12201: TestReplicationHandler.doTestIndexFetchOnMasterRestart(): handle unexpected replication failures
2018-04-10 22:15:31 -04:00
Mark Miller
b93e24cb83
SOLR-12211: HdfsDirectoryFactoryTest can fail by trying to allocate too much direct memory.
2018-04-10 16:16:23 -05:00
Christine Poerschke
e513c95377
SOLR-12151: Add abstract MultiSolrCloudTestCase class.
2018-04-10 21:09:06 +01:00
Christine Poerschke
e8f862ea44
SOLR-12036: Factor out DefaultStreamFactory solrj class.
2018-04-10 20:45:58 +01:00
Mikhail Khludnev
a39a6ce672
SOLR-12155: awake threads awaiting UIF.<init> despite of exception.
2018-04-10 21:32:25 +03:00
Mikhail Khludnev
764dcc336b
SOLR-12207: rethowing AssertionError from jdk reflection bug
2018-04-10 20:34:07 +03:00
Ishan Chattopadhyaya
a70b257c80
SOLR-12096: Fix test failure, using deterministic sort order
2018-04-10 12:35:05 +05:30
Mark Miller
5e2a5a5b8c
SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source.
2018-04-09 21:57:56 -05:00
David Smiley
f0aed933a6
SOLR-12139: eq() now works on strings and perhaps anything
2018-04-09 12:17:48 -04:00
Alan Woodward
798d351034
LUCENE-8242: Deprecate createNormalizedWeight
2018-04-09 15:07:04 +01:00
Ishan Chattopadhyaya
ea08bd3b67
SOLR-12096: Fixed inconsistent results format of subquery transformer for distributed search (multi-shard)
2018-04-09 16:36:07 +05:30
Alan Woodward
2ae488aae2
SOLR-12147: Don't use MemoryPostingsFormat for TestDocTermOrds.testTriggerUnInvertLimit
...
This can lead to OOM on nightly runs, as it needs to create a very large index,
and the CI machines don't have huge amounts of RAM.
2018-04-07 18:34:25 +01:00
Steve Rowe
5c37b07a3d
SOLR-12199: TestReplicationHandler.doTestRepeater(): TEST_PORT interpolation failure: Server refused connection at: http://127.0.0.1:TEST_PORT/solr
2018-04-06 14:50:21 -04:00
Joel Bernstein
d2845b033e
SOLR-12175: Fix TestConfigSetsAPI
2018-04-05 14:00:07 -04:00
Steve Rowe
8e276b90f5
SOLR-11929: UpdateLog metrics are not initialized on core reload
2018-04-04 11:19:21 -04:00
Andrzej Bialecki
2bbd193691
SOLR-12095: Missed a few calls to init().
2018-04-04 17:13:24 +02:00
Cao Manh Dat
34b83ed869
SOLR-12176: Improve FORCELEADER to handle the case when a replica win the election but does not present in clusterstate
2018-04-04 03:41:57 +07:00
Varun Thacker
56f80c0dc7
SOLR-12154: Disallow explicit usage of Log4j2 logger via forbidden APIs
2018-04-03 18:21:14 -07:00
Andrzej Bialecki
a8b42300c0
SOLR-12095: Fix precommit issues.
2018-04-03 17:19:56 +02:00
Andrzej Bialecki
a14980c479
SOLR-12095: AutoScalingHandler should validate triggers before updating zookeeper.
2018-04-03 15:59:50 +02:00
Tomas Fernandez Lobbe
2c1f110b6b
SOLR-12172: Fixed race condition in collection properties
2018-04-02 15:56:25 -07:00
Joel Bernstein
269a676940
SOLR-12133: Fix precommit
2018-04-02 12:53:12 -04:00
Joel Bernstein
d89a90067b
SOLR-12174: Refactor Streaming Expression function registration
2018-04-02 12:32:31 -04:00
Shalin Shekhar Mangar
805438c59d
SOLR-12133: Removing BadApple annotation
2018-04-02 21:20:40 +05:30
Shalin Shekhar Mangar
8189e4f972
SOLR-12133: Fix race conditions that caused NodeMarkersRegistrationTest.testNodeMarkersRegistration to fail
2018-04-02 21:15:09 +05:30
Mikhail Khludnev
a4789db477
SOLR-7736: break OverseerTriggerThread when interrupted.
2018-04-01 18:37:18 +03:00
Mikhail Khludnev
7a920cb0f6
SOLR-11673: Slave doesn't commit empty index if new index appears on master by deafult.
2018-04-01 16:47:23 +03:00
Cao Manh Dat
ab092942cf
SOLR-12066: Move test to DeleteInactiveReplicaTest
2018-03-31 14:50:28 +07:00
Shalin Shekhar Mangar
bd85fd389f
SOLR-12169: Fix ComputePlanActionTest.testSelectedCollections fails on jenkins by aggressively cleaning up trigger state left by other test methods in the test setup
2018-03-30 22:56:58 +05:30
Shalin Shekhar Mangar
e3c67b1980
SOLR-12169: Update jira number in BadApple annotation
2018-03-30 19:42:13 +05:30
Cao Manh Dat
35bfe89790
SOLR-12066: Cleanup deleted core when node start
2018-03-30 20:11:39 +07:00
Cao Manh Dat
d483108a15
SOLR-12168: LIROnShardRestartTest failures
2018-03-30 19:54:18 +07:00
Shalin Shekhar Mangar
83cca5cd06
SOLR-12133: Fix failures in TriggerIntegrationTest.testEventQueue due to race conditions
2018-03-30 16:42:35 +05:30
Shalin Shekhar Mangar
0e5374e963
SOLR-12152: Extracted TriggerIntegrationTest.testEventFromRestoredState into its own test class
2018-03-30 12:41:18 +05:30
Shalin Shekhar Mangar
1aafc90cbe
SOLR-12152: Fix compilation error due to missing import
2018-03-30 12:23:06 +05:30
Shalin Shekhar Mangar
ac8cbaac06
SOLR-12152: Fix node count to 2 for TriggerSetPropertiesIntegrationTest
2018-03-30 12:19:13 +05:30
Shalin Shekhar Mangar
ed9e5eb75b
SOLR-12152: Split up TriggerIntegrationTest into multiple tests to isolate and increase reliability
2018-03-30 11:08:56 +05:30
Erick Erickson
23707314dd
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-03-29 21:41:03 -07:00
Erick Erickson
e55b7e9911
SOLR-12162: CorePropertiesLocator Exception message contains a typo when unable to create Solr Core
2018-03-29 18:01:38 -07:00
Andrzej Bialecki
668b81721f
SOLR-12145: ConcurrentModificationException in SimNodeStateProvider.getReplicaInfo.
2018-03-29 13:42:19 +02:00
Cao Manh Dat
d7197b2565
SOLR-12087: Check for exception message of request recovery to remove LIR node
2018-03-29 18:38:07 +07:00
Dawid Weiss
e96811c7a5
LUCENE-8228: removed obsolete IndexDeletionPolicy clone() requirements from the javadoc.
2018-03-29 08:58:28 +02:00
Andrzej Bialecki
7260d9ce71
SOLR-11882: SolrMetric registries retained references to SolrCores when closed.
2018-03-28 11:23:47 +02:00
Shalin Shekhar Mangar
3be8cfb356
SOLR-10734: Clone the original solr document each time we retry
2018-03-28 12:56:34 +05:30
Shalin Shekhar Mangar
ab32506243
SOLR-10734: AtomicUpdateRequestProcessor can cause wrong/old values to be set under concurrent updates for the same document. Multithreaded test for AtomicUpdateRequestProcessor was also beefed up and fixed.
2018-03-28 12:40:57 +05:30
Tomas Fernandez Lobbe
3e29c7dbd5
SOLR-12035: edimax should include charfilters in nostopanalyzer
...
This closes #329
2018-03-27 21:37:19 -07:00
Tomas Fernandez Lobbe
f8af274783
SOLR-12153: Remove Thread.sleep from ZkSolrClientTest.testMultipleWatchesAsync
2018-03-27 20:21:02 -07:00
Shalin Shekhar Mangar
89e337ed3d
SOLR-10734: Marking test with BadApple once again until the new failures can be fixed
2018-03-27 19:53:07 +05:30
Shalin Shekhar Mangar
64c110c58d
SOLR-10734: Fix Multithreaded test/support for AtomicURP
2018-03-27 15:05:23 +05:30
Cao Manh Dat
160faaf594
SOLR-12146: LIR should skip deleted replicas
2018-03-27 15:55:43 +07:00
Shalin Shekhar Mangar
ecb94ba442
SOLR-7736: Fix ZkController.publishAndWaitForDownStates
2018-03-27 10:28:34 +05:30
Varun Thacker
bea6e2307b
SOLR-7887: Log4J2 upgrade fixes
2018-03-26 11:32:03 -07:00
Shalin Shekhar Mangar
b0f677c383
SOLR-12087: Fixed bug in TimeOut.waitFor that can cause an infinite loop and added javadocs
2018-03-26 16:58:56 +05:30
Erick Erickson
624d128b5e
SOLR-7887: Upgrade Solr to use log4j2 -- log4j 1 now officially end of life
2018-03-25 19:16:09 -07:00
Jason Gerlowski
c4abbfd5f7
SOLR-11551: Standardize CoreAdmin API status codes
2018-03-24 10:48:15 -04:00
Noble Paul
e364f5be31
SOLR-12015: fixed typo in CHANGES.txt
2018-03-23 13:52:25 +11:00
Noble Paul
e340cef68d
SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g: atomic.add-distict=<multival-field-name>
2018-03-23 13:48:28 +11:00
Cao Manh Dat
92f1cdebfa
SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down state
2018-03-22 16:11:47 +07:00
David Smiley
8e87a3e336
Remove obsolete comment
2018-03-21 11:41:36 -04:00
Cao Manh Dat
d2ef38d784
SOLR-12110: Remove debug log for test
2018-03-21 11:25:53 +07:00
Cao Manh Dat
63a145aa7b
SOLR-12129: After the core is reloaded, term of the core will not be watched
2018-03-21 09:35:51 +07:00
Chris Hostetter
8bd7e5c9d2
SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument
...
This is an optimization that reduces the number of unneccessary fields a ResponseWriter will see if documentCache is used
This commit also includes fixes for SOLR-12107 & SOLR-12108 -- two bugs that were previously dependent on the
un-optimized behavior of DocStreamer in order to function properly.
- SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used
- SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was specified,
the field value was lost if documentCache was not used.
2018-03-19 12:28:54 -07:00
Andrzej Bialecki
ed2d358330
SOLR-11670: Make sure defaults are applied in simulated cluster.
2018-03-19 15:16:50 +01:00
Andrzej Bialecki
9980f05ac3
SOLR-11911: Check for thread interrupted and stop looping.
2018-03-19 14:52:18 +01:00
Erick Erickson
c48177b4b6
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-03-17 19:25:18 -07:00
David Smiley
4b08efcf1c
SOLR-11731: LatLonPointSpatialField now supports docValue retrieval
...
Closes #323
2018-03-17 12:21:53 -04:00
Cao Manh Dat
be8dca3c7b
SOLR-12110: Replica which failed to register in Zk can become leader
2018-03-17 06:54:55 +07:00
Varun Thacker
c4d0223ad4
SOLR-12083: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR
2018-03-16 14:03:48 -07:00
markrmiller
7330010e1d
SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048.
2018-03-16 11:50:52 -05:00
Andrzej Bialecki
0dfe19880c
SOLR-12091: Rename TimeSource.getTime to getTimeNs.
2018-03-15 16:54:41 +01:00
Ishan Chattopadhyaya
fbdf7fa736
SOLR-11920: Differential file copy for IndexFetcher
2018-03-15 19:31:15 +05:30
Shalin Shekhar Mangar
dab739ae4c
SOLR-11702: Minor edits to log and exception messages
2018-03-15 16:58:59 +05:30
Shalin Shekhar Mangar
cb453ce110
SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened due to using stale http connections
2018-03-15 02:22:25 +05:30
Varun Thacker
57524f1d41
SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates
2018-03-14 12:58:30 -07:00
Andrzej Bialecki
5e02c18769
SOLR-11911: Wait a while for left-behind threads from executors.
2018-03-14 14:27:51 +01:00
Shalin Shekhar Mangar
941351a5c2
SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the autoscaling package
2018-03-14 16:29:56 +05:30
Shalin Shekhar Mangar
9de0ebe797
SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page
2018-03-14 10:26:45 +05:30
Andrzej Bialecki
b6fcf4157b
SOLR-12070: Make sure searcher beans are registered.
2018-03-13 16:00:27 +01:00
Andrzej Bialecki
ed6feded6d
SOLR-11670: Use TimeSource's value of NOW consistently when parsing date math.
...
Add a unit test for TimeSource's epochTime.
2018-03-13 13:47:14 +01:00
Shalin Shekhar Mangar
536e16d3af
SOLR-12067: Fix AutoAddReplicasIntegrationTest by using solr.xml which has autoReplicaFailoverWaitAfterExpiration set to 10 seconds
2018-03-13 18:15:21 +05:30
Cao Manh Dat
0cd9f7f35a
SOLR-12028: Remove BadApples for ZkShardTermsTest.testParticipationOfReplicas
2018-03-13 10:32:10 +07:00
yonik
68d8eb4504
SOLR-12064: resize reused accs to fix bugs with limit:-1 and missing:true
2018-03-12 21:56:02 -04:00
Andrzej Bialecki
b82ce515f0
Fix precommit (stray import).
2018-03-12 20:00:13 +01:00
Varun Thacker
2a0b7767ab
SOLR-12076: Remove unnecessary printLayout usage in CDCR tests
2018-03-12 11:07:39 -07:00
Andrzej Bialecki
28ddb5f355
Remove BadApple from this test for now - the bugUrl wasn't valid anymore and
...
the test seems to pass.
2018-03-12 16:36:46 +01:00
David Smiley
bf6503ba58
SOLR-11617: rename alias metadata to properties
2018-03-12 10:36:37 -04:00