Commit Graph

31333 Commits

Author SHA1 Message Date
Jan Høydahl 9488c8f688 SOLR-12237: Fix incorrect SOLR_SSL_KEYSTORE_TYPE variable in solr start script 2019-01-03 19:40:47 +01:00
Jan Høydahl 00f8f3a13a SOLR-11774: langid.map.individual now works together with langid.map.keepOrig 2019-01-03 18:27:24 +01:00
David Smiley 6342ec699e SOLR-12633: remove anonChildDocs update parameter used in nested docs in JSON. 2019-01-03 10:58:59 -05:00
Andrzej Bialecki 0a7a478c1f SOLR-12514: Properly close a SolrClient to fix the test teardown. 2019-01-03 14:59:31 +01:00
Andrzej Bialecki dbcb245062 SOLR-13050: Add a note to the ref guide. 2019-01-03 11:55:09 +01:00
Andrzej Bialecki e5fda5d6f1 SOLR-13050: Fix the test so that .system events are collected again. 2019-01-02 22:11:57 +01:00
Jan Høydahl a1c6e642aa SOLR-11853: Solr installer fails on SuSE linux 2019-01-02 17:24:22 +01:00
Jason Gerlowski c34f29a4b4 SOLR-13090: Add sysprop override for maxBooleanClauses 2019-01-02 10:58:32 -05:00
Andrzej Bialecki b9457b78d5 SOLR-13050: Fix another test that could accidentally kill the .system leader node.
Improve fallback in SystemLogListener when target collection is not present.
2019-01-02 16:55:16 +01:00
Noble Paul 302184dd7f SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica 2019-01-02 19:49:40 +11:00
Noble Paul 619b38a19b SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica 2019-01-02 19:44:03 +11:00
Jim Ferenczi 7c70365811 LUCENE-8627: Fix SearchAfter#testQueries to always count the number of hits accurately. 2019-01-02 09:37:10 +01:00
Shalin Shekhar Mangar 5016959ce8 SOLR-13082: A trigger that creates trigger events more frequently than the cool down period can starve other triggers.
This is mitigated to some extent by randomly choosing the trigger to resume after cool down. It is recommended that scheduled triggers not be used for very frequent operations to avoid this problem.
2019-01-02 11:59:00 +05:30
Alan Woodward 2532a5d31c LUCENE-8612: Add Intervals.extend() 2019-01-01 17:55:19 +00:00
Gus Heck 752989fd74 SOLR-13086 improve error message in DocumentObjectBinder 2018-12-31 07:54:56 -05:00
Christine Poerschke 6a2de771bf SOLR-13096: rename TestRankQueryPlugin to RankQueryTestPlugin 2018-12-31 11:05:31 +00:00
Christine Poerschke 345a655f21 SOLR-12973: Admin UI Nodes view support for replica* replica names. (Daniel Collins, Christine Poerschke, janhoy) 2018-12-28 12:23:53 +00:00
Dawid Weiss c9c3ef0ef9 LUCENE-8625: int overflow in ByteBuffersDataInput.sliceBufferList 2018-12-28 12:10:48 +01:00
Dawid Weiss 45c50a0273 LUCENE-8624: int overflow in ByteBuffersDataOutput.size(). 2018-12-28 10:55:25 +01:00
Erick Erickson 24ae0d16cd SOLR-12028: Catching up with annotations after recent Solr test work 2018-12-27 18:03:50 -08:00
Joel Bernstein d018cd18f4 SOLR-13088: Add zplot Stream Evaluator to plot math expressions in Apache Zeppelin 2018-12-27 14:42:27 -05:00
David Smiley 106d300052 SOLR-12535: index time boosts in JSON are no longer accepted 2018-12-26 09:39:42 -05:00
David Smiley 1d0a086217 SOLR-13080: TermsQParserPlugin automaton method should (must?) sort input 2018-12-21 13:26:03 -05:00
Jason Gerlowski 207b3f4453 SOLR-13045: Sim node versioning should start at 0
Prior to this commit, new ZK nodes being simulated by the sim framework
were started with a version of -1.  This causes problems, since -1 is
also coincidentally the flag value used to ignore optimistic concurrency
locking and force overwrite values.
2018-12-21 08:04:44 -05:00
Jason Gerlowski 272178eff5 SOLR-13045: Allow SimDistribStateManager to create top-level data nodes
While working on a related issue in SimDistribStateManager, I noticed
that `createData()` only worked successfully on nodes nested more than
one level under root.  (i.e. `createData("/foo", someData, mode)` would
fail, while the same with "/foo/bar" wouldn't).  This was due to an edge
case in SimDistribStateManager's path building logic.  This commit fixes
this issue.
2018-12-20 14:09:05 -05:00
Andrzej Bialecki 846dfbef39 SOLR-13072: Fix an api change. 2018-12-20 15:49:59 +01:00
Steve Rowe 86bc028f0d LUCENE-8611: Fix Maven test compilation by making lucene-test-framework's dependencies transitive for all modules that depend on it, by not writing out the <dependencyManagement>/<exclusions> section for it in the grandparent POM. 2018-12-20 09:30:16 -05:00
Andrzej Bialecki 1f0e875db6 SOLR-13072: Management of markers for nodeLost / nodeAdded events is broken. 2018-12-20 13:16:28 +01:00
Dawid Weiss 71f024ac8f SOLR-13074: clean up static variables properly, avoiding NPEs. 2018-12-18 23:20:55 +01:00
Dawid Weiss f28c5bec9b LUCENE-8604: TestRuleLimitSysouts now has an optional "hard limit" of bytes that can be written to stderr and stdout (anything beyond the hard limit is ignored). The default hard limit is 2 GB of logs per test class. 2018-12-18 22:03:44 +01:00
Chris Hostetter 73299f0f22 SOLR-13079: refactor and harden common 'suspend-trigger' patern in autoscaling test setup 2018-12-18 11:28:31 -07:00
Adrien Grand dcd4a288b4 LUCENE-8600: Use a faster sort in DocValuesFieldUpdates. 2018-12-18 17:45:17 +01:00
iverase d185ba99de LUCENE-8581: Change LatLonShape encoding to use 4 bytes Per Dimension 2018-12-18 16:50:24 +01:00
Erick Erickson 3be5b59907 SOLR-12727: Added Dat to the credits, partly as a test of whether infra has fixed a commit attribution error 2018-12-17 16:49:21 -08:00
Andrzej Bialecki f5479383b1 SOLR-13076: TimeOut breaks the simulation framework. 2018-12-17 16:49:27 +01:00
Adrien Grand 785d02208a Remove duplicate package info. 2018-12-17 11:29:34 +01:00
Adrien Grand 6f08eee2fd Fix compilation. 2018-12-17 10:07:36 +01:00
markrmiller 5e305e2f00 SOLR-13075: Add @AwaitsFix annotation to SaslZkACLProviderTest. 2018-12-16 14:49:07 -06:00
Cao Manh Dat f80e8e1167 Merge jira/http2 branch to master 2018-12-16 16:58:20 +00:00
Alan Woodward dae3e304a1 LUCENE-8597: TestIntervals.assertGaps() needs to take docBase into account 2018-12-16 11:26:40 +00:00
Jim Ferenczi 53b05c5e7e LUCENE-8603 Fix the inversion of right ids for additional nouns in the Korean user dictionary 2018-12-16 15:03:12 +07:00
Steve Rowe a62b5941b0 SOLR-13060: Annotate never-terminating HDFS Nightly tests with AwaitsFix 2018-12-15 12:24:57 -05:00
Dawid Weiss e916f1fb86 LUCENE-8611: Update randomizedtesting to 2.7.2, JUnit to 4.12, add hamcrest-core dependency. 2018-12-15 09:49:36 +01:00
Simon Willnauer 5c5c42cc37 LUCENE-8609: Remove deprecated IW#numDocs() and IW#maxDoc() methdos 2018-12-14 19:36:25 +01:00
Simon Willnauer e974311d91 LUCENE-8609: Allow getting consistent docstats from IndexWriter
Today we have #numDocs() and #maxDoc() on IndexWriter. This is enough
to get all stats for the current index but it's subject to concurrency
and might return numbers that are not consistent ie. some cases can
return maxDoc < numDocs which is undesirable. This change adds a getDocStats()
method to index writer to allow fetching consistent numbers for these stats.

This change also deprecates IndexWriter#numDocs() and IndexWriter#maxDoc()
and replaces all their usages wiht IndexWriter#getDocStats()
2018-12-14 19:36:25 +01:00
Nicholas Knize eb4fda65e5 update project DOAP files to the latest 7.6.0 release 2018-12-14 11:44:22 -06:00
Jason Gerlowski 1d601ed646 SOLR-13065: Harden TestSimExecutePlanAction 2018-12-14 12:22:09 -05:00
Jason Gerlowski 655e9ecf7c Fix active replica count reporting in SimClusterStateProvider
One codepath assumed all replicas were active, instead of checking the
state of each individually.
2018-12-14 12:21:47 -05:00
Jason Gerlowski dd910d1a06 Indicate collection in `clusterShape` log messages
Many of Solr's tests use CloudTestUtils' `waitForState` and
`clusterShape` methods to wait until a SolrCloud cluster matches a
particular expected shape.  The code periodically checks on the cluster
state, and logs a message if a collection doesn't match the state we
expect of it.  Prior to this commit, these log messages omitted the
collection name though, which makes things a little confusing when a
test is checking on the state of multiple collections simultaneously (as
can happen when Triggers fire in the background).
2018-12-14 12:21:19 -05:00
Erick Erickson 3ca7e65388 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-12-14 07:43:06 -08:00