Commit Graph

11815 Commits

Author SHA1 Message Date
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
Joel Bernstein bea6f42105 SOLR-12273: Create Stream Evaluators for distance measures 2018-04-25 21:38:12 -04: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
Joel Bernstein c5a1738151 SOLR-12266: Add discrete Fourier transform Stream Evaluators 2018-04-24 21:35:19 -04:00
Andrzej Bialecki d702dc6133 SOLR-11833: Clarify the meaning of "waitFor". Other minor edits. 2018-04-24 12:22:01 +02: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
Erick Erickson 84583d2563 SOLR-12253: Remove optimize button from the core admin page 2018-04-22 19:19:09 -07: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
Steve Rowe 22c4b9c36f SOLR-4793: Document usage of ZooKeeper's jute.maxbuffer sysprop for increasing the file size limit above 1MB 2018-04-20 16:06:22 -04:00
Steve Rowe 76578cf17b SOLR-12163: Minor cleanups 2018-04-20 15:59:06 -04:00
Cassandra Targett b99e07c753 SOLR-11646: more v2 examples; redesign Implicit Handler page to add v2 api paths where they exist 2018-04-20 14:28:31 -05:00
Cassandra Targett d08e62d598 SOLR-11646: Add v2 APIs for Config API; change "ConfigSet" to "configset" in docs & specs to match community spelling 2018-04-20 14:28:31 -05:00
Joel Bernstein f0d1e11796 SOLR-12159: Add memset Stream Evaluator 2018-04-20 11:11:48 -04:00
Shalin Shekhar Mangar a4b335c942 SOLR-12252: Fix jira issue in CHANGES.txt 2018-04-20 20:10:40 +05:30
Shalin Shekhar Mangar 86b34fe0fd SOLR-11252: Fix minor compiler and intellij warnings in autoscaling policy framework 2018-04-20 20:08:37 +05:30
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
Cassandra Targett 42da6f795d SOLR-12163: Updated and expanded ZK ensemble docs 2018-04-19 09:50:09 -05:00
Cassandra Targett aab2c770c6 SOLR-11646: change tab-pane padding to align better under tabs 2018-04-19 08:53:24 -05:00
noble 1c8ab330d6 SOLR-12142: EmbeddedSolrServer should use req.getContentWriter 2018-04-19 13:37:31 +10:00
Steve Rowe d09c76518a SOLR-12204: Upgrade commons-fileupload dependency to 1.3.3 to address CVE-2016-1000031 2018-04-18 19:28:55 -04:00
Steve Rowe 29cbd031c9 Add Log and Run URPs to example OpenNLP NER URP chain 2018-04-18 14:58:54 -04:00
Steve Rowe 79ed3bdf53 Explicitly call out the fact that schema api modification request bodies are in JSON format. 2018-04-18 14:58:54 -04: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
Dennis Gove 8c60be4489 SOLR-11924: Updates solr/CHANGES.txt for v7.4 2018-04-17 18:58:42 -04:00
Houston Putman ae0190b696 SOLR-11924: Added CloudCollectionsListener to watch the list of collections in a cloud. This closes #313 2018-04-17 18:57:04 -04: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
Jason Gerlowski 7edfd9c410 SOLR-11840: Fix bin/solr help-text inconsistencies 2018-04-16 22:21:27 -04: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
Joel Bernstein 487daab629 SOLR-12221: Add valueAt Stream Evaluator 2018-04-13 13:31:51 -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
David Smiley 0292d0f6ea SOLR-12160: Time Routed Alias (TRA) documentation 2018-04-10 23:20:12 -04: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
Joel Bernstein 9ebe11f1d9 SOLR-12158: Allow the monteCarlo Stream Evaluator to support variables 2018-04-10 12:36:22 -04:00
Mikhail Khludnev ce061a5198 SOLR-11251: documenting debug=timing hint for JSON Facet API. 2018-04-10 16:14:16 +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
Joel Bernstein 1d8c58eb6d SOLR-12198: Fix precommit 2018-04-09 21:41:17 -04:00
Joel Bernstein 0e4605cc45 SOLR-12198: Stream Evaluators should not copy matrices needlessly 2018-04-09 21:24:55 -04: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
Uwe Schindler 3530397f17 SOLR-11971: Add CVE number: CVE-2018-1308 2018-04-08 19:20:12 +02:00
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
Cassandra Targett abaf378d0e Ref Guide: add language to source blocks; split optimistic concurrency example & add explanations 2018-04-06 11:00:09 -05:00
Cassandra Targett b2d756c9f4 Ref Guide: fix color definition so monospace links display with color 2018-04-06 11:00:09 -05:00
Chris Hostetter 73d74107dc Use asciidoctor's 'attribute-missing: warn' option and fix some places that were generating warnings because of unescaped/uninteded attribute syntax 2018-04-05 17:16:00 -07:00
Chris Hostetter 9009fe6378 SOLR-10616: add 'java-javadocs' as a variable in the ref-guide, and cleanup some overly specific mentions of 'Java 8'
Continuation of SOLR-12118
2018-04-05 11:36:24 -07:00
Joel Bernstein 4137f320aa SOLR-12183: Fix precommit 2018-04-05 14:00:08 -04:00
Joel Bernstein d2845b033e SOLR-12175: Fix TestConfigSetsAPI 2018-04-05 14:00:07 -04:00
Joel Bernstein c58516edf1 SOLR-12183: Remove dead code 2018-04-05 14:00:07 -04:00
Joel Bernstein 80375acb7f SOLR-12183: Refactor Streaming Expression test cases 2018-04-05 14:00:07 -04:00
Joel Bernstein d420139c27 SOLR-12175: Add random field type and dynamic field to the default managed-schema 2018-04-05 14:00:07 -04:00
Cassandra Targett 8e7b1b2375 Ref Guide: remove unused README that was copied with our theme design and has never been relevant for us 2018-04-05 12:39:48 -05:00
Chris Hostetter 2573eac1c2 SOLR-12134: CHANGES entry: ref-guide 'bare-bones html' validation is now part of 'ant documentation' and validates javadoc links locally 2018-04-05 10:10:20 -07:00
David Smiley 8b3fc53e6e SOLR-12136: highlighting.adoc: Add links and clarify "hl.fl" must refer to stored fields. 2018-04-05 11:36:10 -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
Chris Hostetter c0709f113d SOLR-12134: hook ref-guide 'bare-bones-html' validation into top level documentation target using relative javadoc URL prefixess that are now validated to point to real files 2018-04-03 16:15:09 -07:00
Steve Rowe b87cbc2f75 SOLR-12165: Ref Guide: DisMax default mm param value is improperly documented as 100% 2018-04-03 17:59:34 -04:00
Cassandra Targett a6e24b2098 Ref Guide: fix out of order heading levels (were 3s, should be 2s after 1s) 2018-04-03 10:45:47 -05:00
Andrzej Bialecki a8b42300c0 SOLR-12095: Fix precommit issues. 2018-04-03 17:19:56 +02:00