Commit Graph

32361 Commits

Author SHA1 Message Date
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
Jason Gerlowski 27f7875d2d
SOLR-13775: Add note about permissions to "PR Template" (#891)
By default, when a Solr contributor creates their own fork, only they
have access to that fork.  This creates a bit of a roadblock when users
contribute PRs from these forks - others can't build off of their work -
something that is done often with patches.  An initial user might
contribute a feature, a committer might add tests or change formatting,
etc.

This commit introduces a bullet point to our PR checklist to nudge users
towards making their PR branches more open so that it's easier for committers
to help them.
2019-09-19 15:37:48 -04: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
Amish Shah 369df12c2c LUCENE:8945: Allow to change the output file delimiter on Luke "export terms" feature
Signed-off-by: Tomoko Uchida <tomoko@apache.org>
2019-09-18 19:53:48 +09:00
Bruno Roustant fd0c8b9e81 LUCENE-8921: IndexSearcher.termStatistics API change
Closes #797
2019-09-17 16:48:24 -04:00
Michael Sokolov 93d3e5d666 LUCENE-8981: update Kuromoji javadocs, adding experimental tags to DictionaryBuilder and JapaneseTokenizer ctor 2019-09-17 07:33:09 -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
Varun Thacker ae570e4694
Remove extra period 2019-09-15 05:12:12 +09: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
Adrien Grand 46a03fff95 LUCENE-8939: Move CHANGES entry. 2019-09-13 17:45:20 +02:00
Atri Sharma 815bc10c07 Fix erratic camelcase 2019-09-13 09:17:36 -04:00
Atri Sharma 477c28c38d Use the threshold in concurrent search test 2019-09-13 09:17:36 -04:00
Koen De Groote ec78ef7852 Changing keyset() to entryset() and sometines values(). (#868) 2019-09-13 14:42:38 +02:00
jimczi ec1ef2bce6 LUCENE-8966: update CHANGES.txt after backport 2019-09-13 10:01:01 +02:00
jimczi c8f36238ab LUCENE-8966: The Korean analyzer split tokens on boundaries between digits and alphabetic characters. 2019-09-13 09:57:21 +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
iverase ef8c7a3ffc LUCENE-8968: Remove left-over line of code. 2019-09-12 08:25:59 +02:00
Ignacio Vera 579fae5f0c
LUCENE-8976: Use exact distance between point and bounding rectangle in FloatPointNearestNeighbor (#874) 2019-09-12 07:48:40 +02: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
Michael Sokolov 770464ec20 LUCENE-8971: Enable constructing JapaneseTokenizer with custom dictionary 2019-09-11 10:45:50 -04:00
Adrien Grand c514b29b24 LUCENE-7521: Simplify PackedInts. 2019-09-11 15:45:49 +02:00
Anshum Gupta 2843f2f9fc
ant precommit GitHub action for all PRs (#870)
This runs with Java11
2019-09-10 15:51:25 -04:00
Ignacio Vera de423aec1f
LUCENE-8968: Improve performance of WITHIN and DISJOINT queries for Shape queries (#857) 2019-09-10 14:53:56 +02:00
iverase f09aafd624 LUCENE-8964: Move entry in CHANGES.txt to version 8.3 2019-09-10 14:34:49 +02:00