Commit Graph

7034 Commits

Author SHA1 Message Date
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
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
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