Commit Graph

7323 Commits

Author SHA1 Message Date
Andrzej Bialecki 585ba164a8 SOLR-12392: Improve reliability of IndexSizeTriggerTest. 2018-08-16 22:05:27 +02:00
Andrzej Bialecki 9572e129f8 SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. 2018-08-16 21:44:10 +02:00
David Smiley a661ebc6df SOLR-12591: Avoid JDK 9 bug with certain timezones like AKDT; test with EDT.
Also standardized on single 'z' in the test patterns, which is equivalent to triple.
2018-08-16 15:16:26 -04:00
Shalin Shekhar Mangar 57b33c19a4 SOLR-12607: Minor refactorings
Replaced a few private instances with lambdas and extracted common code for retrying splits into a new method
2018-08-16 16:07:05 +05:30
Shalin Shekhar Mangar 94ecb0616a SOLR-12607: Extract common code from testSplitAfterSplit and testSplitAfterSplit2 methods
The testSplitAfterSplit and testSplitAfterSplit2 tests only differ in the kind of fault injection being used. The rest of the test code is exactly the same so the common code is extracted into a new method called splitAfterSplit.
2018-08-16 15:19:56 +05:30
Shalin Shekhar Mangar 887055d892 SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery 2018-08-16 15:00:49 +05:30
Shalin Shekhar Mangar 100b1511dd SOLR-12607: Increase recovery wait time from 15 seconds to 30 seconds to reduce spurious test failures 2018-08-16 13:10:01 +05:30
Shalin Shekhar Mangar 93a20b72b1 SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. Also removed some unused overridden methods to create solr clients 2018-08-16 08:01:08 +05:30
Noble Paul a059c944c1 SOLR-12665: Autoscaling policy not being refreshed due to caching 2018-08-16 00:02:27 +10:00
Jan Høydahl f3339d14c9 SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement 2018-08-15 13:38:05 +02:00
Erick Erickson 4f1c0aab1c SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:25:17 -07:00
Erick Erickson dcbd5323bb SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-14 21:24:59 -07:00
Bar Rotstein ec01cc981c SOLR-12591: ParseDateFieldUpdateProcessorFactory: Use "lenient" and strip surrounding quotes.
More tests, ported from "extract" contrib stuff.
2018-08-15 00:04:09 -04:00
Tomas Fernandez Lobbe bff7a3bbb1 SOLR-12222, SOLR-12028: Remove @BaddApple annotation from TestDistributedSearch
This test hasn't failed since the changes in SOLR-12222 were committed
2018-08-14 13:25:05 -07:00
Andrzej Bialecki 8dd704ef78 SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. 2018-08-14 20:41:42 +02:00
Uwe Schindler 928b92caa0 SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples for configuration in Solr's schema 2018-08-11 14:07:31 +02:00
Joel Bernstein 71310a4722 SOLR-11585: Solr SQL does not work with point numeric fields 2018-08-09 19:57:50 -04:00
Jason Gerlowski 00aeb64c10 SOLR-12555: Use `expectThrows` for expected exceptions
This commit replaces the `try { doX(); fail(); }` pattern with the
`expectThrows` test helper, which was created for this purpose.  This
commit makes these changes in the core package: `o.a.solr.cloud`.

