Andrzej Bialecki
4d1058db6e
SOLR-13566: REINDEXCOLLECTION does not work with (basic) authentication.
2019-06-25 16:54:27 +02:00
Noble Paul
742c80550c
reformatting
2019-06-25 17:02:17 +10:00
Mikhail Khludnev
4589bbe47b
SOLR-12866: Turn TestHdfsCloudBackupRestore ON. No changes yet.
2019-06-25 08:49:26 +03:00
Munendra S N
e0e5296abc
SOLR-12979: fail fast when collapse field is non-docValued & non-uninvertible
...
* Improve error message when collapse field is non-docValued & non-uninvertible.
Return error code 400 instead of 500 in the above case
2019-06-25 09:50:41 +05:30
David Smiley
85ec39d931
SOLR-13367: Range queries will now highlight in hl.method=unified mode.
...
Lucene MatchesUtils.disjunction method for disjunction over
BytesRefIterator terms.
2019-06-25 00:10:08 -04:00
Chris Hostetter
689fa583a0
Revert "SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs"
...
This reverts commit 6d6f14d391
.
Reason for revert: after doing more testing I realized there are tests I overlooked which can (with randomized SSL usage) trigger NullPointerException
(or other related failures) in After/AfterClass due assumptions about cleanup that isn't actaully neccessary due to the AssumptionFailure
that may occur during Before/BeforeClass
2019-06-24 15:42:23 -07:00
Chris Hostetter
6d6f14d391
SOLR-12988: SSLTestConfig has been changed to throw AssumptionViolatedException when tests/seeds request SSL but the JVM appears to be an OpenJDK version known to have SSL bugs
2019-06-24 15:02:18 -07:00
Munendra S N
9cfba4a728
SOLR-13187: Fix NPE when invalid qParser is specified
...
* When non-existent qParser is specified return 400 error code
* SOLR-13197: Fix NPE when createQParser is called in StatsField
2019-06-24 22:38:39 +05:30
Munendra S N
54aff4ac7d
SOLR-12127: set op with null or empty list val should be atomic update
...
* Inplace update supports set and inc operation but when null or
empty list is specified with set op, then it should always be treated
as atomic update since this case is equivalent to removing field
from the document
2019-06-24 14:50:51 +05:30
Tomoko Uchida
98c85a0e1a
LUCENE-8778: Define analyzer SPI names as static final fields and document the names in all analysis components. This also changes SPI loader to detect service names via the static NAME fields instead of class names.
2019-06-22 10:46:37 +09:00
David Smiley
54cc70127b
LUCENE-8848 LUCENE-7757 LUCENE-8492: UnifiedHighlighter.hasUnrecognizedQuery
...
The UH now detects that parts of the query are not understood by it.
When found, it highlights more safely/reliably.
Fixes compatibility with complex and surround query parsers.
2019-06-21 17:05:56 -04:00
David Smiley
54c5b8a7f1
SOLR-13523: Fix Atomic Updates when _nest_path_ is declared.
...
Change the most common test schema to include this field so we better
test our code paths.
2019-06-20 11:59:22 -04:00
Gus Heck
5d47875184
SOLR-13419 - Better infix for TRA collection names
2019-06-20 09:47:52 -04:00
Cao Manh Dat
e3752e87d0
SOLR-12988: Revert changes
2019-06-19 21:07:38 +01:00
Cao Manh Dat
91944a468e
SOLR-12988: Skip running tests with SSL on Java 11 to 11.0.2
2019-06-19 10:43:17 +01:00
Noble Paul
ed42d36c7b
SOLR-13329: changed the put:on-each to put: on-each-node
2019-06-19 00:16:57 +10:00
Cao Manh Dat
c8382890ae
SOLR-12988: Avoid using TLSv1.3 for HttpClient
2019-06-18 12:49:51 +01:00
Cao Manh Dat
6d5453d508
Fix precommit
2019-06-18 12:36:43 +01:00
Daniel Collins
342b558b01
SOLR-13434: Fix opentracing mock dependency for Solr core tests
2019-06-18 11:37:31 +01:00
Mikhail Khludnev
4f6314c59b
SOLR-7530: /terms responds per field arrays in JSON by default
2019-06-18 08:38:02 +02:00
Chris Hostetter
3030ea9d94
eliminate CPU hogging spin-loops in OverseerTest
...
this test already uses waitForState (frequently via verifyReplicaStatus) so there is no reason to include CPU/network/ZK intensive infinite loop checks looking for udpated cluster state
2019-06-17 15:42:14 -07:00
Chris Hostetter
7eb8703df6
SOLR-13490: fix TestWaitForStateWithJettyShutdowns to use correct (randomized) JettyConfig
2019-06-17 15:34:14 -07:00
Chris Hostetter
5a974860fa
SOLR-13490: Fix CollectionStateWatcher/CollectionStatePredicate based APIs in ZkStateReader and CloudSolrClient to be triggered on liveNode changes.
...
Also add Predicate<DocCollection> equivilents for callers that don't care about liveNodes.
2019-06-17 09:59:43 -07:00
Noble Paul
d514beab94
SOLR-13534: Dynamic loading of jars from a remote url ( #712 )
...
* SOLR-13534 : Dynamic loading to support loading jars from a URL
2019-06-17 16:49:31 +10:00
Gus Heck
5d550a34a9
SOLR-13420 Routed Aliases now use collection properties instead of core properties
2019-06-14 13:51:16 -04:00
Mikhail Khludnev
2ee0b16bf1
SOLR-13333: make terms.ttf work without terms.list in standalone mode
2019-06-14 15:42:22 +02:00
Christine Poerschke
335aaf801e
SOLR-13515: remove SolrPluginUtils.IdentityRegenerator in favour of NoOpRegenerator
2019-06-14 13:10:24 +01:00
Christine Poerschke
43fc05c1ed
SOLR-13511: Add SearchHandler.newResponseBuilder method to facilitate custom plugins' maintenance of per-request state in a custom ResponseBuilder. (Ramsey Haddad, Christine Poerschke)
2019-06-14 13:10:24 +01:00
Benoit Vanalderweireldt
2c10b1de19
SOLR-8754: add tests for org.apache.solr.util.hll.NumberUtilTest ( #15 )
2019-06-13 12:57:13 +02:00
Thomas Wöckinger
828960927f
SOLR-13347: Add support for reading/writing UUID from/to TransactionLog ( #681 )
...
SOLR-13347: Transaction log to natively support UUID types
2019-06-13 08:56:41 +10:00
Mikhail Khludnev
5ba6c0c7a2
SOLR-13509: add omitHeader=false for shards requests to avoid NPE on partialResuls check
2019-06-12 18:09:29 +02:00
Erick Erickson
bfb5b41144
SOLR-12013: collections API CUSTERSTATUS command fails when configset missing
2019-06-11 15:56:02 -07:00
Gus Heck
abeecfacd4
SOLR-13439 - Adds ability to locally cache collection properties for a specified duration.
2019-06-11 10:12:52 -04:00
Andrzej Bialecki
e2832b37d7
Improve this test - instead of waiting a fixed amount of time wait until an update arrives.
...
Also, deal with partial updates.
2019-06-11 14:10:30 +02:00
Andrzej Bialecki
6527e74ed8
Improve the test by actually checking that the version of Aliases is
...
more recent, instead of simply waiting.
2019-06-11 12:13:54 +02:00
Jan Høydahl
1942f8cb69
Revert "SOLR-13526: @AwaitsFix failing tests"
...
This reverts commit 85abdbeb
2019-06-11 11:03:00 +02:00
Andrzej Bialecki
010466ec04
SOLR-13512: Raw index data analysis tool (extension of COLSTATUS collection command).
2019-06-10 19:21:46 +02:00
Koen De Groote
67104dd615
LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings ( #707 )
...
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.
ant tests have run, succeeded on local machine.
Removing test files from the changes.
Another suggested rework.
2019-06-10 18:07:43 +02:00
Tim Underwood
97ca9df7ef
LUCENE-8834: Cache the SortedNumericDocValues.docValueCount() value whenever it is used in a loop ( #698 )
2019-06-10 08:56:21 +02:00
Christine Poerschke
85f4029c5c
SOLR-13496: Fix distributed grouping related NullPointerException in JSONWriter.writeSolrDocument
2019-06-07 16:05:10 +01:00
Jan Høydahl
85abdbebf5
SOLR-13526: @AwaitsFix failing tests
2019-06-07 08:34:17 +02:00
Cao Manh Dat
3364753661
SOLR-13434: Using back Java 9 type reference
2019-06-06 12:11:37 +01:00
Christine Poerschke
757e4548c7
SOLR-13518: extra assertNotNull info for SolrInfoBeanTest
2019-06-05 20:39:01 +01:00
Cao Manh Dat
da832d4f3a
SOLR-13434: Fixes problem on Java 8 build
2019-06-05 15:35:05 +01:00
Chris Hostetter
92cf9d8758
Fix TestSort.testRandomFieldNameSorts typo that ccaused very sporadic but reproducible failures
2019-06-04 13:49:57 -07:00
Cao Manh Dat
301ea0e462
SOLR-13434: OpenTracing support for Solr ( #685 )
2019-06-04 20:04:11 +01:00
erick
7fb5b7ed35
SOLR-12249: Better error message when grouping on a tokenized (non SortableText) field in SolrCloud
2019-06-04 10:27:06 -07:00
Cao Manh Dat
cee4ed783e
SOLR-13510: Intermittent 401's for internode requests with basicauth enabled
2019-06-04 16:12:49 +01:00
Erick Erickson
7ebeab71f4
SOLR-8346: Upgrade Zookeeper to version 3.5.5
2019-06-03 17:50:35 -07:00
Noble Paul
0a41163d27
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node ( #694 )
...
SOLR-13504: In autoscaling policies, use an explicit 'put : on-each' to specify the the rules is applied on each node
2019-06-03 18:13:18 +10:00
markrmiller
b09d462ee4
SOLR-13489: Stop the leader from trying to rejoin the election on session expiration and harden our zk reconnect code path.
2019-06-02 22:56:56 -05:00
Chris Hostetter
c2b92f3015
Fix all solr tests to pass w/ -Dtests.dups=2 -Dtests.jvms=1
2019-05-29 10:27:15 -07:00
Christine Poerschke
90e0d1eba1
SOLR-12941: remove unused import in IndexSizeTriggerTest
2019-05-28 16:11:51 +01:00
Andrzej Bialecki
32ad372433
SOLR-12941: Fix IndexSizeTrigger to correctly work with "aboveBytes" and "splitMethod=link" parameters.
2019-05-28 11:34:57 +02:00
Noble Paul
6ac31c6db3
SOLR-13493: /autoscaling/suggestions to be able to filter by type ( #686 )
...
* SOLR-13493: /autoscaling/suggestions to be able to filter by type
2019-05-28 07:20:12 +10:00
Erick Erickson
57b64f2684
SOLR-12562: Reverting Clean up RealTimeGetComponent.toSolrDoc (sha 97e7d8a3d7
and 15aa9dfb3d
)
2019-05-27 08:34:48 -07:00
Erick Erickson
97e7d8a3d7
SOLR-12652: Clean up RealTimeGetComponent.toSolrDoc
2019-05-26 08:23:53 -07:00
Chris Hostetter
af4e1d324a
Fix TestCloudSearcherWarming to work around SOLR-13490
...
Also clean up some crufty System.out/System.err pollution
2019-05-25 08:40:04 -07:00
Erick Erickson
379e6f64b8
SOLR-13454: Investigate ReindexCollectionTest failures
2019-05-23 08:43:34 -07:00
Noble Paul
975a4f8f55
Merge remote-tracking branch 'origin/master' into jira/SOLR-13484
2019-05-23 16:59:14 +10:00
Noble Paul
a1c9f8f7db
SOLR-13484: refactored code
2019-05-23 12:50:09 +10:00
Chris Hostetter
3ed31cfbc7
Fix TestStressCloudBlindAtomicUpdates to play nice with tests.dups
2019-05-22 11:22:52 -07:00
noble
750a5fdd02
SOLR-13484:
...
autoscaling/diagnostics APIshould be able to give diagnostics output from config pasted as a payload
2019-05-22 16:22:20 +10:00
Namgyu Kim
5a694ea26f
LUCENE-8805: Parameter changes for stringField() in StoredFieldVisitor
...
Signed-off-by: Namgyu Kim <kng0828@gmail.com>
Signed-off-by: Adrien Grand <jpountz@gmail.com>
2019-05-21 20:18:42 +02:00
Chris Hostetter
6cc67e433e
SOLR-13474: Fix "Search is temporarily disabled" logic to be consistent for entire request
...
SOLR-13469: Fix rejected requests during full disk full + IndexFetch to use 503 not 403
2019-05-20 10:24:02 -07:00
Andrzej Bialecki
93e57e63cd
SOLR-13475: Null Pointer Exception when querying collection through collection alias.
2019-05-20 15:19:35 +02:00
Jan Høydahl
18cb42ee80
SOLR-13479: Harden OverseerTaskQueueTest
2019-05-17 20:54:46 +02:00
Alessandro Benedetti
b9db118ed3
SOLR-12304: MLT component now supports mlt.interestingTerms
2019-05-16 23:11:43 -04:00
Noble Paul
1581d798b4
SOLR-13468: unused imports
2019-05-17 04:12:42 +10:00
David Smiley
3a88ab616c
SOLR-13467: Include the S2 Geometry lib to make it simpler to use prefixTree="s2" on a Geo3D spatial field.
...
* Improved documentation on Geo3D.
* Better testing for Geo3D.
2019-05-15 22:15:13 -04:00
Noble Paul
bd64ed6d2a
SOLR-13437: fork noggit code into Solr ( #666 )
...
* SOLR-13437: fork noggit code into Solr
2019-05-16 11:10:27 +10:00
Noble Paul
c464d8a719
SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload ( #678 )
...
* SOLR-13468: autoscaling/suggestions should be able to give suggestions from config sent as a payload
2019-05-16 07:31:08 +10:00
Chris Hostetter
7ef5d5fe5f
SOLR-13440: fix precommit failures
2019-05-14 13:35:59 -07:00
Chris Hostetter
bf8c6ea435
SOLR-12999: Harden TestReplicationHandlerDiskOverFlow against sporadic timing failures
...
- ensure IndexFetcher injection is reset in @After method
- replace System.out with Logger
- Log and fail on any exceptions in any callbacks/threads
- use CyclicBarrier (instead of CountdownLatch) to ensure the Query Thread loop doesn't monopolize
CPU preventing IndexFetcher callback from ever being run
(Some of these improvements directly address jenkins failures we've been seeing)
2019-05-14 13:35:19 -07:00
Andrzej Bialecki
de29d0d948
SOLR-13440: Fix occasional test failures by providing assert helpers aware of simulation
...
artifacts.
2019-05-14 19:03:02 +02:00
Andrzej Bialecki
13d1c113c1
SOLR-13407: Make sure we always have the latest version of aliases in cache before asserting.
2019-05-14 13:42:00 +02:00
Andrzej Bialecki
2315c6d1b8
SOLR-13440: Fix a precommit issue.
2019-05-13 19:55:39 +02:00
Andrzej Bialecki
f2c18bacf2
SOLR-13440: Support saving/restoring autoscaling state for repeatable simulations.
2019-05-13 18:44:26 +02:00
Erick Erickson
cd8508408a
SOLR-13454: Investigate ReindexCollectionTest failures. moving bandaid calls
2019-05-12 10:36:46 -07:00
Erick Erickson
0aaf543208
SOLR-13454: Investigate ReindexCollectionTest failures. I missed a place where I should have called the bandaid code
2019-05-10 13:56:04 -07:00
Cao Manh Dat
6a06bcd470
SOLR-13445: Hardness the test
2019-05-10 15:25:54 +01:00
Erick Erickson
577be08bf2
SOLR-13454: Investigate ReindexCollectionTest failures
2019-05-09 12:45:47 -07:00
Chris Hostetter
5e40000e27
minimize randomization of IndexWriterConfig in TestDocTermOrdsUninvertLimit to reduce risk of OOM in nightly tests
2019-05-09 11:34:43 -07:00
Jan Høydahl
5b772f7c9d
SOLR-13453: Adjust auth metrics asserts in tests after SOLR-13449 ( #668 )
2019-05-09 20:13:46 +02:00
Chris Hostetter
cde00b9a84
SOLR-12833: prevent NPE in DistributedUpdateProcessorTest AfterClass when mockito assumption fails in BeforeClass
2019-05-08 11:35:14 -07:00
Cao Manh Dat
81cfbcd009
SOLR-13445: Fix precommit
2019-05-08 19:16:54 +01:00
Cao Manh Dat
6b5b74bc9c
SOLR-13445: Preferred replicas on nodes with same system properties as the query master
2019-05-08 17:55:49 +01:00
Gus Heck
76b854cb4f
SOLR-13306 Add a request parameter to execute a streaming expression locally
2019-05-08 12:13:07 -04:00
Erick Erickson
f4399a495e
SOLr-13428: Take the WARN message out of the logs when optimizing.
2019-05-08 06:13:40 -07:00
Cao Manh Dat
5a35ba41f2
SOLR-13453: Marking mentioned tests as AwaitsFix
2019-05-08 11:17:54 +01:00
noble
733b071564
SOLR-13320 : add an update param failOnVersionConflicts=false to updates not fail when there is a version conflict
2019-05-07 15:20:02 +10:00
Ishan Chattopadhyaya
ca29340d8b
SOLR-13410: Making the test more resilient
2019-05-07 00:59:23 +05:30
Andrzej Bialecki
ef3b6a1aa3
SOLR-12833: This test needs the update log - use "enable.update.log" property to turn it on.
2019-05-06 12:08:13 +02:00
Ishan Chattopadhyaya
67e4b0c517
SOLR-13410: Fix for test failure of the newly added test
2019-05-04 20:32:20 +05:30
Ishan Chattopadhyaya
1882a17115
SOLR-13410: Designated overseer wasn't able to rejoin election queue upon restart
2019-05-04 00:29:07 +05:30
Jan Høydahl
cdd130ccb6
SOLR-12120: Fix bug in draining queue before shutdown
2019-05-02 23:26:16 +02:00
noble
8908205b42
SOLR-13441: Refactor code to minimize direct use of noggit
2019-05-03 07:20:05 +10:00
Ishan Chattopadhyaya
29a98825d0
SOLR-13348: Speed up collapsing by avoiding scoring of ineligible documents
2019-05-03 02:45:15 +05:30
Ishan Chattopadhyaya
ceeac409a5
SOLR-12833: Fix PeerSyncTest and TestInPlaceUpdatesDistrib failures
2019-05-03 02:36:52 +05:30
Andrzej Bialecki
e54610ce33
SOLR-13427: Delete duplicate package description.
2019-05-02 18:39:21 +02:00