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
Andrzej Bialecki
55ba89ef42
SOLR-12070: Fix testJmxIntegration that used obsolete APIs.
2018-03-12 14:28:10 +01:00
Cao Manh Dat
a9fd0754ba
SOLR-12028: Remove BadApples for LIRRollingUpdatesTest
2018-03-12 17:39:36 +07:00
Mikhail Khludnev
8f1350af20
SOLR-11673: specifying exact ticket in @BadApple
2018-03-11 11:00:55 +03:00
Mikhail Khludnev
fa55f0c2f2
SOLR-9510: introducting {!filter param=$fq excludeTags=t,q}foo:bar, also adding
...
filters and excludeTags local params into {!parent} and {!child}
2018-03-11 08:25:05 +03:00
Cao Manh Dat
e926f435d7
SOLR-11702: Remove noise of exception messages on failed to ping leader
2018-03-11 07:05:46 +07:00
Erick Erickson
f1f929b15a
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-03-10 10:58:15 -08:00
Jason Gerlowski
971bd26df6
SOLR-11629: Add new CloudSolrClient.Builder ctors
...
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs. One of these two
values must be provided to create a working CloudSolrClient.
Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup. It deprecates the existing
no-arg CloudSolrClient ctor.
Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Shalin Shekhar Mangar
e47bf8b63a
SOLR-12011: Remove unused imports
2018-03-10 06:23:29 +05:30
Shalin Shekhar Mangar
f0d46ead45
SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds
2018-03-10 05:59:16 +05:30
Cao Manh Dat
05d4a9320c
SOLR-12051: Adding error log in case of data loss
2018-03-10 07:20:05 +07:00
Andrzej Bialecki
78097d2098
SOLR-12075: BadApple TestLargeCluster until the issues can be resolved.
2018-03-09 21:25:37 +01:00
Cao Manh Dat
423a8cf69c
SOLR-12051: Election timeout when no replicas are qualified to become leader
2018-03-09 18:19:09 +07:00
Cao Manh Dat
dae572819b
SOLR-11702: Fix precommit, only throw error to client if the replica is not in the same shard as leader
2018-03-09 10:34:59 +07:00
David Smiley
588e19eda1
SOLR-11976: TokenizerChain.normalize was only considering the first MultiTermAwareComponent
2018-03-08 22:30:39 -05:00
Andrzej Bialecki
b17052e852
SOLR-11670: Implement a periodic house-keeping task.
2018-03-08 14:31:40 +01:00
David Smiley
ee1c742c19
SOLR-11722: Merge CREATEDROUTEDALIAS command into CREATEALIAS. Only
...
an API & docs change; the implementation was already there.
2018-03-07 15:16:02 -05:00
Tomas Fernandez Lobbe
23765a9ff9
SOLR-12028, SOLR-7736: testPublishAndWaitForDownStates always fails
2018-03-07 11:04:14 -08:00
Shalin Shekhar Mangar
498927d032
SOLR-11066: Use timeZone.toZoneId instead of ZoneId.of(timeZoneString) because the latter cannot lookup short aliases
2018-03-07 17:22:36 +05:30
Shalin Shekhar Mangar
1b8651db4f
SOLR-12011: Remove unused import
2018-03-07 11:23:56 +05:30
Cao Manh Dat
3c153ccd0e
SOLR-12011: FORCELEADER should also remove recovering flag of a replica so it can win the election
2018-03-07 09:09:52 +07:00
Shalin Shekhar Mangar
8b9a1adbae
SOLR-11066: Renamed the internal ScheduledTriggers.ScheduledTrigger inner class to TriggerWrapper to avoid confusion with the ScheduledTrigger added in this issue
2018-03-07 00:26:03 +05:30
Shalin Shekhar Mangar
9cec2221a6
SOLR-11066: Added examples of startTime in ref guide. Added null check for processor and code comments to explain skipped events and lastRunAt initialization. Moved default preferredOp value to ComputePlanAction. Extracted a constant.
2018-03-06 21:27:05 +05:30
Cao Manh Dat
4bdc99a465
SOLR-12047: Increase checkStateInZk timeout
2018-03-06 08:51:38 +07:00
Tomas Fernandez Lobbe
c1a44251fe
SOLR-11960: Add collection-level properties
...
Similar to cluster properties, but apply to a single collection.
2018-03-05 16:59:56 -08:00
Tomas Fernandez Lobbe
c4c391ad15
SOLR-12020: Remove unused import
2018-03-05 16:56:33 -08:00
yonik
fc2fd1dc25
SOLR-12020: fix refinement of terms facet on date field (don't use Date.toString)
2018-03-05 11:03:48 -05:00
Noble Paul
50a04c077f
SOLR-11267: Add support for "add-distinct" atomic update operation
2018-03-05 21:37:10 +11:00
Cao Manh Dat
27eb6ba062
SOLR-12011: Remove FORCEPREPAREFORLEADERSHIP
2018-03-05 16:33:45 +07:00
Shalin Shekhar Mangar
3344306473
SOLR-11066: Fix TriggerIntegrationTest.testScheduledTrigger by ensuring number of jetties is always 2 before start of test
2018-03-05 14:27:10 +05:30
Cao Manh Dat
9de4225e9a
SOLR-12011: Consistence problem when in-sync replicas are DOWN
2018-03-04 12:57:05 +07:00
Erick
ad7e94afb2
SOLR-12028: BadApple and AwaitsFix annotations usage
2018-03-03 21:42:14 -08:00
Shalin Shekhar Mangar
78f11d05ac
SOLR-11066: Marking the test as AwaitsFix until the test failures on jenkins are investigated and fixed
2018-03-04 00:27:16 +05:30
Mark Miller
18edca0fb2
SOLR-12053: RestartWhileUpdatingTest and HdfsRestartWhileUpdatingTest are incredibly slow.
2018-03-03 10:09:09 -06:00
Shalin Shekhar Mangar
71fc9cd43d
SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a given start time
2018-03-03 01:06:21 +05:30