Closes #425
2018-08-09 15:46:50 -04:00
Varun Thacker e9f3a3ce1d SOLR-12616: Optimize Export writer upto 4 sort fields to get better performance. This was removed in SOLR-11598 but brought back in the same version 2018-08-08 13:28:00 -07:00
Varun Thacker 7c4584bd4f SOLR-11008: Use a lighter config for MetricsHandlerTest and ensure the core is up before the test starts 2018-08-08 13:28:00 -07:00
Noble Paul 9b418a4593 SOLR-12618: AutoScalingHandlerTest failing in jenkins 2018-08-09 01:24:03 +10:00
Jan Høydahl 9306922d65 SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble 2018-08-08 12:43:19 +02:00
Moshe 38bf976cd4 SOLR-12485: Solr-Update XML format now accepts child documents under a field
thus providing a semantic relationship.  (like allowed for JSON).
Improved XML.java a bit
Closes #430
2018-08-07 13:52:11 -04:00
David Smiley c3887b351e SOLR-12586: Change ParseDateFieldUpdateProcessorFactory to use java.time.DateTimeFormatter, not Joda Time.
Note: slightly different pattern language!
Remove Joda Time.
Closes #428
2018-08-07 11:51:16 -04:00
Andrzej Bialecki 208d59b5e3 SOLR-12541: Metrics handler throws an error if there are transient cores. 2018-08-07 13:21:41 +02:00
Erick Erickson 96e8392921 SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors 2018-08-06 20:04:59 -07:00
Tomas Fernandez Lobbe 896fd0ebd5 SOLR-12222: Improve TestDistributedSearch search
Consider the case when the distributed requests fails with timeAllowed before it reaches the shards
2018-08-06 16:58:08 -07:00
Tomas Fernandez Lobbe db1e0642cb SOLR-12626: TestInjection.waitForInSyncWithLeader retries in case of errors
When waiting for follower replicas to be in sync with the leader, TestInjection.waitForInSyncWithLeader
now keeps waiting even if it gets an exception while trying to get leader's replication details. The
method will only exit when it exhausts the number of retries or succeeds.
2018-08-06 15:59:25 -07:00
Tomas Fernandez Lobbe c338cf61e7 SOLR-11881: Retry update requests from leaders to followers 2018-08-06 15:56:49 -07:00
Varun Thacker 592899a419 SOLR-12615: HashQParserPlugin won't throw an NPE for string hash key and documents with empty value 2018-08-04 14:32:36 -07:00
Jan Høydahl 17a02c1089 SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics 2018-08-03 13:55:11 +02:00
Erick 6afd3d1192 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-08-02 17:40:59 -07:00
Andrzej Bialecki b5ed6350a0 SOLR-12509: Fix a bug when using round-robin doc assignment. 2018-08-02 21:17:15 +02:00
Andrzej Bialecki d1173b8adc SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen. 2018-08-02 18:47:58 +02:00
Andrzej Bialecki 5de10c7966 SOLR-12344: SolrSlf4jReporter doesn't set MDC context. 2018-08-02 14:29:47 +02:00
Noble Paul 868e970816 SOLR-12592: support #EQUAL function in cores in autoscaling policies 2018-08-02 15:20:46 +10:00
Shalin Shekhar Mangar 259bc2baf7 SOLR-12607: Fixed two separate bugs in shard splits which can cause data loss. The first case is when using TLOG replicas only, the updates forwarded from parent shard leader to the sub-shard leader are written only in tlog and not the index. If this happens after the buffered updates have been replayed then the updates can never be executed even though they remain the transaction log. The second case is when synchronously forwarding updates to sub-shard leader fails and the underlying errors are not propagated to the client 2018-08-02 08:24:32 +05:30
Andrzej Bialecki 1133bf98a5 SOLR-12509: Improve SplitShardCmd performance and reliability. 2018-08-01 16:30:59 +02:00
Cao Manh Dat 0dc124aa78 SOLR-12412: Fix precommit 2018-08-01 07:14:41 +07:00
Cao Manh Dat eada799f57 SOLR-12412: Leak transaction log on tragic event 2018-08-01 07:13:41 +07:00
Varun Thacker c9e3c456e3 SOLR-11807: Simply testing of createNodeSet with restoring collection and fixing the test failure 2018-07-31 15:19:23 -07:00
Christine Poerschke 4a1ee046c3 SOLR-12402: Factor out SolrDefaultStreamFactory class. 2018-07-31 19:29:43 +01:00
Christine Poerschke 9262ed7e56 SOLR-12558: solr/core (private) logger renames 2018-07-31 16:58:51 +01:00
Noble Paul 4602e4de45 SOLR-12601: Refactor the autoscaling package to improve readability 2018-07-31 13:12:34 +10:00
Steve Rowe a08eadb480 Fix InfixSuggestersTest.testShutdownDuringBuild() failures 2018-07-30 22:49:49 -04:00
Varun Thacker 8d28bbc905 SOLR-12477: Return server error(500) for AlreadyClosedException instead of client Errors(400) . This closes PR #402 2018-07-30 17:42:03 -07:00
Christine Poerschke 3583bdb324 SOLR-12558: solr/core (private) logger rename - ExportWriter 2018-07-30 18:48:58 +01:00
Christine Poerschke e1063b7f4b SOLR-12558: solr/core (private) logger rename - JettySolrRunner 2018-07-30 18:46:12 +01:00
Adrien Grand 61e89e3ca0 LUCENE-8431: Top-docs collectors now collect lower bounds of the hit count. 2018-07-30 16:38:05 +02:00
Adrien Grand 9ca053712a LUCENE-8430: TopDocs.totalHits may now be a lower bound of the hit count. 2018-07-30 16:38:05 +02:00
Adrien Grand 3a837ca374 LUCENE-8412: Further simplification. 2018-07-30 16:20:36 +02:00
Alexandre Rafalovitch e264d03920 SOLR-12574: Use a common bucket for all significantTerms outputs 2018-07-29 12:02:07 -04:00
Shalin Shekhar Mangar 179c8f9b48 SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node.
A collection may be co-located with another collection during collection creation time by specifying a
'withCollection' parameter. It can also be co-located afterwards by using the modify collection API.
The co-location guarantee is enforced regardless of future cluster operations whether they are invoked
manually via the Collection API or automatically by the Autoscaling framework.

