Commit Graph

32544 Commits

Author SHA1 Message Date
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
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
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