32094 Commits

Author SHA1 Message Date
Chris Hostetter
b54f43686a Harden CollectionPropsTest:
These fixes all relate to testWatcher + testMultipleWatchers:
* add additional asserts to the test methods to assert the expected property values are found
* mark Watcher.props volatile to prevent stale read by test thread
* add some randomization to Watcher.props to either come from the onStateChanged() input or
  from an explicit call to ZkStateReader.getCollectionProperties
  - previuosly, for reasons i don't understand, the test only consulted
    ZkStateReader.getCollectionProperties inside the Watcher, and ignored the onStateChanged()
    input
  - now the test validates both
* move all Watcher.triggered access into the existing synchronization blocks to prevent
  waitForTrigger() from returning prematurely due to gaining synch lock _after_
  Watcher.triggered was incremented in onStateChanged(), but _before_ onStateChanged() updated
  Watcher.props
* add detailed logging to provide additional info to help debug any additional jenkins failures
  that might pop up in the future if these fixes aren't sufficient

(cherry picked from commit e8418adedbcd0e64cbe53e9b7b935107ce24237a)
2019-08-02 17:03:13 -07:00
Boris Pasko
858b97a144
SOLR-6305: Replication from filesysem defaults, not from server defaults
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-08-02 18:44:25 -04:00
Joel Bernstein
c69548d39f SOLR-13667: Fix precommit 2019-08-02 16:18:14 -04:00
Joel Bernstein
669b2fb0e2 SOLR-13667: Add upper, lower, trim and split Stream Evaluators 2019-08-02 16:17:59 -04:00
Bruno Roustant
0bebca8557 LUCENE-8906: Lucene50PostingsFormat.IntBlockTermState becomes public
(cherry picked from commit 52b5ec8068861d3724c83f63142105b7294cceef)
2019-08-02 00:33:48 +02:00
Chris Hostetter
89af2ec304 SOLR-13664: Fixed SolrTestCaseJ4.deleteCore() to properly reset the dataDir used by initCore()
(cherry picked from commit ab470a6564b1184c2d77892131f56a9912f7d8c6)
2019-08-01 09:16:02 -07:00
noble
e92dba45c5 SOLR-13659: Refactor CacheConfig to lazily load the the implementation class 2019-07-31 19:12:51 +10:00
Noble Paul
09bd23b756 SOLR-13659: Refactor Cache config to lazily load the the class (#813) 2019-07-31 19:12:03 +10:00
Chris Hostetter
3933047cd7 SOLR-13660: Fixed AbstractFullDistribZkTestBase.waitForActiveReplicaCount() to ensure replicas are active.
(cherry picked from commit 6dea203d11feb8c047da883131aacccb3a949042)
2019-07-30 10:15:07 -07:00
Joel Bernstein
6c7c21c574 SOLR-13625: Fix precommit 2019-07-30 11:13:40 -04:00
Joel Bernstein
f6992a3a3b SOLR-13625: Fix broken test cases 2019-07-30 11:13:02 -04:00
Joel Bernstein
eb280c4808 SOLR-13625: Add CsvStream, TsvStream Streaming Expressions and supporting Stream Evaluators 2019-07-30 11:10:10 -04:00
Munendra S N
b82d345e28 LUCENE-8938: use expectThrows() to verify the ex thrown in tests 2019-07-29 22:35:07 +05:30
Munendra S N
bb3372a17c SOLR-13657: fix unsupported xpath test in TestXPathRecordReader
* use expectThrows to verify the exception and the message
* fix NPE in the test
2019-07-29 22:34:57 +05:30
jimczi
c557e4323d LUCENE-8935: BooleanQuery with no scoring clause can now early terminate the query when the total hits is not requested. 2019-07-29 10:05:46 +02:00
Munendra S N
64357bc913 SOLR-13643:add Getter/Setter in ResponseBuilder to handle analytic res 2019-07-29 09:58:23 +05:30
Munendra S N
68ec328807 SOLR-13656: fix bad mergePolicyFactory test in SolrIndexConfigTest
* use expectThrows to verify the exception and ex message
* remove unused DummyMergePolicy
2019-07-29 09:58:15 +05:30
Munendra S N
691b095066 SOLR-13633: fix typos in analytics documentation 2019-07-29 09:58:07 +05:30
Jason Gerlowski
ca4cd3c7d3 SOLR-13629: Cleanup whitespace in analytics contrib 2019-07-28 15:37:59 -04:00
vinod kumar
a229e711ca LUCENE-8936: Add SpanishMinimalStemFilter
Signed-off-by: Tomoko Uchida <tomoko@apache.org>
2019-07-28 23:40:46 +09:00
Chris Hostetter
32da339365 Harden RulesTest
* ensure all collections/replicas are active

* use waitForState or waitForActiveCollection before checking rules/snitch to prevent false failures on stale state

* ensure cluster policy is cleared after each test method

Some of these changes should also help ensure we don't get (more) spurious failures due to SOLR-13616

(cherry picked from commit 4050ddc59beeff2be5a862782579ceb8e5775c60)
2019-07-26 18:41:29 -07:00
iverase
d7e72d7e80 Add end tag for version 2019-07-26 12:41:16 +02:00
Atri Sharma
bbaa02ddc6 LUCENE-8915 : Improve Javadocs for RateLimiter and SimpleRateLimiter (#789) 2019-07-26 11:29:47 +02:00
iverase
faa7091955 Add back-compat indices for 8.2.0 2019-07-26 10:21:31 +02:00
iverase
d2d646fcd6 DOAP changes for release 8.2.0 2019-07-26 09:25:54 +02:00
Ishan Chattopadhyaya
fdcf3155c7 SOLR-13637: Using google common's ImmutableMap instead of carrot's 2019-07-25 19:16:59 -04:00
Atri Sharma
e4ed92c4c5 LUCENE-8931: Remove Custom ScoreDoc Equality Method (#806) 2019-07-25 20:00:01 +02:00
Jason Gerlowski
fa9473df8f SOLR-13622: Add fileStream stream-source 2019-07-25 09:14:01 -04:00
noble
ab1e4b429f SOLR-13637: BasicAuthIntegrationTest failures fixed 2019-07-25 04:29:15 -04:00
yonik
d842b45727 SOLR-13399: annotate flaky test 2019-07-24 22:00:30 -04:00
Adrien Grand
8df37aaf2c LUCENE-8922: 8.x adjustments. 2019-07-24 16:08:44 +02:00
Adrien Grand
967e1c82be LUCENE-8922: Better impacts for DisjunctionMaxQuery. (#791) 2019-07-24 15:13:20 +02:00
noble
7664c6c1f7 SOLR-13637: addressing test failures take 2 2019-07-23 12:16:05 -04:00
Munendra S N
1089bbd73b SOLR-13191: correct the zookeeper link in ref-guide 2019-07-23 21:12:55 +05:30
Andrzej Bialecki
82a4614856 SOLR-13558: Allow dynamic resizing of SolrCache-s. 2019-07-23 12:54:58 +02:00
noble
2b0efb69eb SOLR-13637: reject duplicate jar updates 2019-07-22 16:24:46 -04:00
noble
21843dcd0d SOLR-13637: addressing test failures 2019-07-22 08:31:56 -07:00
Jan Høydahl
eca1e969f1 SOLR-6520: Replace old wiki link with versioned RefGuide link in version specific release docs
(cherry picked from commit 369a5dc796e998f11fa5f76b40ade5aad8cff6ea)
2019-07-22 14:27:02 +02:00
noble
3b215927e8 SOLR-13637: removed ununsed code 2019-07-21 12:39:03 -07:00
Noble Paul
63d127c14f SOLR-13637 Enable loading of plugins from the corecontainer memclassloader 2019-07-21 12:38:47 -07:00
noble
8870b4ee32 SOLR-13565: Precommit errors 2019-07-22 03:33:36 +10:00
Tomoko Uchida
5ff3ebec12 LUCENE-8911: Use MockTokenizer for tests. 2019-07-21 20:00:16 +09:00
Mikhail Khludnev
4e6a6ab46b SOLR-11556: fixing multiple backup repository support. 2019-07-21 13:07:25 +03:00
Munendra S N
e7c74b89ac SOLR-13640: update README
Use new wiki links in readme. Older wiki links still exists, will
be pointed to new links later. For now, redirects are configured

Fixes #790
2019-07-20 18:35:13 +05:30
Munendra S N
9d223b00b3 SOLR-10377: add debug.explain.structured to Admin UI
* This param would be displayed only if debugQuery is selected
2019-07-20 10:52:04 +05:30
Munendra S N
37955f789e SOLR-12870: use StandardCharsets instead of String values
Fixes #469
2019-07-20 10:22:29 +05:30
noble
5c1b3d03f4 SOLR-13565: Node level runtime libs loaded from remote urls
SOLR-13553: Node level custom RequestHandlers
2019-07-20 14:35:40 +10:00
Noble Paul
e3b0fc7442 SOLR-13565, SOLR-13553 (#774)
* SOLR-13565: initial commit

* SOLR-13565: updated with testcase

* SOLR-13565: removed unused methods

* SOLR-13565: better logging

* SOLR-13565: disable SSL

* SOLR-13565: more tests

* SOLR-13565: syncing with master

* SOLR-13565: fixing tests

* SOLR-13565: fixing tests

* SOLR-13534: Fix test

Remove buggy 'port roulette' code that can easily fail if OS gives the selected port to a different process just before creating the server

Use jetty's built in support for listining on an OS selected port instead

Also increase timeouts to better account for slow/heavily loaded (ie:jenkins) VMs where SolrCore reloading may take longer then 10 seconds

* SOLR-13565: set proper permission name

* SOLR-13565: syncing with master

* SOLR-13565: syncing with master

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: removed accidental change

* SOLR-13565: more tests

* SOLR-13565: Tests with key signing tests

* SOLR-13565: fixing concurrency issues in tests

* SOLR-13565: add tests with 512 bit RSA

* SOLR-13565: fixing concurrency issues

* SOLR-13565: remove unused code
2019-07-20 14:35:20 +10:00
yonik
cab2db84b2 SOLR-13399: SPLITSHARD splitByPrefix for compositeId 2019-07-19 11:37:43 -04:00
Gus Heck
fb7a34cd5c SOLR-13375 - CHANGES.txt - Probably should be in a new features section
(cherry picked from commit b619bcd1fae1e8d52c307f4e6f2743f48c0f3712)
2019-07-19 11:07:27 -04:00