Squashed commit of the following:

commit 3827703b38c598f1247c90ab57d3d640ab3a9e21
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:54:10 2018 +0530

    SOLR-11990: Added change log entry

commit 7977222e07ba47274062cb8d8a69e7956d644000
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:52:17 2018 +0530

    SOLR-11990: Added change log entry

commit 1857075fdb9d535b6149ad4369fed8b64b0c01f6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 11:49:51 2018 +0530

    SOLR-11990: Added note about co-location guarantees being one way only

commit 8557cbc8a511f21d1fcad99e11ea9d2104d0bef4
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:43:37 2018 +0530

    SOLR-11990: Remove unused import

commit 864b013fd744edca9b6b84a8a7573fab3c5310d5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:21:59 2018 +0530

    SOLR-11990: Fixing compilation issues after merging master

commit dd840a2f7e765ee96c899d4d9ea89b6b67c5ae62
Merge: bb4ffb3 828d281
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Sat Jul 28 10:03:50 2018 +0530

    Merge branch 'master' into jira/solr-11990

    # Conflicts:
    #	solr/solr-ref-guide/src/collections-api.adoc
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Clause.java
    #	solr/solrj/src/java/org/apache/solr/client/solrj/cloud/autoscaling/Suggestion.java

commit bb4ffb32c4960a2809ac8927e214e1e012204a73
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 14:09:44 2018 +0530

    SOLR-11990: Ensure that the suggestion are validated by the policy engine otherwise move to the next candidate replica or the next candidate node

commit a97d45b22f9c232e939f979502c761001be9ae24
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 13:22:10 2018 +0530

    SOLR-11990: Autoscaling suggestions for withCollection violations should prefer moving replicas before adding replicas

commit 7b5a84338dfe7335599a5e96aff2d26cb4eeaac6
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 27 12:22:45 2018 +0530

    SOLR-11990: Fix statement about the behavior of the modify collection API when modifying the withCollection parameter

commit 63aec4fe0de7025c16b6ebc47dad1004531ecee1
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Thu Jul 26 07:29:07 2018 +0530

    SOLR-11990: Added new page to the reference guide describing how to colocate collections together including guarantees and limitations

commit 6bfcd0786bb30353de9c26a01ec97ce3191b58f8
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:42:25 2018 +0530

    SOLR-11990: Added another test which creates two collections which are colocated with two different collections and ensures that create collection and add replica operations work correctly

commit 4cead778f0044b6fb4012b085abf7b60350f495b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 21:07:47 2018 +0530

    SOLR-11990: Stop or start jettys in test setup to ensure that we always have exactly 2 replicas running before a test starts

commit 70dbfd042c2164fcd76d406eeab1518e4d3147fb
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:19:07 2018 +0530

    SOLR-11990: Added description of the new withCollection parameter in the reference guide

commit 9d8260852b9d667d4d8e026432fd7727b7789393
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 19:16:46 2018 +0530

    SOLR-11990: Reset count down latch during test setup

commit ae508165571b1afde54337859b8d5fdbb1d67312
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 25 15:43:54 2018 +0530

    SOLR-11990: Add support for withCollection in simulated create collection API

commit 84f026b8c4cc25edb548430b8f5ad09d2486b3b5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 17:21:33 2018 +0530

    SOLR-11990: Ported the refactoring made in CreateCollectionCmd to the simulated version so that simulation tests are able to create collections correctly

commit defe111c9d31c8e4f0f00b4f2f3c875f5b2fa602
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:17:52 2018 +0530

    SOLR-11990: Add missing javadoc for return statement

commit 8e47d5bc4545548c5441909c3fcc1a7901b38185
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:11:45 2018 +0530

    SOLR-11990: Replace usage of forbidden Charsets with StandardCharsets class

