Joel Bernstein
88fee95d54
SOLR-13298: Allow zplot to plot matrices
2019-10-06 22:18:00 -04:00
Noble Paul
c5dc671aa3
SOLR-13787: An annotation based system to write v2 APIs
...
This is to make V2 APIs easier to write and less error prone
* All specs are always in sync with code
* specs are generated from code
* no need to learn and write json schema
2019-10-07 09:19:57 +11:00
Mikhail Khludnev
1cf7368ed8
SOLR-13719: introducing SolrClient.ping(collection)
2019-10-06 23:36:58 +03:00
Ishan Chattopadhyaya
515af6d3ec
SOLR-13661: Reverting all half-baked stuff from SOLR-13707, SOLR-13659, SOLR-13565, SOLR-13650, SOLR-13710, SOLR-13721, SOLR-13637
...
All half baked package management and hot-classloading code reverted to allow for a fresh start.
2019-10-06 18:00:40 +05:30
Thomas Wöckinger
22e96697de
SOLR-13795: Managed schema should do a core reload in standalone mode.
...
Fixes #902
2019-10-04 13:05:01 -04:00
Thomas Wöckinger
4ddde00667
SOLR-13802: Write analyzer property luceneMatchVersion to managed schema
2019-10-01 09:17:59 -04:00
Joel Bernstein
22b8943407
SOLR-13632: Fix precommit
2019-09-29 19:14:43 -04:00
Joel Bernstein
d4f612368d
SOLR-13632: Support integral plots, cosine distance and string truncation with math expressions
2019-09-29 19:01:40 -04:00
Munendra S N
e5d95011f0
SOLR-13417: handle stats on date/str fields in solrj's JSON facet resp
...
* Except for min/max aggregation in all other cases values woudl be
number. As for same data/string field, value can vary based on
aggregation used, capture response in Map<String, Object>
2019-09-28 12:08:55 +05:30
David Smiley
0d0af505a0
SOLR-13784: EmbeddedSolrServer coreName optional
2019-09-25 11:33:28 -04:00
Munendra S N
59fe7b7d9f
SOLR-13725: allow negative values for limit in TermsFacetMap
...
* when limit is negative all the facet values are returned
* allow mincount=0 in TermsFacetMap.
2019-09-21 11:03:51 +05:30
Munendra S N
c22379253c
SOLR-13780: fix ClassCastException in NestableJsonFacet
...
* handle both int and long values for count. In case of single-shard or
standalone, count is int whereas in multishard count would be long
2019-09-21 10:58:31 +05:30
Jason Gerlowski
2546e7a2ec
SOLR-13622: Fix file-handle leak
2019-09-14 20:39:12 -04:00
Koen De Groote
ec78ef7852
Changing keyset() to entryset() and sometines values(). ( #868 )
2019-09-13 14:42:38 +02:00
Andrzej Bialecki
6f22bf0964
SOLR-13742: Allow optional redaction of data saved by 'bin/solr autoscaling -save'.
...
Fix some unwanted side-effects in snapshots + add more robust unit tests.
2019-09-07 12:09:09 +02:00
Christine Poerschke
6574ae63d4
SOLR-13240: Fixed UTILIZENODE action resulting in IllegalArgumentException.
...
(Hendrik Haddorp, Richard Goodman, Tim Owen, shalin, noble, Christine Poerschke)
2019-09-06 12:36:33 +01:00
Megan Carey
8c796b5f46
SOLR-13727: Bug fix for V2Request handling in HttpSolrClient
...
Using regex to validate baseUrl and replace path for V2Requests
Changed to using Java.net.URL for validation + path replacement
2019-09-04 22:14:15 -04:00
Christine Poerschke
5204d0f963
SOLR-13736: reduce code duplication in TestPolicy.testNodeLostMultipleReplica
2019-09-04 15:51:36 +01:00
Jason Gerlowski
319cb005d3
SOLR-13539: Introduce EmbeddedSolrServerTestBase
...
This groundwork commit allows tests to randomize request content-type
more flexibly. This will be taken advantage of by subsequent commits.
Co-Authored-By: Thomas Woeckinger
Closes : #755
2019-08-29 09:52:46 -04:00
Noble Paul
cf21340294
SOLR-13723: JettySolrRunner should support /api/* (the v2 end point)
2019-08-29 14:01:52 +10:00
Tomas Fernandez Lobbe
00f4bbe6fc
Merge pull request #717 from KoenDG/SOLR-13542
...
SOLR-13542: Code cleanup - Avoid using stream filter count where possible
2019-08-27 11:37:39 -07:00
Noble Paul
e23c50b2a8
SOLR-13710: Persist package jars locally & expose them over http
2019-08-27 14:04:42 +10:00
KoenDG
e2a285b6df
Code changes and CHANGES.txt editted.
...
The majority of the code seems to already be using anyMatch and noneMatch logic, these few remaining instances were using count() and comparing the result to 0.
This changes everything to anyMatch and noneMatch, which is also potentially more performant.
Extra newline.
2019-08-26 22:16:20 +02:00
Tomas Fernandez Lobbe
225fd3d8ee
SOLR-13655: Fix precommit
2019-08-23 15:29:36 -07:00
Atri Sharma
19aecb0f7d
SOLR-13655:Upgrade Collections.unModifiableSet to Set.of and Set.copyOf ( #817 )
2019-08-23 14:31:28 -07:00
Noble Paul
d1e4d81355
SOLR-13707: API to expose the currently used package name, details for each plugin ( #841 )
2019-08-22 16:27:19 +10:00
Tomas Fernandez Lobbe
8f4103dd4b
SOLR-13257: Support deterministic replica routing
...
Deterministic replica routing can help improve caching and allow a more consistent paging when sorting by score
This closes #677
2019-08-21 11:31:12 -07:00
Noble Paul
a4b0ab530f
SOLR-13650: Support for named global classloaders
2019-08-20 05:00:38 +10:00
Noble Paul
7415fe4539
SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them ( #836 )
...
* SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them
2019-08-19 19:48:06 +10:00
Christine Poerschke
9e6047331b
SOLR-13240: make operation-not-null checks consistent in TestPolicy.testNodeLostMultipleReplica
...
(Richard Goodman via Christine Poerschke)
2019-08-13 15:24:19 +01:00
Megan Carey
768ca7c5a7
SOLR-13399: Adding splitByPrefix param to IndexSizeTrigger; some splitByPrefix test and code cleanup
2019-08-12 15:59:45 -04:00
Erick Erickson
f6f1b4244c
SOLR-13568: Precommit fail Java var until 9x. Fail var...
2019-08-11 11:49:54 -04:00
Noble Paul
e45e8127d5
SOLR-13682: command line option to export documents to a file
...
* SOLR-13682: command line option to export documents to a file
2019-08-10 16:34:23 +10:00
Jason Gerlowski
2eb493d170
SOLR-13622: Rename FilesStream -> CatStream
...
Also fixes an 'cat' OS-dependent bug in StreamExpressionTest.
2019-08-08 08:38:21 -04:00
Shalin Shekhar Mangar
ed137dbe28
SOLR-13674: NodeAddedTrigger does not support configuration of replica type hint.
...
A new replicaType property has been added to NodeAddTrigger so that new replicas of the given type are added when the preferredOp is addreplica. The default value of replicaType is `NRT`.
This closes #821 .
2019-08-08 15:14:55 +05:30
yonik
19ddcfd282
SOLR-13399: ability to use id field for compositeId histogram
2019-08-06 14:10:20 -04:00
Munendra S N
8c4fde94fe
SOLR-12555: use expectThrows() to verify the ex thrown in tests
2019-08-03 13:00:49 +05:30
Joel Bernstein
ee0fd49244
SOLR-13667: Fix precommit
2019-08-02 15:48:55 -04:00
Joel Bernstein
03a39666c0
SOLR-13667: Add upper, lower, trim and split Stream Evaluators
2019-08-02 15:38:26 -04:00
Joel Bernstein
254a17b3b0
SOLR-13625: Fix precommit
2019-07-30 10:42:06 -04:00
Joel Bernstein
62955b1a4e
SOLR-13625: Fix broken test cases
2019-07-30 10:42:06 -04:00
Joel Bernstein
d0674866ed
SOLR-13625: Add CsvStream, TsvStream Streaming Expressions and supporting Stream Evaluators
2019-07-30 10:42:06 -04:00
Jason Gerlowski
dc8e9afff9
SOLR-13622: Add fileStream stream-source
2019-07-25 09:13:00 -04:00
noble
afa64c892b
SOLR-13637: removed ununsed code
2019-07-21 12:29:02 -07:00
Noble Paul
631edee1cb
SOLR-13637 Enable loading of plugins from the corecontainer memclassloader
2019-07-21 12:21:56 -07:00
Munendra S N
96d400f511
SOLR-12870: use StandardCharsets instead of String values
...
Fixes #469
2019-07-20 10:10:32 +05:30
Noble Paul
bd30c3701e
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:20:32 +10:00
yonik
c5cabf1e03
SOLR-13399: SPLITSHARD splitByPrefix for compositeId
2019-07-19 11:35:01 -04:00
Chris Hostetter
24b94b8dac
Harden StreamDecoratorTest
...
remove flakey dependency on sleep (to wait for cache expiration) w/explicit instruction to ignore cache
sleep is not garunteed to sleep the exact amount (based on limitations of the system clock)
2019-07-18 19:40:24 -07:00
Gus Heck
c97551cc36
SOLR-13375 - 2 dimensional routed aliases
2019-07-15 09:57:13 -04:00
Andrzej Bialecki
dd4813d5b8
SOLR-13583: Return 400 Bad Request instead of 500 Server Error when a complex
...
alias is found but a simple alias was expected.
2019-07-05 09:19:32 +02:00
Andrzej Bialecki
717afb11fc
SOLR-13583: Impossible to delete a collection with the same name as an existing alias.
2019-07-03 15:52:36 +02:00
Joel Bernstein
96d11063a7
SOLR-13589: Fix precommit
2019-07-01 21:54:25 -04:00
Joel Bernstein
6a99151eae
SOLR-13589: Add zplot cluster test case
2019-07-01 21:39:45 -04:00
Joel Bernstein
2f6a681b39
SOLR-13589: Allow zplot to visualize clusters and convex hulls
2019-07-01 21:39:45 -04:00
Chris Hostetter
aaf20aefa4
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
...
SOLR-13574: Add CHANGES entry that was overlooked
2019-06-27 15:51:20 -07:00
Chris Hostetter
7e57d3a9d9
SOLR-13574: Fix many test and test-framework classes to not fail on After/AfterClass cleanup if assumptions fail in Before/BeforeClass setup
2019-06-27 10:28:06 -07:00
Jan Høydahl
b54126169b
SOLR-13569: AdminUI visual indication of prod/test/dev environment
2019-06-26 12:09:02 +02:00
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
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
Mikhail Khludnev
9137a0b0fe
SOLR-13545: ContentStreamUpdateRequest to close file.
2019-06-21 23:38:08 +03:00
Gus Heck
5d47875184
SOLR-13419 - Better infix for TRA collection names
2019-06-20 09:47:52 -04:00
Joel Bernstein
e88366c9b6
SOLR-10291: Add match Stream Evaluator to support regex matching
2019-06-19 19:40:20 -04: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
Joel Bernstein
8a35088947
SOLR-13560: Fix precommit
2019-06-18 22:33:40 -04:00
Joel Bernstein
1dd98ca65d
SOLR-13560: Add isNull and notNull Stream Evaluators
2019-06-18 22:33:40 -04: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
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
Joel Bernstein
03e7205c89
SOLR-13552: Add recNum Stream Evaluator
2019-06-15 13:54:37 -04:00
Joel Bernstein
0038e93667
SOLR-13550: Allow zplot to automatically create the x axis
2019-06-14 17:49:03 -04:00
Cao Manh Dat
0c24aa6c75
SOLR-13541: Upgrade Jetty to 9.4.19.v20190610
2019-06-14 15:46:19 +01:00
Erick Erickson
81e8b385a4
SOLR-12013: collections API CUSTERSTATUS command fails when configset missing
2019-06-13 15:40:13 -07:00
Cassandra Targett
65b5391041
SOLR-13235: update doc links in apispec files to new pages
2019-06-12 19:03:21 -05: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
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
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
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
Tomas Fernandez Lobbe
f3148fa9e0
SOLR-13521: Fix input parameter handling for DynamicField and FieldTypes (Schema API)
2019-06-05 16:01:43 -07:00
Cao Manh Dat
301ea0e462
SOLR-13434: OpenTracing support for Solr ( #685 )
2019-06-04 20:04:11 +01: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
045ee7c0fa
SOLR-8346: Upgrade Zookeeper to version 3.5.5. Update solrj/ivy.xml to match 8x precommit fix
2019-06-03 21:14:02 -07: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
Noble Paul
808f934cee
SOLR-13504 improve autoscaling syntax by adding a nodeset attribute ( #693 )
...
* SOLR-13504: more checks and tests
2019-06-02 18:54:28 +10:00
Noble Paul
1ff7b2942c
SOLR-13504: improve autoscaling syntax by adding a nodeset attribute ( #691 )
...
SOLR-13504: In autoscaling policies, use an explicit 'nodeset' attribute for filtering nodes instead of using them directly at the toplevel
2019-05-31 17:45:55 +10:00
Gus Heck
6ede32a079
SOLR-13491 - Touch-up test. Beasting failed 1/50 (5) Now passes 500/500 (20).
2019-05-30 10:05:32 -04:00
Gus Heck
d0c1c36c91
SOLR-13491 - SolrZkClient's watch wrapper no longer allows zookeeper
...
to hold the same watch object multiple times.
2019-05-30 08:43:16 -04: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
Joel Bernstein
6ca372fcbb
SOLR-13494: Add DeepRandomStream implementation
2019-05-29 12:53:10 -04:00
Cao Manh Dat
43397ff0a2
SOLR-13450: Backport the fix from CloudHttp2SolrClientTest
2019-05-29 16:55:58 +01: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
Noble Paul
e9d9f4dcc1
SOLR-13484: ref guide
2019-05-23 17:06:29 +10:00
Noble Paul
a1c9f8f7db
SOLR-13484: refactored code
2019-05-23 12:50:09 +10:00
Andrzej Bialecki
93e57e63cd
SOLR-13475: Null Pointer Exception when querying collection through collection alias.
2019-05-20 15:19:35 +02:00
Andrzej Bialecki
62f969403a
SOLR-13437: Add a missing package description.
2019-05-20 12:57:54 +02: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
Andrzej Bialecki
6f309dfa66
SOLR-13454: Fix the method's behavior which caused test failures due to collections disappearing during iteration.
2019-05-14 14:09:24 +02:00
Andrzej Bialecki
f2c18bacf2
SOLR-13440: Support saving/restoring autoscaling state for repeatable simulations.
2019-05-13 18:44:26 +02:00
Joel Bernstein
6069ef6ca6
SOLR-13047: Fix Pre-commit
2019-05-10 16:12:35 -04:00
Joel Bernstein
f9cd8b0957
SOLR-13047: Add facet2D Streaming Expression
...
Co-authored-by: Joel Bernstein <jbernste@apache.org>
Co-authored-by: Nazerke Seidan <seinaz1997@gmail.com>
2019-05-10 15:02:18 -04: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
Cao Manh Dat
de5f3d76ed
SOLR-13449: SolrClientNodeStateProvider always retries on requesting metrics from other nodes
2019-05-07 09:40:45 +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
Jason Gerlowski
4309c6eca4
SOLR-13318: Fix casting issues in BucketBasedJsonFacet
2019-05-05 23:38:05 -04:00
noble
8908205b42
SOLR-13441: Refactor code to minimize direct use of noggit
2019-05-03 07:20:05 +10:00
Andrzej Bialecki
6eccf2bf53
SOLR-13427: Support simulating the execution of autoscaling suggestions.
2019-04-29 23:14:38 +02:00
Noble Paul
25bd1cbb82
SOLR-13429: HashBasedRouter logs the entire state.json when a slice is not found
2019-04-30 06:07:51 +10:00
Andrzej Bialecki
ced0243a3e
SOLR-13407: Fix NPE and be consistent about returning empty instead of null properties.
2019-04-29 12:19:29 +02:00
Mikhail Khludnev
6d94631538
SOLR-13081: Let in-place update work with route.field
2019-04-25 14:05:42 +03:00
Erick Erickson
48dc020dda
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2019-04-24 09:23:11 -07:00
Gus Heck
80d3ac8709
SOLR-13418 - safer synchronization and zk version checking for collection properties
2019-04-23 12:29:08 -04:00
Cao Manh Dat
bc8985d031
SOLR-13276: Improving CloudHttp2SolrClientTest
2019-04-23 10:07:20 +01:00
Andrzej Bialecki
f46ba5227e
SOLR-13407: Reject update requests sent to non-routed multi collection aliases.
2019-04-18 14:53:06 +02:00
erick
a9771a5849
SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements
2019-04-17 16:02:06 -07:00
Uwe Schindler
faaee86efb
LUCENE-8738: Move to Java 11 as minimum Java version (merged branch: jira/LUCENE-8738)
...
Co-authored-by: Adrien Grand <jpountz@apache.org>
2019-04-16 14:00:09 +02:00
Chris Hostetter
d90034f0d6
SOLR-13336: add maxBooleanClauses (default to 1024) setting to solr.xml, reverting previous effective value of Integer.MAX_VALUE-1, to restrict risk of pathalogical query expansion.
2019-04-15 10:27:08 -07:00
Christine Poerschke
fe1a109476
SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig
2019-04-12 16:01:55 +01:00
Joel Bernstein
58001bfc87
SOLR-13391: Add variance and standard deviation stream evaluators
...
Squashed commit of the following:
commit 406d4b959a42e4830ac1c52836ccbcfc1b614b46
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:03:34 2019 +0200
added missing package
commit 32c239687c39c5da3e4f2d0f25df73127331fa99
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:03:14 2019 +0200
added package
commit 7b3f9bd415002969a4ec5d87a9ffbfd6fcff6e92
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:02:28 2019 +0200
added var and stddev functions
commit 77c4f9fdd9f111862a55b645aad960457291414c
Author: Nazerke <seinaz1997@gmail.com>
Date: Fri Apr 12 14:00:59 2019 +0200
added test for the variance and standard deviation stream evaluators
commit 2d9692c178590b65e46cfd9e04ca0384c7d39ec5
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:50:30 2019 +0200
added var and stddev new evaluators
commit d265225747bce9a0eabd713994ddd4990dbbbfa2
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:49:23 2019 +0200
variance streaming evaluator
commit a3330064bb62b5723b9125334ef1d61fc3b098d3
Author: naz <nazerke.seidan@cloudera.com>
Date: Wed Apr 10 19:49:02 2019 +0200
standard deviation streaming evaluator
2019-04-12 09:37:50 -04:00
Chris Hostetter
980fd7d5c5
SOLR-13393: Fixed ZkClientClusterStateProvider to prevent risk of leaking ZkStateReader/threads when processing concurrent requests during shutdown.
...
This primarily affected tests, but may have also caused odd errors/delays when restart/shutting down solr nodes.
2019-04-11 14:22:50 -07:00
Andrzej Bialecki
02c4503f8c
SOLR-13262: Add collection RENAME command and support using aliases in most collection admin commands.
2019-04-10 18:56:39 +02:00
Joel Bernstein
46131e9cda
SOLR-13374: Add fetchSize parameter to the jdbc Streaming Expression
2019-04-05 08:52:52 -04:00
Gus Heck
2d690885e5
SOLR-13322 - let forbidden apis check for sysout in solr core
2019-04-02 22:45:33 -04:00
Jason Gerlowski
2480b74887
SOLR-13362: Add 'includeIndexFieldFlags' in LukeRequest
2019-04-01 20:40:18 -04:00
Kevin Risden
6222abf448
SOLR-9079: Remove commons-lang as a dependency
...
Signed-off-by: Kevin Risden <krisden@apache.org>
2019-03-20 19:37:19 -04:00
Andrzej Bialecki
6f2b7bf5c0
SOLR-11127: REINDEXCOLLECTION command for re-indexing of existing collections.
2019-03-19 13:42:59 +01:00
Chris Hostetter
76babf876a
SOLR-12923: Fix some issues w/concurrency and exception swallowing in SimClusterStateProvider/SimCloudManager
...
There are 3 tightly related bug fixes in these changes:
1) ConcurrentModificationExceptions were being thrown by some SimClusterStateProvider methods when
creating collections/replicas due to the use of ArrayLists nodeReplicaMap. These ArrayLists were changed
to use synchronizedList wrappers.
2) The Exceptions from #1 were being swallowed/hidden by code using SimCloudManager.submit() w/o checking
the result of the resulting Future object. (As a result, tests waiting for a particular ClusterShape
would timeout regardless of how long they waited.) To protect against "silent" failures like this,
this SimCloudManager.submit() has been updated to wrap all input Callables such that any uncaught errors
will be logged and "counted." SimSolrCloudTestCase will ensure a suite level failure if any such failures
are counted.
3) The changes in #2 exposed additional concurrency problems with the Callables involved in leader election:
These would frequently throw IllegalStateExceptions due to assumptions about the state/existence of
replicas when the Callables were created vs when they were later run -- notably a Callable may have been
created that held a reference to a Slice, but by the time that Callable was run the collection (or a
node, etc...) refered to by that Slice may have been deleted. While fixing this, the leader election
logic was also cleaned up such that adding a replica only triggers leader election for that shard, not
every shard in the collection.
While auditing this code, cleanup was also done to ensure all usage of SimClusterStateProvider.lock was
also cleaned up to remove all risky points where an exception may have been possible after aquiring the
lock but before the try/finally that ensured it would be unlocked.
2019-03-14 22:27:48 -07:00
Gus Heck
d8f2a02fdb
SOLR-13131 Category Routed Aliases
2019-03-13 01:32:23 -04:00
Gus Heck
cf88f54a29
Remove inadvertently included println
2019-03-12 16:09:04 -04:00
Gus Heck
9edc557f45
SOLR-12891 MacroExpander will no longer will expand URL parameters by
...
default inside of the 'expr' parameter, add InjectionDefense class
for safer handling of untrusted data in streaming expressions and add
-DStreamingExpressionMacros system property to revert to legacy behavior
2019-03-12 10:46:30 -04:00
erick
9272c29539
SOLR-13268: Clean up any test failures resulting from defaulting to async logging
2019-03-10 11:05:00 -07:00
Andrzej Bialecki
27df824a4b
SOLR-13292: Provide extended per-segment status of a collection.
2019-03-09 14:08:01 +01:00
Christine Poerschke
683aa3d3e9
SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
2019-03-07 20:17:31 +00:00
Joel Bernstein
38005350d1
SOLR-13287: Remove System.out debugging
2019-03-06 13:56:02 -05:00
Andrzej Bialecki
0bc26d07ad
SOLR-13271: Read-only mode for SolrCloud collections.
2019-03-05 17:16:25 +01:00
Joel Bernstein
c34c56b7b2
SOLR-13287: Allow zplot to visualize probability distributions in Apache Zeppelin
2019-03-05 09:19:14 -05:00
Noble Paul
7771d7bb84
SOLR-13285: Updates with enum fields and javabin cause ClassCastException
2019-03-05 06:11:50 +11:00
Cao Manh Dat
e99934b240
SOLR-13276: Adding Http2 equivalent classes of CloudSolrClient and HttpClusterStateProvider
2019-03-04 09:41:45 +00:00
Noble Paul
3ae52e1fe6
SOLR-13282: JDBCStreamTest should use assertEquals(double, double, delta) instead of '==' to compare 2 double values
2019-03-01 10:13:14 +11:00
Joel Bernstein
dcb022bc67
SOLR-10436: Add hashRollup Streaming Expression
2019-02-28 09:20:08 -05:00
Cao Manh Dat
00c02290d5
SOLR-12297: Remove debugging System.out line
2019-02-27 09:50:59 +00:00
Noble Paul
a89b065c1f
SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression in release 7.7
2019-02-20 22:19:18 +11:00
shalinmangar
7e2d40197c
SOLR-13248: Autoscaling based replica placement is broken out of the box.
...
Solr 7.5 enabled autoscaling based replica placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons, this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until Solr 7.4.
2019-02-18 13:46:05 -08:00