Commit Graph

13668 Commits

Author SHA1 Message Date
Munendra S N 0a4f6c566e SOLR-13877: fix NPE in expand component
* This could happen when expand component is not used with collapse
  and matched docs have fewer unique values
2019-10-29 13:56:03 +05:30
Munendra S N b82b7725e1 SOLR-13783: fix failing tests due to NamedList.toString() change 2019-10-29 13:35:31 +05:30
Munendra S N bd0091d94e update documentation for q.op and df
* defaultSearchField and defaultOperator are removed from schema.
  update the documentation to reflect this change
2019-10-29 10:51:31 +05:30
Tomas Fernandez Lobbe c7c0bdf2df SOLR-13783: Move CHANGES entry 2019-10-28 17:10:24 -07:00
Chris Hennick 74333c3af2 SOLR-13783: Add space after comma in NamedList.toString() (#979) 2019-10-28 17:09:08 -07:00
Tomas Fernandez Lobbe ee82e4567f SOLR-13865: Add missing package docs 2019-10-28 16:25:26 -07:00
Houston Putman fa27e476f7 SOLR-13865: Migrate replica routing code to SolrJ (#974)
* [SOLR-13865] Migrate replica routing code to  solrJ

* Added a CommonTestInjection class.

* Fixing imports.

* Reverted extraneous streaming changes.

* Fix precommit errors.

* Changing name of the RLTManager.

* Splitting up existing tests.

* Updated documentation.

* Added solr/CHANGES.txt entry
2019-10-28 15:49:21 -07:00
noble 3af4e6adc6 SOLR-13822: Adressing Windows test failures 2019-10-29 06:12:52 +11:00
noble e5a5ceb6d8 a simple perf test to check serialization/deserialization perf 2019-10-28 17:17:26 +11:00
Chris Hostetter b17a4cb5a9 SOLR-13822: AwaitsFix this test until the file leaks are addressed 2019-10-25 14:44:25 -07:00
Tobias Ibounig ce3857cb27 Add temporal unit to warmupTime param in ref guide (#975) 2019-10-25 15:01:16 -05:00
Cassandra Targett d91152e113 SOLR-13847: Fix docs for Metrics Trigger 2019-10-25 13:56:53 -05:00
Tomas Fernandez Lobbe 3524494025 SOLR-13866: Remove entry from CHANGES.txt
The fix made it in time to 8.3 so it was never released, no need for a CHANGES entry
2019-10-24 11:50:21 -07:00
Munendra S N 3ef54e4516 SOLR-12393:fix score not returned if expanded docs sorted by non-score 2019-10-24 19:41:14 +05:30
Munendra S N f71e4b210d SOLR-13403: test terms component with point fields on empty index 2019-10-24 10:06:16 +05:30
Tomas Fernandez Lobbe dc9dbd266b
SOLR-13866: Override getSolrMetricsContext in DirectUpdateHandler2 (#971) 2019-10-23 16:13:26 -07:00
Noble Paul 98f08d39aa
SOLR-13822: Isolated Classloading from packages (#957)
SOLR-13822: A Package management system with the following features. A packages.json in ZK to store
  the configuration, APIs to read/edit them and isolated classloaders to load the classes from
  those packages if the 'class' attribute is prefixed with `<package-name>:`
2019-10-24 08:55:11 +11:00
David Smiley 3ae8204248 SOLR-13855: DistributedZkUpdateProcessor needs to propagate URP.finish()
Important since Run URP finish() propagates to updateLog to fsync()!
Closes #969
2019-10-23 17:49:01 -04:00
Andrzej Bialecki c1174dc0d6 SOLR-13831: Support defining arbitrary autoscaling simulation scenarios. 2019-10-23 20:48:10 +02:00
Tomas Fernandez Lobbe 98cdac82a1
SOLR-13860: Enable back TestTlogReplica (#965)
* Wait for leader in testBasicLeaderElection

It can take some time (>4 seconds) to elect a new leader, and if the update is attempted immediately it'll fail. Need to either wait for the leader or retry the udpate in case of failure (which is what clients would do)

* Wait for leader to be active in testKillTlogReplica

* Add hack to prevent unrelated failure

* Reduce the time wait time for replica state change

* A more robust attempt to add replicas in the tests

* Wait for replication for 2 times the replication time
2019-10-23 10:46:36 -07:00
Andrzej Bialecki 1d7cd61575 SOLR-13854: Remove deprecated SolrMetricProducer.initializeMetrics API. 2019-10-22 21:23:48 +02:00
Munendra S N 597241a412 SOLR-13403: disable distrib test for point fields in terms 2019-10-22 10:40:38 +05:30
Mikhail Khludnev afdb80069c SOLR-13824: reject prematurely closed curly bracket in JSON. 2019-10-21 23:25:06 +03:00
epugh 2e6119e8fd tweak documentation to be clearer about uprefix 2019-10-20 23:50:42 -04:00
Munendra S N 80bca5040a SOLR-9802: fix grouping failure for date fields in solrcloud
Closes #221
2019-10-20 15:57:19 +05:30
Noble Paul 831f90fa36
SOLR-13841: Add jackson databind annotations to SolrJ classpath
SOLR-13841: Add jackson databind annotations to SolrJ classpath
2019-10-20 10:00:13 +11:00
Munendra S N cabc125eef SOLR-13403: fix NPE in terms for DatePointField
* This fixes NPE and adds support for DatePointField in terms
  component
2019-10-18 23:45:57 +05:30
Munendra S N 227a624f8a SOLR-12769: correct documentation for delete op in request params API 2019-10-18 21:13:35 +05:30
Munendra S N dce0c5953c SOLR-13827: fail on unknown operation in Request Parameters API 2019-10-18 21:08:33 +05:30
Andrzej Bialecki f07998fc23 SOLR-13677: All Metrics Gauges should be unregistered by components that registered them. 2019-10-18 17:15:04 +02:00
Shalin Shekhar Mangar 86a40c1cd5 SOLR-13843: The MOVEREPLICA API ignores replica type and always adds 'nrt' replicas 2019-10-18 14:48:37 +05:30
Chris Hostetter 63e9bcf5d1 SOLR-13741: Harden AuditLoggerIntegrationTest 2019-10-16 16:56:34 -07:00
Chris Hostetter ebc720c5b0 SOLR-13852: Fix TestCloudNestedDocsSort to ensure child docs are never created in a way that violates uniqueKey rules 2019-10-16 15:49:58 -07:00
Jan Høydahl 611c4f960e
SOLR-13835 HttpSolrCall produces incorrect extra AuditEvent on AuthorizationResponse.PROMPT (#946) 2019-10-17 00:44:34 +02:00
Cassandra Targett 621461fd1a SOLR-12786: Update Ref Guide build tool versions & fix section links for new format requirements 2019-10-16 11:03:17 -05:00
Cassandra Targett b881a09592 Ref Guide: fix headline case 2019-10-16 10:08:57 -05:00
Andrzej Bialecki f7f6a37f33 SOLR-13849: Ignore events created by running triggers. 2019-10-16 10:32:54 +02:00
Chris Hostetter 939b3364e6 SOLR-13846: workaround - elliminate use of problematic PreemptiveBasicAuthClientBuilderFactory in tests that don't need it 2019-10-15 15:37:33 -07:00
Cassandra Targett 8dd2ab52b4 Ref Guide: fix headline case, e.g & i.e, random spaces 2019-10-15 09:45:08 -05:00
Cassandra Targett 96cf2d1762 Ref Guide: first pass at 8.3 upgrade notes 2019-10-15 09:02:31 -05:00
Cassandra Targett 3deff52b5f Ref Guide: Upgrade Notes for 8.2 (neglected to do earlier) 2019-10-15 08:14:12 -05:00
Ishan Chattopadhyaya e2b160b865 SOLR-13834: ZkController#getSolrCloudManager() now uses the same ZkStateReader instance instead of instantiating a new one
ZkController#getSolrCloudManager() created a new instance of ZkStateReader, thereby causing mismatch in the
visibility of the cluster state and, as a result, undesired race conditions.
2019-10-15 14:51:02 +05:30
Ishan Chattopadhyaya b8648c60e7 SOLR-13793: Limiting number of forwards to total replicas in collection to avoid deadly forwarding loops 2019-10-15 14:43:20 +05:30
Jan Høydahl 64fb42c714
SOLR-13665: Added missing netty dependencies to solrJ (#938) 2019-10-15 10:35:05 +02:00
Cassandra Targett 8ad759436b Ref Guide: Fix errant & empty style block throwing errors 2019-10-14 19:54:49 -05:00
Koen De Groote e7e6cfaecf LUCENE-8994: Code Cleanup - Pass values to list constructor instead of empty constructor followed by addAll(). (#919) 2019-10-14 18:45:47 +02:00
Koen De Groote 04786244d0 LUCENE-8979: Code Cleanup: Use entryset for map iteration wherever possible. - part 2 2019-10-14 18:36:19 +02:00
Noble Paul b6ea7d60b7
SOLR-13731: javabin must support a 1:1 mapping of the JSON update format 2019-10-14 11:07:38 +11:00
yonik 1d43bda284 SOLR-13815: enhance live split test to fail more often 2019-10-13 17:07:10 -04:00
noble 88f457ee2a SOLR-13821: refactored the code to change the API to suit package loader 2019-10-12 16:59:14 +11:00
noble 84126ea0ea SOLR-13787: Better error logging 2019-10-12 16:35:08 +11:00
Yonik Seeley a057b0d159
SOLR-13815: fix live split data loss due to cluster state change between checking current shard state and getting list of subShards (#920)
* SOLR-13815: add simple live split test to help debugging possible issue

* SOLR-13815: fix live split data loss due to cluster state change berween checking current shard state and getting list of subShards
2019-10-11 15:07:03 -04:00
noble 5b6561eadb SOLR-13787: Support for Payload<T> as 3rd param 2019-10-12 00:39:05 +11:00
noble 2d32f0b5a6 SOLR-13787: Added support for PayLoad<T> as 3rd param 2019-10-12 00:23:40 +11:00
noble 8bfd8a55c9 SOLR-13827: Added support for PayLoad<T> as 3rd param 2019-10-12 00:11:59 +11:00
Joel Bernstein bed9e7c474 SOLR-13829: Update CHANGES.txt 2019-10-11 09:02:56 -04:00
Joel Bernstein ad1c24e190 SOLR-13829: RecursiveEvaluator casts Continuous numbers to Discrete Numbers, causing mismatch 2019-10-10 21:19:25 -04:00
noble 5e9ed10657 SOLR-13821: Incorrect file path escape in windows 2019-10-11 11:47:39 +11:00
Gus Heck fb3d030e05 SOLR-13760 update CHANGES.txt 2019-10-10 18:35:12 -04:00
Gus Heck be813bd0ae
SOLR-13760 - restore viability of date math in TRA start property (#879)
* SOLR-13760 - restore viability of date math in TRA start property by 
fixing the start date for time routed aliases
upon the receipt of the first document to avoid problems
with date math calculations required by DRA's
2019-10-10 18:17:22 -04:00
Andrzej Bialecki 430267ecc9 SOLR-13828: Improve ExecutePlanAction error handling. 2019-10-10 23:59:06 +02:00
Jason Gerlowski 083f2b5407 SOLR-13820: Small corrections to Rule-Based Auth docs 2019-10-10 17:04:27 -04:00
Cao Manh Dat 1cda424503 SOLR-13293: ConcurrentUpdateHttp2SolrClient always log AsynchronousCloseException exception error on indexing 2019-10-09 20:56:50 +01:00
noble c0b00716bd SOLR-13821: missing package-info.java 2019-10-09 23:17:30 +11:00
Ishan Chattopadhyaya 2e1a470c90 Adding 8.4.0 version 2019-10-08 20:03:38 +05:30
Joel Bernstein 44dc51608a SOLR-13298: Update CHANGES.txt 2019-10-08 09:59:40 -04:00
Andrzej Bialecki 8c144444fe SOLR-13376: Multi-node race condition to create/remove nodeLost markers. 2019-10-08 13:41:02 +02:00
Noble Paul e3bd5a7da2
SOLR-13821: Package Store for storing package artifacts (#929)
SOLR-13821: Package Store for storing package artifacts
2019-10-08 14:24:33 +11:00
Jason Gerlowski 25eda17c66 Fix atomic-update test failures 2019-10-07 14:14:46 -04:00
Andrzej Bialecki c0a446b179 SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 19:53:52 +02:00
Jason Gerlowski ceb47042d1 SOLR-13539: Fix MV removeregex atomic-updates
Prior to this commit, the ByteArrayUtf8CharSequence issues had been
fixed on single value removeregex commands, but not if multiple regex's
were used.

This commit fixes our NamedList parsing for this additional case.  It
also adds some tests for related atomic-update cases.

Co-Authored-By: Tim Owen
2019-10-07 13:38:55 -04:00
Jason Gerlowski 2b04363700
SOLR-13820: Improve RBAP documentation (#924)
The ref-guide page for Rule-Based Authorization was in need of a refresh.  Some mailing-list questions made it clear there were a few areas users were unclear on, including permission resolution, permission syntax and defaults, and pros/cons of editing configuration using the API vs directly in ZooKeeper.

This commit clarifies these points, as well as doing some larger restructuring to (hopefully) make the page make a little more sense as a whole.
2019-10-07 12:33:06 -04:00
Jason Gerlowski 24afd95902 SOLR-13539: Improve atomic-update test coverage
Closes #665
2019-10-07 08:27:29 -04:00
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
Christine Poerschke b51013a10b SOLR-13812: Add javadocs, uneven rejection and basic test coverage for the SolrTestCaseJ4.params method.
(Diego Ceccarelli, Christine Poerschke, Munendra S N)
2019-10-04 11:18:33 +01:00
Christine Poerschke 824f0eca6b SOLR-13791: Remove remaining Commons BeanUtils references. (Andras Salamon, Christine Poerschke) 2019-10-04 11:14:19 +01:00
Andrzej Bialecki a0396da64b SOLR-8241: Fix an NPE. 2019-10-03 21:11:44 +02:00
Andrzej Bialecki 8007ac0cb0 SOLR-8241: Add CaffeineCache, an efficient implementation of SolrCache. 2019-10-03 15:17:08 +02:00
Mike Drob 2d3baf6e8f SOLR-13797 SolrResourceLoader no longer caches bad results when asked for wrong type 2019-10-02 16:35:54 -05:00
Chris Hostetter a57ec148e5 SOLR-13811: Refactor AutoAddReplicasIntegrationTest to isolate problematic situation into an AwaitsFix test method 2019-10-02 10:13:33 -07:00
Ahmed Adel 9063cf1b96 Fixing link to Lucene Java Bugs page (#909) 2019-10-02 10:29:07 +02:00
Thomas Wöckinger 4ddde00667 SOLR-13802: Write analyzer property luceneMatchVersion to managed schema 2019-10-01 09:17:59 -04:00
Erick Erickson 67f4c7f36e SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks. Forgot CHANGES.txt entry 2019-09-30 18:01:06 -04:00
Erick Erickson a1f3d2c29a SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks 2019-09-30 17:58:35 -04:00
Chris Hostetter 0ec7986fc0 Minor logging improvements 2019-09-30 10:00:33 -07:00
Cao Manh Dat 7350c50316 SOLR-13798: SSL: Adding Enabling/Disabling client's hostname verification config 2019-09-30 16:29:43 +01:00
Joel Bernstein e7522297a7 SOLR-13632,SOLR-13667,SOLR-13625: Update CHANGES.txt 2019-09-29 20:36:35 -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
Erick Erickson 4f89987141 :SOLR-13454: Investigate ReindexCollectionTest failures, added more safeguards in bandaid code 2019-09-29 12:25:43 -04:00
Shalin Shekhar Mangar 2ba61c8fb9 SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans 2019-09-29 10:09:58 +05:30
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
Munendra S N 7752964e19 SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:12:18 +05:30
Yonik Seeley ae72f4f542
SOLR-13399: add SPLITSHARD splitByPrefix docs (#903)
* SOLR-13399: add SPLITSHARD splitByPrefix docs

* SOLR-13727: CHANGES entry for bug
2019-09-27 12:07:42 -04:00
Chris Hostetter ec9780c8aa SOLR-13747: New TestSSLTestConfig.testFailIfUserRunsTestsWithJVMThatHasKnownSSLBugs() to give people running tests more visibility if/when they use a known-buggy JVM causing most SSL tests to silently SKIP 2019-09-26 14:12:20 -07:00
Munendra S N 42e64ffd53 SOLR-13272: add documentation for arbitrary range in JSON facet 2019-09-26 09:50:34 +05:30
David Smiley 0d0af505a0 SOLR-13784: EmbeddedSolrServer coreName optional 2019-09-25 11:33:28 -04:00
Munendra S N cd9f3a9a46 SOLR-13022: validate sort parameters in JSON facet after parsing
* This fixes NPE in case of non-existent aggregate functions in sort/prelim_sort
* validate sort direction
2019-09-25 10:39:55 +05:30
Andrew Hind d279fe8a80 LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871)
* SOLR-13752: MoreLikeThis MLT is biased for uncommon fields
2019-09-24 21:58:26 -07:00
Chris Hostetter 4ec4061cbc SOLR-13786: AwaitsFix SolrExporterIntegrationTest 2019-09-23 10:33:08 -07:00
Gus Heck d75f027912 SOLR-11492 - clean up /solr/cloud-dev and add a well documented script. 2019-09-21 08:39:48 -04:00
Munendra S N 43ee86a3d0 SOLR-13272: add support for arbitrary ranges in JSON Range faceting
In some cases, the gap might need to be different for different ranges.
To support such cases, add support to specify arbitrary ranges.
2019-09-21 11:46:11 +05:30
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 e66741aecf
SOLR-13638: Add debug,trace RBAP logging (#894)
Increase log level to DEBUG or TRACE for
org.apache.solr.security.RuleBasedAuthorizationPlugin for
more helpful debugging output.
2019-09-20 14:50:52 -04:00
Chris Hostetter 5a01a8b362 SOLR-13781: AwaitsFix TestContainerReqHandler.testPackageAPI 2019-09-19 17:14:32 -07:00
Dawid Weiss 2a1d5eea42 SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:24:26 +02:00
Jan Høydahl dd729549b5
SOLR-13734 JWTAuthPlugin to support multiple issuers (#860) 2019-09-19 09:50:20 +02:00
Andrzej Bialecki 9e449ad0bc SOLR-13763: Ignore freedisk changes in a live simulator created from snapshot. 2019-09-18 23:22:18 +02:00
Houston Putman c7f8487328 SOLR-13773: Prometheus Exporter GC and Heap options (#887)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:31:53 -07:00
Andrzej Bialecki 6a8cfddf30 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:18:47 +02:00
Bruno Roustant fd0c8b9e81 LUCENE-8921: IndexSearcher.termStatistics API change
Closes #797
2019-09-17 16:48:24 -04:00
Jan Høydahl b617769614
SOLR-13767: Upgrade jackson to 2.9.9 (#886) 2019-09-17 01:13:23 +02:00
Andrzej Bialecki 30aad175e0 SOLR-13159: Add a warning about DNS resolution in SolrCloud clusters. 2019-09-16 18:50:36 +02:00
Andrzej Bialecki e04917dc9f SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 16:50:07 +02:00
Jason Gerlowski 2546e7a2ec SOLR-13622: Fix file-handle leak 2019-09-14 20:39:12 -04:00
Jan Høydahl 31735eeb40 SOLR-13238: BlobHandler generates non-padded md5 2019-09-14 22:23:17 +02:00
Thomas Wöckinger e788024b84 SOLR-13739: Optimized large managed schema modifications
Internal O(n^2) problem.
Fixes #855
2019-09-13 12:35:27 -04:00
Koen De Groote ec78ef7852 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 14:42:38 +02:00
Chris Hostetter 3ed96026d3 LTR Test Hardening:
1) use per-method state isolation in several tests...

This helps prevent failures in one test to allow persisted date to leak into other test methods,
as well as ensuring that these tests play nicely with -Dtests.iters > 1

2) TestRerankBase cleanup to eliminate unnecessary extra SolrCore (that was being leaked)
2019-09-12 18:11:24 -07:00
Michael Gibney 0ce635ec01 SOLR-13714: Correct refguide regarding shardHandlerFactory solrconfig.xml element (#843) 2019-09-12 13:18:35 -05:00
Chris Hostetter fb5a3e28fe CloudExitableDirectoryReaderTest improvements
remove use of LbSolrClient to prevent premature failure of low timeAllowed options on slow jenkins machines

increase cluster size to also test codepaths where requests are proxied by a node that does not host any core in the collection
2019-09-11 16:29:28 -07:00
Chris Hostetter 416de65d31 Fix TestSnapshotCloudManager test bug: file handle leak
I believe this was the root cause of some recent windows jenkins suite level failures in cleaning up temp files
2019-09-11 11:47:50 -07:00
Jan Høydahl 4599f6e9ee SOLR-13713: JWTAuthPlugin to support multiple JWKS endpoints 2019-09-10 13:01:47 +02:00
Noble Paul 042478cfa7 SOLR-13677: reverting the last commit 2019-09-08 14:57:47 +10:00
Andrzej Bialecki 9510e06612 SOLR-13742: temporarily disable this assertion while I investigate jenkins failures
(the test passes local beasting).
2019-09-07 22:23:22 +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
David Smiley da158ab229 SOLR-13745: AtomicUpdateProcessorFactoryTest should close request 2019-09-06 13:55:57 -04: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
David Smiley c8203e4787 SOLR-13728: fail partial updates to child docs when not supported. 2019-09-05 23:16:55 -04:00
Chris Hostetter 2552986e87 LUCENE-8917: Fix Solr's TestCodecSupport to stop trying to use the now-removed Direct docValues format 2019-09-05 12:11:49 -07: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
Christine Poerschke 6f12075e9a SOLR-13733: add class-level javadocs for 4 org.apache.solr.metrics classes 2019-09-04 15:50:41 +01:00
Chris Hostetter e2208332e5 Harden SimpleMLTQParserTest
replace implicit assumption about default index order with explicit assumption about uniqueKey order, to prevent spurious failures when concurrent out of order merges take place
2019-09-03 21:24:43 -07:00
Chris Hostetter d1a4d13525 CHANGES fixup: SOLR-13709 -> SOLR-13717 2019-09-03 11:23:08 -07:00
Chris Hostetter 83cd54f801 SOLR-13709: Fixed distributed grouping when multiple 'fl' params are specified 2019-09-03 11:01:58 -07:00
Tomoko Uchida 1862ffd6a4 SOLR-13690: Fix test resource. 2019-09-02 09:14:45 +09:00
Erick Erickson 31c661f2db SOLR-13729: Add the caution that schemaless is not suitable for production to the 'Schemaless Mode' section of the ref guide 2019-09-01 09:57:23 -04:00
Erick Erickson 742218d7ba Merge branch 'SOLR-13729' 2019-09-01 09:54:45 -04:00
Erick Erickson 0ad1684dfc SOLR-13729: Add the caution that schemaless is not suitable for production to the 'Schemaless Mode' section of the ref guide 2019-09-01 09:54:19 -04:00
Tomoko Uchida 66d7dffc79 SOLR-13691: Add example field type configurations using name attributes to Ref Guide 2019-09-01 01:32:10 +09:00
Tomoko Uchida 77c1ed7d16 SOLR-13690: Migrate field type configurations in default/example schema files to look up factories by 'name' 2019-08-31 23:06:32 +09:00
Jan Høydahl 52be32d4ad SOLR-13122: Ability to query aliases in Solr Admin UI 2019-08-30 14:16:58 +02:00
Mikhail Khludnev 6dea678439 SOLR-13720: BlockJoinParentQParser.getCachedFilter made public 2019-08-29 17:37:48 +03: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
Ishan Chattopadhyaya f27665198a SOLR-13718: A more targeted fix for SPLITSHARD, thereby avoiding Backup/Restore test failures 2019-08-29 17:27:40 +05:30
Tomoko Uchida 43d489cb4a SOLR-13593: Add SPI for ReversedWildcardFilterFactory 2019-08-29 15:01:46 +09:00
Marcus b37d92bfee SOLR-13649 change the default behavior of the basic authentication plugin. (#805)
SOLR-13649: Property 'blockUnknown' of BasicAuthPlugin and JWTAuthPlugin now defaults to 'true'. This change is backward incompatible. To achieve the previous default behavior, explicitly set 'blockUnknown':'false' in security.json
2019-08-29 10:57:50 +05:30
Ishan Chattopadhyaya a8d5bd34bf SOLR-13718: SPLITSHARD (async) with failures in underlying sub-operations can result in data loss
When SPLITSHARD is issued asynchronously, any exception in a sub-operation isn't propagated and the overall
  SPLITSHARD task proceeds as if there were no failures. This results in marking the active parent shard inactive
  and can result in two empty sub-shards, thus causing data loss.
2019-08-29 10:04:08 +05:30
Noble Paul cf21340294
SOLR-13723: JettySolrRunner should support /api/* (the v2 end point) 2019-08-29 14:01:52 +10:00
noble 54bd950819 formatting 2019-08-28 14:34:35 +10:00
Anshum Gupta 0c9ec35f88
SOLR-13257: Cleanup code and make the AffinityReplicaTransformer constructors private (#848)
SOLR-13257: Cleanup code and make the constructors private as the constructor is supposed to be called via the static getInstance method.
2019-08-27 16:27:20 -07:00
Tomas Fernandez Lobbe 7b589ad769 SOLR-13542: Move CHANGES entry to 8.3. Added contributor 2019-08-27 15:15:43 -07: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 ea940347a7 SOLR-13650 : test jars recompiled with jdk8 2019-08-27 14:58:53 +10:00
noble 764747e8b2 SOLR-13710: Persist package jars locally & expose them over http at /api/node/blob 2019-08-27 14:08:17 +10:00
Noble Paul e23c50b2a8
SOLR-13710: Persist package jars locally & expose them over http 2019-08-27 14:04:42 +10:00
noble 7e5c071c08 SOLR-13721: TestApiFramework#testFramework failing in master consistently 2019-08-27 12:01:23 +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
noble 0ad8c1f302 SOLR-13699 - maxChars no longer working on CopyField with javabin 2019-08-26 09:00:54 +10:00
Chris Troullis 64a4ca57a8 SOLR-13699 - maxChars no longer working on CopyField with Javabin 2019-08-26 08:57:17 +10:00
Tomas Fernandez Lobbe 225fd3d8ee SOLR-13655: Fix precommit 2019-08-23 15:29:36 -07:00
David Smiley f335ac9bbc SOLR-11601: Improve geodist error message when using with LLPSF. 2019-08-24 00:18:48 +02:00
Tomas Fernandez Lobbe 180f6d2ec9 SOLR-13655: Added CHANGES entry 2019-08-23 14:34:23 -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
Jan Høydahl 07f1364800 SOLR-13702: Fix precommit 2019-08-23 18:19:35 +02:00
Jan Høydahl 0aa3654802
SOLR-13702: Some components register twice their metric names (#834) 2019-08-23 15:23:58 +02:00
noble 1cbc5eaf51 SOLR-13707: API to expose the currently used package name, details for each plugin 2019-08-22 16:29:20 +10: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
Chris Hostetter 2fdc882bc4 Additional logging in test framework methods that 'waitFor' something to better trace order of operations when failures occur 2019-08-21 13:13:40 -07: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 101fa624c3 SOLR-13706: Config API output is broken for "highlight" component 2019-08-21 07:29:03 +10:00
nppoly 26628b2717 LUCENE-8755: Spatial-extras quad and packed-quad trees now index
points a little faster, and also fix an edge case bug.
 Fixes #824
2019-08-20 23:09:33 +02:00
Chris Hostetter 8725944fba SOLR-13650: AwaitsFix TestContainerReqHandler.testCacheFromGlobalLoader
the jenkins failure rate for this test since it was committed is over 80%, it needs to be dsaibled until this can be addressed
2019-08-20 09:45:11 -07:00
Noble Paul 30ce19a13e
SOLR-13650:ref guide typo 2019-08-20 18:36:24 +10:00
Munendra S N 540de65e14 SOLR-13704: correct error codes for client errors in expand component 2019-08-20 09:44:05 +05:30
noble 37b2a1f9b2 SOLR-13650: ref guide 2019-08-20 12:04:15 +10:00
noble aa4ba2f797 SOLR-13650: CHANGES.txt 2019-08-20 11:52:41 +10:00
noble d51a33f58f SOLR-13650: precommit errors fixed 2019-08-20 11:48:56 +10:00
Chris Hostetter a12cf2f6d8 Harden TestExtendedDismaxParser.testBf
Eliminate assumption about index order
2019-08-19 15:33:19 -07:00
noble 6eae96c34c SOLR-13650: cache reload listener 2019-08-20 05:49:46 +10:00
noble ca4fc9b912 SOLR-13650: compile error fixed 2019-08-20 05:12:58 +10:00
Noble Paul a4b0ab530f
SOLR-13650: Support for named global classloaders 2019-08-20 05:00:38 +10:00
Chris Hostetter 8a24641fb2 Harden TestExportWriter
force MergePolicy to ensure index order assumptions are valid
2019-08-19 11:53:34 -07:00
Munendra S N 0654c2496d SOLR-6328: return missing count for facet.missing=true even if limit=0
* facet.missing is independent of facet.limit. So, even for limit=0,
  missing counts should be return if facet.missing=true
2019-08-19 20:46:04 +05:30
noble 6c94f659d2 SOLR-13677: All Metrics Gauges should be unregistered by the objects that registered them 2019-08-19 19:51:26 +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
Chris Hostetter f5856ef404 SOLR-13701: Fixed JWTAuthPlugin to update metrics prior to continuing w/other filters or returning error 2019-08-18 12:20:51 -07:00
Chris Hostetter 251259d5ab SOLR-13700: Fixed a race condition when initializing metrics for new security plugins on security.json change 2019-08-18 12:18:54 -07:00
Chris Hostetter 54ab07718a Harden AliasIntegrationTest.testClusterStateProviderAPI
use the underlying ZKStateReader of the ClusterStateProvider when waiting for the alias ZNodeVersion to change

prior versions of the test waited using the zkStateReader of the remote client, but there was no garuntee that the state had been updated on the ClusterStateProvider being used by the test
2019-08-14 21:36:38 -07:00
Andrzej Bialecki 7c2d45d53e SOLR-13694: IndexSizeEstimator NullPointerException. 2019-08-14 17:57:13 +02:00
Mikhail Khludnev 70162d3fb1 adding <SpanPositionRange> into XML Query Parser 2019-08-14 18:19:47 +03:00
Andrzej Bialecki a4ff429ab0 SOLR-13693: Use strongly-typed setters for cache parameters. 2019-08-14 15:58:39 +02: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
noble 07ca02b737 SOLR-13688: Run the bin/solr export command multithreaded 2019-08-13 18:54:05 +10:00