commit 2d1b9eb25ea96a3a42c000ae654400ed44c17554
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 16:07:36 2018 +0530

    SOLR-11990: Extract ConditionType to an interface VarType along with a WithCollectionVarType implementation

commit 1de2a4f52a59afca28de75bfa5156a3d6567a4f5
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 12:53:26 2018 +0530

    SOLR-11990: Pass strict-ness parameter to the ConditionType so that WITH_COLLECTION can choose not to project add replica in strict mode.

    This ensures that add replica or move replica suggesters always choose nodes that already have withCollection replicas first unless there are violations in doing so. Only if the first pass fails to find a suitable replica, do we go to the other nodes in the cluster. This also removes the need for the majority of changes in AddReplicaSuggester and so they've been reverted.

commit 0d616ed9e9bad791548c87086cba7760d724350d
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Tue Jul 24 11:36:34 2018 +0530

    SOLR-11990: Minor changes to formatting and code comments

commit 1228538f934f35f15797d89c2c66f2deb9cddd8c
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 14:26:19 2018 +0530

    SOLR-11990: Added a test which simulates a lost node and asserts that move replica suggester moves the replica on the lost node to a node already having the withCollection present

commit 582f1fd98de93ab73c74a1f623749dd031beb381
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:35:22 2018 +1000

    SOLR-11990: NPE removing unnecessary System.out.println

commit 501bc6c1d066321b344bbb8b1de3c2ead52f8c49
Author: Noble Paul <noble@apache.org>
Date:   Mon Jul 23 18:31:07 2018 +1000

    SOLR-11990: NPE during class init

commit acbf4a69321e16cff11cc7cf0a1f076fd9ac0037
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Mon Jul 23 13:55:30 2018 +0530

    SOLR-11990: Added asserts on the nodes that should be selected by the add replica suggester

commit 4824933fd6eb7d1773acbff1a1a0c5e670226e0b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 14:30:52 2018 +0530

    SOLR-11990: Added WITH_COLLECTION to global tags. Fixed implementation of addViolatingReplicas and getSuggestions in the clause impl. Added more asserts in testWithCollectionSuggestions.

commit dbadb33211c190026e08d8e3ea587b6f8df8720b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Fri Jul 20 13:44:36 2018 +0530

    SOLR-11990: Added support for comparing violations, generating suggestions and adding violating replicas

commit ada1f17d5c93a4186260473e4822d2bee1da0e16
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 19:14:56 2018 +0530

    SOLR-11990: Fix mock node state provider in TestPolicy to use the right cluster state. Added nocommits to ensure that we return the right suggestions for this feature.

commit ef2d61812e0d96eb2275b3411906d9de57ab835e
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 18:39:51 2018 +0530

    SOLR-11990: Add missing node in nodeValues configuration

commit 34841fc01fea4a9f1e6a9f64050e576f2247a72b
Author: Shalin Shekhar Mangar <shalin@apache.org>
Date:   Wed Jul 18 16:32:57 2018 +0530

    SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node
2018-07-29 07:26:13 +05:30
Shalin Shekhar Mangar 3119fbb947 SOLR-12597: Migrate API should fail requests that do not specify split.key parameter 2018-07-27 11:53:53 +05:30
David Smiley e2b08a4d47 SOLR-11542: Add more logging via @LogLevel to diagnose rare failures 2018-07-26 12:22:26 -04:00
Chris Hostetter 71c0bddd14 SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option using the extended type:func syntax 2018-07-25 10:06:30 -07:00
Varun Thacker a254e7d7bc SOLR-11598: Fix test failure due to ordering of sub-tests 2018-07-24 13:09:04 -07:00
Chris Hostetter 98d463ae48 SOLR-12567: JSON Facet "functions" now support an extended "type:func" syntax, similar to other types of facets
This also allows additional local params to be specified for if the aggregation function can take advantage of them.
2018-07-24 10:43:49 -07:00
Adrien Grand d010cdd87e LUCENE-8412: Fix TestDistributedGrouping failure. 2018-07-24 12:10:25 +02:00
Jason Gerlowski de16baaa2f Fix precommit: unused TestExportWriter imports 2018-07-23 20:14:58 -04:00
Varun Thacker 877bde7347 SOLR-11598: Fix test case + class name typo 2018-07-23 12:21:59 -07:00
Adrien Grand 55bfadbce1 LUCENE-8412: TopFieldCollector no longer takes a trackDocScores option. 2018-07-23 09:06:49 +02:00
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