Commit Graph

30333 Commits

Author SHA1 Message Date
David Smiley 1e63b32731 * SOLR-12366: A slow "live docs" implementation was being used instead of a bitset.
Affects classic faceting enum method, JSON Facets enum method, UnInvertedField faceting, GraphTermsQParser, JoinQParser.
  Renamed SolrIndexSearcher.getLiveDocs to getLiveDocSet.
2018-05-31 10:55:12 -04:00
Noble Paul 12269abe34 SOLR-12387: cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas
SOLR-12389: support deeply nested json objects in clusterprops.json
2018-06-01 00:50:52 +10:00
Simon Willnauer 76263087b5 LUCENE-8338: Ensure number returned for PendingDeletes are well defined
Today a call to PendingDeletes#numPendingDeletes might return 0
if the deletes are written to disk. This doesn't mean these values are committed
or refreshed in the latest reader. Some places in IW use these numbers to make
decisions if there has been deletes added since last time checked (BufferedUpdateStream)
which can cause wrong (while not fatal) decision ie. to kick of new merges.

Now this API is made protected and not visible outside of PendingDeletes to prevent
any kind of confusion. The APIs now allow to get absolute numbers of getDelCount and numDocs
which have the same name and semantics as their relatives on IndexReader/Writer
and SegmentCommitInfo.
2018-05-30 20:48:51 +02:00
Houston Putman d243f35a54 SOLR-12271: Updating changes.txt 2018-05-30 11:45:24 -04:00
Houston Putman 0ef8e5aa80 SOLR-12271: Fix for analytics component reading negative values from double and float fields. 2018-05-30 11:45:01 -04:00
Andrzej Bialecki 0e4512c231 SOLR-11779: Use fixed Locale for graph labels. 2018-05-30 17:37:33 +02:00
Alan Woodward e3d4c7e9b7 LUCENE-8300: Allow unordered intervals to exclude overlaps 2018-05-30 16:15:39 +01:00
David Smiley 9aa16b64c7 SOLR-12374: Added SolrCore.withSearcher(lambda) convenience.
* and fixed SnapShooter.getIndexCommit bug forgetting to decref (rare?)
2018-05-30 11:00:00 -04:00
yonik 107fd24ec7 SOLR-12417: enforce valid function name for v.json 2018-05-30 10:15:09 -04:00
Andrzej Bialecki d27a2e8996 SOLR-12392: Fix waitForElapsed logic and state restoration. Enable the test. 2018-05-30 15:44:19 +02:00
Jan Høydahl 6ca0c5f98a SOLR-12401: Add refGuide docs and CHANGES 2018-05-30 12:51:00 +02:00
Steve Rowe bd14de24e9 SOLR-12388: print out exception when assert fails 2018-05-30 00:39:26 -04:00
Cao Manh Dat 6084da559c SOLR-12338: Replay buffering tlog in parallel 2018-05-30 11:05:48 +07:00
Varun Thacker 8821b80616 fix typo in autoscaling trigger page 2018-05-29 18:49:24 -07:00
Karl Wright 3764406352 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2018-05-29 21:03:43 -04:00
Karl Wright ceb4f768bf LUCENE-8337: Fix problems with how travel planes too close to edge of world are disallowed, and increase the size of the disallowed window by an order of magnitude. 2018-05-29 21:03:03 -04:00
David Smiley 6e0da7e2f8 SOLR-12374 Add SolrCore.withSearcher(lambda accepting SolrIndexSearcher) 2018-05-29 16:27:11 -04:00
Andrzej Bialecki 64e4dda64e Don't restart Overseer when picking a node randomly. Enable this test for now. 2018-05-29 21:52:31 +02:00
Karl Wright 7ce6dbda18 LUCENE-8337: Add disabled unit test for failure 2018-05-29 12:42:56 -04:00
Alan Woodward 4ea9d2ea8c LUCENE-8273: Adjust position increments when filtering stacked tokens 2018-05-29 15:59:36 +01:00
Simon Willnauer 34741a863a LUCENE-8330: Exclude MockRandomMP from basic tests 2018-05-29 16:58:03 +02:00
Andrzej Bialecki 6bbce38b77 SOLR-11779: Basic long-term collection of aggregated metrics. 2018-05-29 10:35:39 +02:00
Varun Thacker 44015e2acd SOLR-11453: Configuring slowQueryThresholdMillis logs slow requests to a separate file - solr_slow_requests.log 2018-05-28 12:43:05 -07:00
Varun Thacker 071df6e114 SOLR-12314: Use http timeout's defined in solr.xml for creating ConcurrentUpdateSolrClient during indexing requests between leader and replica 2018-05-28 11:21:49 -07:00
Joel 11cfb86489 SOLR-12401: Add getValue() and setValue() Stream Evaluators 2018-05-28 13:29:26 -04:00
Yuri Astrakhan d039730638 Fix incorrect BitUtil.deinterleave() description
Signed-off-by: Adrien Grand <jpountz@gmail.com>

