Commit Graph

32400 Commits

Author SHA1 Message Date
Chris Hostetter 4d0afd4aff LUCENE-8999: LuceneTestCase.expectThrows now propogates assert/assumption failures up to the test w/o wrapping in a new assertion failure unless the caller has explicitly expected them 2019-10-07 10:41:57 -07: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
Adrien Grand c40cd19f62 Fix test bug in TestFeatureSort.testDuelFloat.
It could index out-of-range frequencies.
2019-10-07 11:46:38 +02: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
Tomoko Uchida 42ff080c84 LUCENE-8998: Fix OverviewImplTest.testIsOptimized reproducible failure 2019-10-05 17:15:10 +09:00
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
Ignacio Vera 9942544a7f
LUCENE-8990: Add estimateDocCount(visitor) method to PointValues (#905) 2019-10-04 10:13:55 +02:00
Igor Motov d4ab808a8a LUCENE-8860: add additional leaf node level optimizations in LatLonShapeBoundingBoxQuery. (#844) 2019-10-04 07:13:34 +02: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
Uwe Schindler 2bdfc39d89 LUCENE-8993: Also update to latest version of Apache Parent POM 2019-10-03 12:29:14 +02:00
Chris Hostetter 10da07a396 LUCENE-8991: disable java.util.HashMap assertions to avoid spurious vailures due to JDK-8205399 2019-10-02 15:58:26 -07: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
Atri Sharma 302cd09b4c
Revert "LUCENE-8213: Introduce Asynchronous Caching in LRUQueryCache (#815)" (#914)
This reverts commit 0dfbf557ba.
2019-10-02 14:24:35 +05:30
Ahmed Adel 9063cf1b96 Fixing link to Lucene Java Bugs page (#909) 2019-10-02 10:29:07 +02:00
Uwe Schindler ee532099c1 LUCENE-8993: Change all repository references in Maven POM files to HTTPs; update some related URLs, too 2019-10-01 19:19:42 +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
Atri Sharma 3c399bb696 Update testLRUEviction To Work With Async Loads 2019-09-30 15:15:14 +05:30
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
Atri Sharma 0dfbf557ba
LUCENE-8213: Introduce Asynchronous Caching in LRUQueryCache (#815)
Introduce asynchronous caching for heavy queries using the passed in Executor to IndexSearcher.
2019-09-28 18:59:00 +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
Atri Sharma a9cf5f6abe Do not wait on task's future if it was rejected 2019-09-27 17:29:41 +05:30
Atri Sharma 15db6bfa88
LUCENE-8989: Allow IndexSearcher To Handle Rejected Execution (#899)
When executing queries using Executors, we should gracefully handle
the case when Executor rejects a task and run the task on the caller
thread
2019-09-27 10:34:11 +05:30
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
johngqjiang 99f4cec459 LUCENE-8980: Blocktree seekExact now checks min-max range of the segment 2019-09-26 15:57:22 -04: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
jimczi a333b6dee3 LUCENE-8984: Fix ut by cleaning up resources after test 2019-09-25 12:44:25 +02:00
Atri Sharma 25f88c5a63
LUCENE-8978: Maximal Of Minimum Scores Based Concurrent Early Termination (#897)
* LUCENE-8978: Maximal Of Minimum Scores Based Concurrent Early
Termination

This commit introduces a mechanism to allow threads to early terminate segments based on globally shared maximum of minimum scores.
2019-09-25 13:36:29 +05:30
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