Commit Graph

13391 Commits

Author SHA1 Message Date
Jason Gerlowski 20e382984a 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-10-08 06:31:11 -04:00
Andrzej Bialecki 611966ec7b SOLR-13790: LRUStatsCache size explosion and ineffective caching. 2019-10-07 22:41:41 +02:00
Jason Gerlowski c9ba63dd2d 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 15:44:50 -04:00
Joel Bernstein 7d4751e8b8 SOLR-13298: Allow zplot to plot matrices 2019-10-06 22:25:52 -04:00
noble 888fe76a09 String#isBlank() is java 11 API 2019-10-07 09:47:23 +11:00
Noble Paul bb3d4e41f0 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:31:07 +11:00
Mikhail Khludnev 67de998cb7 SOLR-13719: introducing SolrClient.ping(collection) 2019-10-06 23:48:34 +03:00
Ishan Chattopadhyaya af2fe8febc 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 20:38:59 +05:30
Thomas Wöckinger 95e54196fc SOLR-13795: Managed schema should do a core reload in standalone mode.
Fixes #902

(cherry picked from commit 22e96697de)
2019-10-04 14:04:42 -04:00
Christine Poerschke e734b40375 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:35:04 +01:00
Christine Poerschke 03facaa3f7 SOLR-13791: Remove remaining Commons BeanUtils references. (Andras Salamon, Christine Poerschke) 2019-10-04 11:35:04 +01:00
Andrzej Bialecki ae80c181d8 SOLR-8241: Add CaffeineCache, an efficient implementation of SolrCache. 2019-10-04 07:51:58 +02:00
Chris Hostetter 18bf61504f SOLR-13811: Refactor AutoAddReplicasIntegrationTest to isolate problematic situation into an AwaitsFix test method
(cherry picked from commit a57ec148e5)
2019-10-02 10:13:52 -07:00
Ahmed Adel 016b1766f8 Fixing link to Lucene Java Bugs page (#909) 2019-10-02 12:45:11 +02:00
Thomas Wöckinger 1ee531920a SOLR-13802: Write analyzer property luceneMatchVersion to managed schema
Closes #911
(cherry picked from commit 4ddde00667)
2019-10-01 09:23:54 -04:00
Erick Erickson 2f0dc888f5 SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks. Forgot CHANGES.txt entry
(cherry picked from commit 67f4c7f36e)
2019-09-30 18:01:39 -04:00
Erick Erickson b919f34bc0 SOLR-13771: Add -v and -m to ulimit section of reference guide and bin/solr checks
(cherry picked from commit a1f3d2c29a)
2019-09-30 17:59:09 -04:00
Chris Hostetter 3559e440e0 Minor logging improvements
(cherry picked from commit 0ec7986fc0)
2019-09-30 10:28:35 -07:00
Cao Manh Dat 494d823e9d SOLR-13798: SSL: Adding Enabling/Disabling client's hostname verification config 2019-09-30 16:31:11 +01:00
Joel Bernstein 5c860391ef SOLR-13632,SOLR-13667,SOLR-13625: Update CHANGES.txt 2019-09-29 20:37:50 -04:00
Joel Bernstein 82fb0242f4 SOLR-13632: Fix precommit 2019-09-29 19:40:37 -04:00
Joel Bernstein c27b8509d0 SOLR-13632: Support integral plots, cosine distance and string truncation with math expressions 2019-09-29 19:40:14 -04:00
Erick Erickson e6892683a2 :SOLR-13454: Investigate ReindexCollectionTest failures, added more safeguards in bandaid code
(cherry picked from commit 4f89987141)
2019-09-29 12:26:23 -04:00
Shalin Shekhar Mangar d353c19f77 SOLR-13712: JMX MBeans are not exposed because of race condition between creating platform mbean server and registering mbeans
(cherry picked from commit 2ba61c8fb9)
2019-09-29 10:11:08 +05:30
Munendra S N b7ce53d0bf 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:21:18 +05:30
Munendra S N 9586396dba SOLR-13180: fix classCastEx in JSON Request API 2019-09-28 11:22:45 +05:30
Yonik Seeley 971b5d5823 SOLR-13399: add SPLITSHARD splitByPrefix docs (#903)
* SOLR-13399: add SPLITSHARD splitByPrefix docs

* SOLR-13727: CHANGES entry for bug
2019-09-27 13:36:58 -04:00
Chris Hostetter e979255ca7 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
(cherry picked from commit ec9780c8aa)
2019-09-26 14:13:02 -07:00
Munendra S N d23303649a SOLR-13272: add documentation for arbitrary range in JSON facet 2019-09-26 10:17:11 +05:30
Anshum Gupta 3c3d5b1172
LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871) (#901)
* LUCENE-8984: MoreLikeThis MLT is biased for uncommon fields (#871)
2019-09-25 15:26:00 -07:00
David Smiley 74cfacee96 SOLR-13784: EmbeddedSolrServer coreName optional
(cherry picked from commit 0d0af505a0)
2019-09-25 11:34:12 -04:00
Munendra S N f43909111f 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:57:17 +05:30
Chris Hostetter 8e2a050800 SOLR-13786: AwaitsFix SolrExporterIntegrationTest
(cherry picked from commit 4ec4061cbc)
2019-09-23 10:33:26 -07:00
Gus Heck b1fc4bb31e SOLR-11492 - clean up /solr/cloud-dev and add a well documented script.
(cherry picked from commit d75f027912)
2019-09-21 08:54:07 -04:00
Munendra S N 230c6bf2cb 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 12:08:41 +05:30
Munendra S N b7a4665925 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:19:42 +05:30
Munendra S N 31aa08ad24 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 11:19:32 +05:30
Jason Gerlowski 393d1978c1 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:52:15 -04:00
Chris Hostetter be5e2974e1 SOLR-13781: AwaitsFix TestContainerReqHandler.testPackageAPI
(cherry picked from commit 5a01a8b362)
2019-09-19 17:15:04 -07:00
Dawid Weiss 8c308a940b SOLR-13779: Use the safe fork of simple-xml for clustering contrib 2019-09-19 12:25:12 +02:00
Jan Høydahl a7865cdfdd SOLR-13734 JWTAuthPlugin to support multiple issuers (#860)
(cherry picked from commit dd729549b5)
2019-09-19 10:35:07 +02:00
Andrzej Bialecki d50085f1cb SOLR-13763: Ignore freedisk changes in a live simulator created from snapshot. 2019-09-18 23:22:50 +02:00
Anshum Gupta b9633e0f26
SOLR-13773: Prometheus Exporter GC and Heap options (#887) (#890)
* SOLR-13773: Prometheus Exporter GC and Heap options

* Adding info to the ref-guide.
2019-09-18 13:40:46 -07:00
Andrzej Bialecki 84bf86f999 SOLR-13763: Improve the tracking of "freedisk" in autoscaling simulations. 2019-09-18 19:19:34 +02:00
Bruno Roustant a80534a589 LUCENE-8921: IndexSearcher.termStatistics API change
This 8x backport keeps the original method to call the new one.
Closes #797

(cherry picked from commit fd0c8b9e81)
2019-09-17 16:56:09 -04:00
Jan Høydahl fce0a5d45b SOLR-13767: Upgrade jackson to 2.9.9 (#886)
(cherry picked from commit b617769614)
2019-09-17 01:17:44 +02:00
Andrzej Bialecki d3671fd0d2 SOLR-13159: Add a warning about DNS resolution in SolrCloud clusters. 2019-09-16 18:48:29 +02:00
Andrzej Bialecki 2f701c6787 SOLR-9658: Max idle time support for SolrCache implementations. 2019-09-16 18:23:11 +02:00
Jason Gerlowski f12a652e11 SOLR-13622: Fix file-handle leak 2019-09-14 20:41:15 -04:00
Jan Høydahl a5b5585822 SOLR-13238: BlobHandler generates non-padded md5
(cherry picked from commit 31735eeb40)
2019-09-14 22:26:59 +02:00