Commit Graph

32560 Commits

Author SHA1 Message Date
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
jimczi 1ffee87152 fix style 2019-10-07 10:22:39 +02:00
jimczi 47f9bf6f31 check the global maximum minimum score every 1024 collected docs 2019-10-07 10:10:32 +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
jimczi 5895797fae revert some refactoring that made sense when updateMinCompetitiveScore was called eagerly 2019-10-02 11:25:06 +02: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
jimczi 93d135e79d do not check global minimum score on non-competitive hits since it hurts constant score queries 2019-10-02 10:34:03 +02:00
Ahmed Adel 9063cf1b96 Fixing link to Lucene Java Bugs page (#909) 2019-10-02 10:29:07 +02:00
jimczi 1770f15bb5 fix bottomValueChecker assignment in index searcher 2019-10-02 00:58:46 +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
jimczi f55633c881 cleanup test and restore realistic test with line file docs 2019-10-01 12:44:10 +02:00
jimczi 7eab6ebb27 refactor updateMinCompetitiveScore and ensures that the recorded min competitive score is resetted on setScorer 2019-10-01 12:32:23 +02: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
jimczi ee50a3812c Merge branch 'master' into shared_min_score 2019-09-30 14:19:43 +02:00
jimczi 7d96b04113 fix spacing 2019-09-30 13:28:20 +02:00
jimczi 75ff81c18f review feedback + add ut 2019-09-30 13:23:00 +02: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
jimczi 58fabbed2b LUCENE-8992: Share minimum score across segment in concurrent search
This is a follow up of LUCENE-8978 that introduces shared minimum score across segment
in concurrent search for top field collectors that sort by relevance first.
2019-09-27 16:10:53 +02:00
Atri Sharma a9cf5f6abe Do not wait on task's future if it was rejected 2019-09-27 17:29:41 +05:30