Closes #367
2018-05-28 17:10:47 +02:00
Adrien Grand 1971ef3109 LUCENE-8186: LowerCaseTokenizerFactory now lowercases text in multi-term queries. 2018-05-28 16:20:49 +02:00
Adrien Grand 78ca82e63a Add 6.6.4 back compat test indexes. 2018-05-28 16:11:32 +02:00
Adrien Grand f8ae144054 LUCENE-8324: Make test pass with ExtraFS. 2018-05-28 15:41:17 +02:00
Adrien Grand b1613e4da6 TestLRUQueryCache#testBulkScorerLocking needs large IW buffers. 2018-05-28 15:22:21 +02:00
Simon Willnauer 0941cae532 LUCENE-8334: Ensure SR#getSementInfo() returns snapshot
The SegmentCommitInfo passed to the segment reader is mutated concurrently.
An instance obtained from SR#getSegmentInfo() might return wrong delete counts
or generation ids. This ensures that the SR will use a clone internally while stil
maintaining the original SI since it's needed inside IW for maintainance like
accessing pooled readers etc.
2018-05-28 14:28:36 +02:00
Noble Paul 4e12546b02 SOLR-12294: changed the package of the test file 2018-05-28 15:04:19 +10:00
Cao Manh Dat 2a5346dd29 SOLR-12399: SearchRateTriggerTest.testTrigger fail frequently 2018-05-28 09:48:22 +07:00
yonik f7500a6029 SOLR-12328: domain change using graph 2018-05-27 21:02:15 -04:00
yonik e5998fcb5d SOLR-9685: #tagging in JSON query syntax 2018-05-27 16:22:16 -04:00
Erick Erickson fd929c1d60 SOLR-12028: BadApple and AwaitsFix annotations usage 2018-05-25 10:39:58 -07:00
Noble Paul 18ad8d137a SOLR-12294: update processors loaded from runtime jars fail to load if they are specified in an update processor chain 2018-05-26 00:25:39 +10:00
Noble Paul b86a4c9297 SOLR-12294: jar file required for the testcase 2018-05-26 00:09:43 +10:00
Dawid Weiss 7a5d9ca5e8 LUCENE-8333: Switch MoreLikeThis.setMaxDocFreqPct to use maxDoc instead of numDoc 2018-05-25 12:22:21 +02:00
Dawid Weiss 719fce8026 LUCENE-8221: MoreLikeThis.setMaxDocFreqPct can easily int-overflow on larger indexes. 2018-05-25 12:16:22 +02:00
Dawid Weiss 41ecad9897 SOLR-5351: Fixed More Like This Handler to use all fields provided in mlt.fl when used with content stream. The similarity is calculated between the content stream's value and all fields listed in mlt.fl. 2018-05-25 11:39:42 +02:00
Adrien Grand 0a1de2c4a5 LUCENE-8312: Leverage impacts to speed up SynonymQuery. 2018-05-25 09:30:10 +02:00
Adrien Grand 24d79de796 LUCENE-8144: Moved QueryCachingPolicy.ALWAYS_CACHE to the test framework. 2018-05-25 09:30:10 +02:00
Dawid Weiss 0e4e0096fd SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5 2018-05-25 09:16:41 +02:00
Simon Willnauer c93f628317 LUCENE-8330: Detach IndexWriter from MergePolicy
This change introduces a new MergePolicy.MergeContext interface
that is easy to mock and cuts over all instances of IW to MergeContext.
Since IW now implements MergeContext the cut over is straight forward.
This reduces the exposed API available in MP dramatically and allows
efficient testing without relying on IW to improve the coverage and
testability of our MP implementations.
2018-05-25 07:37:09 +02:00
Steve Rowe 54a63d0d0c SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search requests will fail when the coordinating node cant communicate with ZooKeeper, by setting the "shards.tolerant" param to "requireZkConnected" 2018-05-25 01:03:54 -04:00
Chris Hostetter ad143a1cec improvements/fixes to TestCloudJSONFacetJoinDomain based on lessons learned adapting TestCloudJSONFacetSKG 2018-05-24 18:02:26 -07:00
Steve Rowe 2f38342687 LUCENE-8273: Move test resources to where they belong 2018-05-24 18:13:35 -04:00
Cao Manh Dat 71ed5bafac SOLR-12247: Ensure an event will contains newly added node 2018-05-24 09:42:17 +07:00
markrmiller 48bd259516 SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP. 2018-05-23 15:44:37 -05:00