Commit Graph

6808 Commits

Author SHA1 Message Date
Christine Poerschke 65c842f9fa SOLR-11801: Support customisation of the highlighting query response element.
(Ramsey Haddad, Pranav Murugappan, David Smiley, Christine Poerschke)
2018-01-04 14:54:48 +00:00
Christine Poerschke 5d4f029fdd SOLR-11798: Formally deprecate top-level <highlighting> syntax in solrconfig.xml in favour of <searchComponent> equivalent syntax. 2018-01-04 14:54:47 +00:00
Adrien Grand 8fd7ead940 LUCENE-8116: SimScorer now only takes a frequency and a norm as per-document scoring factors. 2018-01-04 15:13:36 +01:00
Joel Bernstein 94a680c311 SOLR-11682: Add gtestDataSet Stream Evaluator 2018-01-03 21:31:39 -05:00
Joel Bernstein 1cc49d18c2 Add chiSquareDataSet Stream Evaluator 2018-01-03 13:57:11 -05:00
Andrzej Bialecki 2da4ed17ba SOLR-11730 Add a nodeLost benchmark. 2018-01-03 13:29:15 +01:00
Joel Bernstein a925847684 SOLR-11430: Add lerp and akima Stream Evaluators to support linear and akima spline interpolation 2018-01-02 10:24:06 -05:00
Shalin Shekhar Mangar caa731a333 SOLR-11748: Remove Autoscaling action throttle 2018-01-02 19:08:36 +05:30
Alan Woodward c1030eeb74 LUCENE-8012: Explanation takes Number rather than float 2018-01-02 11:06:59 +00:00
Andrzej Bialecki ca29722b22 Remove a misleading comment left over from an earlier refactoring. 2018-01-02 11:06:42 +01:00
Joel Bernstein 692e5243e9 SOLR-11808: Add sumSq Stream Evaluator 2017-12-31 13:48:23 -05:00
Joel Bernstein fbea59b086 SOLR-11172: Add Mann-Whitney U test Stream Evaluator 2017-12-28 14:14:26 -05:00
Christine Poerschke 287062df37 SOLR-11793: Reduce code duplication w.r.t. RestTestHarness(es). 2017-12-28 12:31:05 +00:00
Erick Erickson 05ab5e10ae SOLR-11555: If the query terms reduce to nothing, filter(clause) produces an NPE whereas fq=clause does not 2017-12-27 12:05:31 -08:00
Erick Erickson 6b368c0484 SOLR-11426: removed infostream debug logging from master 2017-12-27 09:07:53 -08:00
Erick Erickson 137675ace7 SOLR-11783: Rename core in solr standalone mode is not persisted 2017-12-26 22:16:52 -08:00
Erick Erickson 7e321d70df SOLR-11701: Upgrade to Tika 1.17 when available 2017-12-24 17:03:00 -08:00
Shalin Shekhar Mangar 43f17f7af1 SOLR-11201: Implement autoscaling trigger for arbitrary metrics that creates events when a given metric breaches a threshold 2017-12-22 21:18:50 +05:30
Joel Bernstein 6045066495 SOLR-11791: Add density Stream Evaluator 2017-12-22 10:41:42 -05:00
Joel Bernstein b5d55b86df SOLR-11789: Add integrate Stream Evaluator 2017-12-22 07:57:41 -05:00
Andrzej Bialecki 091f45dd7b SOLR-11730: Add simulated tests for nodeAdded / nodeLost dynamic in a large cluster.
Plus some other fixes:
* Fix leader election throttle and cluster state versioning in the simulator.
* PolicyHelper was still using a static ThreadLocal field, use ObjectCache isntead.
2017-12-22 12:58:21 +01:00
David Smiley f354a278f8 SOLR-11754: remove AbstractSolrTestCase; use SolrTestCaseJ4 instead.
Also removed SolrExampleTestBase in Solrj-tests.
2017-12-21 13:20:22 -05:00
Tomas Fernandez Lobbe ba2ef4a894 SOLR-11426: Make sure commitOnClose is enabled before running testNoCommit 2017-12-20 16:00:02 -08:00
Joel Bernstein 960a5fd793 SOLR-11785: Add multiVariateNormalDistribution Stream Evaluator 2017-12-20 13:51:47 -05:00
David Smiley 9f7f76f267 LUCENE-5803: Add a Solr test that we reuse analysis components across fields for the same field type 2017-12-19 10:28:22 -05:00
Joel Bernstein f8c93db9eb SOLR-11681: Add ttest and pairedTtest Stream Evaluators 2017-12-18 14:31:47 -05:00
Alan Woodward b01e6023e1 LUCENE-8099: Deprecate CustomScoreQuery, BoostedQuery, BoostingQuery 2017-12-18 17:47:03 +00:00
Steve Rowe 3e2f9e62d7 LUCENE-2899: Add OpenNLP Analysis capabilities as a module 2017-12-15 11:24:18 -05:00
Andrzej Bialecki d02d1f1cab SOLR-11285: Remove stray logging. Relax test assertion due to timing under load. 2017-12-15 11:30:50 +01:00
Andrzej Bialecki d6d2e3b2e3 SOLR-11285: Simulation framework for autoscaling. 2017-12-14 12:56:23 +01:00
Chris Hostetter 2990c88a92 Beef up testing of json.facet 'refine:simple' when dealing with 'Long Tail' terms
In an attempt to get more familiar with json.facet refinement, I set out to try and refactor/generalize/clone
some of the existing facet.pivot refinement tests to assert that json.facet could produce the same results.
This test is a baby step towards doing that: Cloning DistributedFacetPivotLongTailTest into
DistributedFacetSimpleRefinementLongTailTest (with shared index building code).

Along the way, I learned that the core logic of 'refine:simple' is actually quite different then how facet.field
& facet.pivot work (see discussion in SOLR-11733), so they do *NOT* produce the same results in many "Long Tail"
Sitautions.  As a result, many of the logic/assertions inDistributedFacetSimpleRefinementLongTailTest are very
differnet then their counter parts in DistributedFacetPivotLongTailTest, with detailed explanations in comments.

Hopefully this test will prove useful down the road to anyone who might want to compare/contrast facet.pivot
with json.facet, and to prevent regressions in 'refine:simple' if/when we add more complex refinement
approaches in the future.

There are also a few TODOs in the test related to some other small discrepencies between json.facet and
stats.field that I opened along the way, indicating where the tests should be modified once those issues are
addressed in json.facet...

 - SOLR-11706: support for multivalued numeric fields in stats
 - SOLR-11695: support for 'missing()' & 'num_vals()' (aka: 'count' from stats.field) numeric stats
 - SOLR-11725: switch from 'uncorrected stddev' to 'corrected stddev'
2017-12-12 11:50:20 -07:00
Chris Hostetter efc2f32ea0 SOLR-11711: Fixed distributed processing of facet.field/facet.pivot sub requests to prevent requesting unneccessary and excessive '0' count terms from each shard 2017-12-11 10:26:55 -07:00
Adrien Grand 0e1d6682d6 LUCENE-4100: Fix more queries to implement the new updated createWeight API. 2017-12-08 08:50:00 +01:00
David Smiley 5448274f26 SOLR-11691: Bug: V2 requests for create-alias didn't work when the collections param was an array. 2017-12-07 10:55:50 -05:00
Adrien Grand 4fc5a872de LUCENE-4100: Faster disjunctions when the hit count is not needed. 2017-12-07 10:49:39 +01:00
Adrien Grand 63b63c5734 LUCENE-8015: Fixed DFR similarities' scores to not decrease when tfn increases. 2017-12-06 18:19:57 +01:00
Adrien Grand 70b36666d4 LUCENE-8051: Typo in LevensHtein distance.
Closes #284
2017-12-06 17:29:16 +01:00
Adrien Grand a8a63464e7 LUCENE-7996: Queries are now required to produce positive scores. 2017-12-06 14:06:03 +01:00
Noble Paul b0416ae7ed removed unused imports 2017-12-06 20:11:32 +11:00
Noble Paul 071d9270d5 SOLR-11669: Policy Session lifecycle cleanup 2017-12-06 15:04:04 +11:00
yonik e84cce8ea1 SOLR-11664: fix range facet issues with sub-aggregations on string fields, adds resetIterator to SlotAcc 2017-12-05 20:14:57 -05:00
Andrzej Bialecki 41644bdcdc SOLR-11458: Improve error handling in MoveReplicaCmd to avoid potential loss of data. 2017-12-05 14:46:05 +01:00
Joel Bernstein 8750e5f2a9 SOLR-11485: Add olsRegress, spline and derivative Stream Evaluators 2017-12-04 21:09:41 -05:00
David Smiley 83753d0a2a SOLR-11662: synonymQueryStyle option for FieldType used by query parser 2017-12-04 13:25:16 -05:00
Erick 929ce7ca30 SOLR-11687: SolrCore.getNewIndexDir falsely returns {dataDir}/index on any IOException reading index.properties 2017-12-04 09:56:58 -08:00
Varun Thacker 2ed0f1b68e SOLR-11713: Fixed CdcrUpdateLogTest.testSubReader() failure which was a test bug 2017-12-03 23:17:51 -08:00
Varun Thacker 864ce90d2c SOLR-11616: Snapshot the segments more robustly such that segments created during a backup does does not fail the
operation
2017-12-01 19:30:29 -08:00
David Smiley 7877f5a511 SOLR-11542: Rename TimePartitionedUpdateProcessor to TimeRoutedAliasUpdateProcessor 2017-11-30 23:25:14 -05:00
Anshum Gupta ebdaa44182 SOLR-11608: Correctly parse the new core-name in the V2 core rename API. 2017-11-29 13:17:17 -08:00
Adrien Grand 812711416d LUCENE-8059: Fold early termination support into TopFieldCollector. 2017-11-29 18:09:38 +01:00
Joel Bernstein 70767b109f SOLR-11697: Add geometricDistribution Stream Evaluator 2017-11-28 21:23:15 -05:00
Christine Poerschke 812db14f27 SOLR-11291: Factor out abstract metrics/SolrCore[Container]Reporter classes. (Omar Abdelnabi, Christine Poerschke) 2017-11-28 15:39:55 +00:00
Shalin Shekhar Mangar 207e546122 SOLR-11202: Implement a set-property command for AutoScaling API 2017-11-28 16:08:32 +05:30
Joel Bernstein 8072b46b63 SOLR-11680: Add normalizeSum Stream Evaluator 2017-11-27 13:38:43 -05:00
Noble Paul 7a12de47ec SOLR-9743: removed unused logging 2017-11-27 17:06:27 +10:30
Noble Paul 2bde0eab3f SOLR-9743: A new UTILIZENODE command 2017-11-24 00:32:26 +10:30
Joel Bernstein 4ebac27d13 SOLR-11569: Fix compilation error 2017-11-22 18:39:04 -05:00
Joel Bernstein 17078019e2 SOLR-11569: Add support for distance matrices to the distance Stream Evaluator 2017-11-22 18:31:08 -05:00
David Smiley 9b52571d8c SOLR-11501: limit query parser switching to thwart hacking
* starting a query with {!...} only works when the default parser is lucene or func.
* edismax now requires uf=_query_ to allow advanced sub-queries.
2017-11-22 08:47:32 -05:00
Erick ab5fbad3d7 SOLR-11426: TestLazyCores fails too often, debugging 2017-11-21 09:55:40 -08:00
David Smiley 51b2dea68e SOLR-11487: Put back sleep(100) in CreateAliasCmd.
Update AliasIntegrationTest with some sleeps and use new alias names where
possible to avoid eventual consistency challenges.
2017-11-17 17:20:08 -05:00
David Smiley df5a5f949b SOLR-11542: TimePartitionedUpdateProcessor URP 2017-11-16 15:09:09 -05:00
David Smiley fd1820a430 SOLR-11487: Collection Aliases may now have metadata 2017-11-16 13:57:22 -05:00
yonik c561ffe635 SOLR-11553: fix refinement to pick right processor / uninversion mechanism 2017-11-16 12:28:01 -05:00
Noble Paul 75825d240f SOLR-11642: remove synchronization on OCMH 2017-11-16 08:50:56 +10:30
Alan Woodward 2a4dd499bb LUCENE-7736: IndexReaderValues 2017-11-15 14:22:49 +00:00
Alan Woodward 183571c085 LUCENE-6278: Remove Scorer.freq() 2017-11-15 11:14:16 +00:00
Noble Paul cfea3d5e83 SOLR-11642: remove Policy.Session from OverseerCollectionMessageHandler 2017-11-15 21:18:33 +10:30
David Smiley 3923e9fba3 SOLR-11595: optimize SolrIndexSearcher.collectionStatistics 2017-11-14 16:58:49 -05:00
Chris Hostetter d77d54b1a6 SOLR-11641: Change to default to so default behavior is to PostFilter if user specifies 2017-11-14 10:45:29 -07:00
Noble Paul 79283834bc SOLR-11380:removed GenericRequest.setContentStreams() 2017-11-15 03:55:17 +10:30
Andrzej Bialecki 7c54b2b116 SOLR-11458: Improve this test to show the failure to be fixed in SOLR-11458. 2017-11-14 11:16:39 +01:00
Joel Bernstein 59360b4617 SOLR-11570: Add support for correlation matrices to the corr Stream Evaluator 2017-11-13 19:44:46 -05:00
Joel Bernstein 9ea9a85339 SOLR-11571: Add diff Stream Evaluator to support time series differencing 2017-11-10 13:15:41 -05:00
Alan Woodward 276e317e94 LUCENE-8042: Add SegmentCachable interface 2017-11-10 12:17:50 +00:00
David Smiley a43c318a51 SOLR-11507: randomize parallelUpdates for test CloudSolrClientBuilder 2017-11-09 15:58:58 -05:00
Chris Hostetter 15fe53e10b SOLR-9120: Reduce log level for inconsequential NoSuchFileException that LukeRequestHandler may encounter 2017-11-09 09:53:22 -07:00
Alan Woodward 1a80bc76b1 SOLR-11610: Move SOLR to PayloadDecoder 2017-11-09 14:05:34 +00:00
Noble Paul 6c46569705 SOLR-11614: ReplicaAssigner to use SolrCloudManager 2017-11-09 23:18:28 +10:30
Shalin Shekhar Mangar eef8f30da2 SOLR-11627: Enable debug logging of overseer messages 2017-11-09 17:52:33 +05:30
David Smiley 67a6a14302 SOLR-11619: V2 action=REMOTEQUERY bug 2017-11-08 11:54:29 -05:00
Steve Rowe b28ed8f0ef SOLR-11003: Do not import ImmutableMap from shaded junit4-ant jar 2017-11-08 10:39:43 -05:00
Shalin Shekhar Mangar 70d1d94110 SOLR-11621: Fix spurious failures of TriggerIntegrationTest due to timing issues 2017-11-08 15:47:15 +05:30
Joel Bernstein 23fe16d3e9 SOLR-11607: Add grandSum, sumRows, sumColumns, scalarDivide, scalarMultiply, scalarAdd, scalarSubtract Stream Evaluators 2017-11-07 19:46:26 -05:00
Varun Thacker 1f83b1fc1c SOLR-11618: Tone down verbosity of BackupManager logging 2017-11-07 14:31:22 -08:00
Noble Paul a03d6bc8c2 SOLR-11380: deprecated getContentStreams() 2017-11-07 17:56:52 +10:30
Uwe Schindler 610efa7925 SOLR-11606: Add missing assumeWorkingMockito() 2017-11-04 21:29:10 +01:00
Uwe Schindler 3ab1a07662 SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10) 2017-11-04 19:37:28 +01:00
Erick Erickson d501ecd2d1 SOLR-11503: Collections created with legacyCloud=true cannot be opened if legacyCloud=false 2017-11-03 19:43:37 -07:00
Varun Thacker db18de7e6b SOLR-11003: Support bi-directional syncing of cdcr clusters. We still only support actively into one cluster cluster,
but have the ability to switch indexing clusters and cdcr will replicate correctly
2017-11-03 15:37:39 -07:00
Joel Bernstein d723578034 SOLR-11602: Add Markov Chain Stream Evaluator 2017-11-03 15:00:43 -04:00
Alan Woodward a886a001a4 LUCENE-8017: Add Weight.getCacheHelper() 2017-11-03 10:40:14 +00:00
Robert Muir ca5f9b3457 LUCENE-8007: Make scoring statistics mandatory 2017-11-02 23:02:21 -04:00
Joel Bernstein 0ebf5e0896 SOLR-11599: Change normalize function to standardize and make it work with matrices 2017-11-02 21:37:29 -04:00
Scott Blum 0637407ea4 SOLR-11423: fix typo 2017-11-02 18:26:59 -04:00
Joel Bernstein e915078707 SOLR-10680: Add minMaxScale Stream Evaluator 2017-11-02 13:44:42 -04:00
Andrzej Bialecki dc6119b85d SOLR-11072: Make the new test more robust to side-effects from other tests in the suite. 2017-11-02 17:35:13 +01:00
Andrzej Bialecki 6008b186a2 SOLR-11072: Fix creation of searchRate triggers via API, add a unit test, other minor edits. 2017-11-02 16:32:29 +01:00
Cao Manh Dat bf040a88ef SOLR-10125: Enable debug logging for addReplicaTest() 2017-11-02 15:20:42 +07:00
Robert Muir aa0286540f SOLR-11511: qualify inner type name for javadocs links to fix precommit 2017-11-01 20:29:06 -04:00
Joel Bernstein 6eea7f70a0 SOLR-11594: Add precision Stream Evaluator 2017-11-01 13:35:35 -04:00
David Smiley 1ff6084d8e SOLR-11511: minor: use existing fields in DURP: coreDesc, zkController, collection 2017-11-01 11:47:09 -04:00
Shalin Shekhar Mangar 44b7bc0177 SOLR-11591: Change the test to not run into the race condition identified until we fix it 2017-11-01 19:48:00 +05:30
Noble Paul 1b8747ec4f SOLR-11380: XML request writer also stream request 2017-11-01 19:26:22 +10:30
Joel Bernstein 5633268a45 SOLR-11567: Add triangularDistribution Stream Evaluator 2017-10-31 19:52:07 -04:00
Erick Erickson 148d81c1e9 SOLR-11438: Solr should return rf when min_rf is specified for deletes as well as adds 2017-10-31 16:21:58 -07:00
Varun Thacker 95d287e866 SOLR-11586: Restored collection should use stateFormat=2 instead of 1 2017-10-31 15:14:12 -05:00
Varun Thacker 12d9d67dab Revert "SOLR-11003"
This reverts commit bc46de3b2a.
2017-10-31 13:50:28 -05:00
Varun Thacker 07652a5289 SOLR-11560: Specifying the replicationFactor parameter while restoring a collection would lead to extra tlog
and pull replicas being created
2017-10-31 13:43:19 -05:00
Varun Thacker bc46de3b2a SOLR-11003 2017-10-31 13:43:19 -05:00
Christine Poerschke d58ec8728c Remove unnecessary casts in SolrCloudReportersTest. Split out from the SOLR-11291 changes. (Omar Abdelnabi via Christine Poerschke) 2017-10-31 17:24:36 +00:00
Steve Rowe 55d3aeb21a SOLR-11564: TestFunctionQuery: clear index before each test to avoid cross contamination 2017-10-31 12:40:32 -04:00
Shalin Shekhar Mangar 39376cd8b5 SOLR-9440: The ZkStateReader.removeCollectionStateWatcher method can cache a DocCollection reference and never update it causing stale state to be returned in ClusterState 2017-10-31 17:58:36 +05:30
Cao Manh Dat 0f9012009b SOLR-10397: Remove unused imports 2017-10-31 15:07:52 +07:00
Cao Manh Dat ce61a59ecd SOLR-10397: Fix test failures 2017-10-31 15:06:34 +07:00
Noble Paul 706b6c9171 SOLR-11380: SolrJ must stream docs to server instead of writing to a buffer first 2017-10-31 13:16:31 +10:30
Cao Manh Dat f6cbce1c6e SOLR-11576: CollectionsAPIDistributedZkTest.testCollectionsAPI() get failed when query node has stale clusterstate 2017-10-31 09:13:02 +07:00
Robert Muir e0bde57981 LUCENE-8020: don't force sim to score bogus terms (e.g. docfreq=0) 2017-10-30 20:32:12 -04:00
Joel Bernstein 3edb23471b SOLR-11565: Add unit Stream Evaluator to support unitizing of vectors 2017-10-30 20:17:22 -04:00
Christine Poerschke b8bcaf9246 SOLR-10132: A new optional facet.matches parameter to return facet buckets only for terms that match a regular expression. (Gus Heck, Christine Poerschke) 2017-10-30 18:03:25 +00:00
Joel Bernstein b7332f65b7 SEARCH-11566: Add transpose Stream Evaluator to support transposing of matrices 2017-10-30 12:59:13 -04:00
Steve Rowe 84fa17d42a TestFunctionQuery: clear index before each test to avoid cross contamination 2017-10-30 11:26:31 -04:00
Andrzej Bialecki c8d55cc6d4 SOLR-11413: SolrGraphiteReporter fails to report metrics due to non-thread safe code. 2017-10-30 12:52:01 +01:00
Cao Manh Dat cc519b9ddd SOLR-11452: Leader from collectionState can be null 2017-10-30 10:04:08 +07:00
Joel Bernstein e0239b9e84 SOLR-11568: Add matrix Stream Evaluator to support efficient matrix operations 2017-10-29 20:59:57 -04:00
Jan Høydahl b44497fdb7 SOLR-11562: Restore Solr ASCII-art in log at startup by removing Default config logging 2017-10-28 21:39:23 +02:00
Tomas Fernandez Lobbe 64f60e5cec SOLR-11170: Remove unused import 2017-10-27 10:24:16 -07:00
Cao Manh Dat 7a19128109 SOLR-11532: Solr hits NPE when fl only contains DV fields and any of them is a spatial field 2017-10-27 14:34:18 +07:00
Cao Manh Dat 161be0a4ae SOLR-11170: Make AssignBackwardCompatibilityTest more reliable 2017-10-27 10:23:28 +07:00
Steve Rowe c440361a17 SOLR-10874: Fix AIOOBE caused by FloatPayloadValueSource calling PostingsEnum.nextPosition() more than the given term's frequency in overridden FloatDocValues.floatVal(). 2017-10-26 15:20:42 -04:00
Andrzej Bialecki ed611a0851 SOLR-11320: Lock autoscaling triggers when changes they requested are being made. 2017-10-26 15:42:48 +02:00
Andrzej Bialecki 99f5760142 SOLR-9735: Fix v2 API for AutoscalingHistoryHandler. 2017-10-26 15:21:10 +02:00
Shalin Shekhar Mangar 0fad80b409 SOLR-9735: Enable randomized testing between v1 and v2 APIs 2017-10-26 15:19:32 +05:30
Varun Thacker 0ddb8a03d3 SOLR-11467: Remove additional logging to track test failures 2017-10-25 14:43:33 -07:00
Varun Thacker cb20bbdd1f SOLR-11326: A bootstrap of a target cluster does not need to download the tlog files from the source cluster 2017-10-25 14:30:04 -07:00
David Smiley 0b3c3000e0 SOLR-11511: Minor refactorings to DistributedUpdateProcessor 2017-10-25 12:10:28 -04:00
Cassandra Targett 01b8cd8d44 SOLR-11135: remove cwiki.apache.org references in javadocs 2017-10-25 09:59:02 -05:00
Andrzej Bialecki 80c49ae090 Add documentation for "shard" and "cluster" reporters. 2017-10-25 15:56:23 +02:00
Noble Paul a72330e9b9 SOLR-11548: make ZkOperation an interface 2017-10-25 18:14:48 +10:30
Noble Paul f47523d05b SOLR-11469: forbidden API 2017-10-25 18:10:53 +10:30
Cao Manh Dat 81a4f7cc9c SOLR-11469: Sanity check assertions about coreNodeNames are identical in 2 collections 2017-10-25 09:11:32 +07:00
Noble Paul 6305ed6695 SOLR-11524: A new autoscaling/suggestions API end-point which gives autoscaling suggestions
SOLR-11519: Implement suggestions for replica count violations

SOLR-11518: Implement Suggestions for freedisk violations
2017-10-24 23:39:13 +10:30
Joel Bernstein a6e1237451 SOLR-11429: Add loess Stream Evaluator to support Local Regression interpolation 2017-10-23 14:45:10 -04:00
Christine Poerschke f9c066e36c SOLR-11497: add javadocs for XmlQParserPlugin class. 2017-10-23 15:41:52 +01:00
Cao Manh Dat 0f75635aff Fix precommit 2017-10-23 14:48:10 +07:00
Cao Manh Dat f1cb28c234 SOLR-11469: LeaderElectionContextKeyTest has flawed logic: 50% of the time it checks the wrong shard's elections 2017-10-23 14:45:32 +07:00
Cao Manh Dat 79f31d1d34 SOLR-11452: testOutOfOrderDBQWithInPlaceUpdates test should wait for new replica gets elected first 2017-10-23 10:19:43 +07:00
Alexandre Rafalovitch 2cd434e786 SOLR-11490: Undo since tags for pre-3.1 classes
Reverse some of the added tags, to reduce possible solr/lucene version
confusion
2017-10-22 22:50:11 -04:00
Cao Manh Dat 32ed8520c7 SOLR-11452: Delay between open new searcher and copy over updates can cause the test to fail. 2017-10-20 18:11:13 +07:00
David Smiley f472210023 SOLR-11444: Fix AliasIntegrationTest when masked collection is null 2017-10-19 23:07:30 -04:00
Andrzej Bialecki d3e949c07b SOLR-11072: Implement trigger for searchRate event type. 2017-10-19 11:36:59 +02:00
David Smiley e001f35289 SOLR-11444: Improve consistency of collection alias handling and collection list references.
Other refactorings of nearby code too.
2017-10-19 00:02:24 -04:00
Cao Manh Dat 99e853faf8 SOLR-11478: Only remove nodeAddedPath node if it exists 2017-10-19 10:42:07 +07:00
Alexandre Rafalovitch 70784f4561 SOLR-11490: Add missing @since tags
To all descendants of TupleStream
2017-10-18 21:38:51 -04:00
David Smiley 18c8091da5 SOLR-11464: SOLR-11493: Minor refactorings to DistributedUpdateProcessor 2017-10-18 20:18:54 -04:00
Christine Poerschke 0b0ed21182 SOLR-11389: For Solr(Shard|Cluster)Reporter instances the SolrMetricManager.registerReporter method is now called after the SolrCore or CoreContainer has been set for the instance. 2017-10-18 16:27:04 +01:00
Andrzej Bialecki 8b4ab2644d SOLR-11448: Implement an option in collection commands to wait for final results. 2017-10-18 16:28:56 +02:00
Christine Poerschke a6f8dd74f0 Fix two s/recieve/receive typos. 2017-10-18 12:59:05 +01:00
Noble Paul e441b3ac4e SOLR-11359: refactored replica name parsing into Utils 2017-10-18 16:58:59 +10:30
Alexandre Rafalovitch 3eeeb9fa4d SOLR-11490: Add missing @since tags
To all descendants of TokenFilterFactory
2017-10-17 23:19:09 -04:00
Alexandre Rafalovitch 17d340055f SOLR-11490: Add missing @since tags
To all descendants of UpdateRequestProcessorFactory
2017-10-17 22:24:35 -04:00
Chris Hostetter 2da777cdb8 SOLR-11053: remove AutoCommitTest + HardAutoCommitTest now that SoftAutoCommitTest exercises all the same functionality with more robust assertions 2017-10-17 14:17:51 -07:00
Cao Manh Dat 57e976341b SOLR-11478: Solr should remove itself from live_nodes in zk immediately on shutdown 2017-10-17 17:35:00 +07:00
Noble Paul 141b08a40f SOLR-11359: Refactored 2017-10-16 23:57:29 +10:30
Andrzej Bialecki 8dd489edce SOLR-11285: Support simulations at scale in the autoscaling framework,
part 1 (refactoring).
2017-10-14 18:15:40 +02:00
Cao Manh Dat 9543e85460 SOLR-11443: Remove the usage of workqueue for Overseer 2017-10-14 09:33:17 +07:00
Christine Poerschke 926cc4d65b SOLR-11477: Disallow resolving of external entities in Lucene queryparser/xml/CoreParser and SolrCoreParser (defType=xmlparser or {!xmlparser ...}) by default.
(Michael Stepankin, Olga Barinova, Uwe Schindler, Christine Poerschke)
2017-10-13 12:51:19 +01:00
Uwe Schindler 7b313bb597 SOLR-11482: RunExecutableListener was removed for security reasons 2017-10-13 13:48:18 +02:00
Cao Manh Dat 8a7d04a658 SOLR-11447: ZkStateWriter should process commands in atomic 2017-10-13 15:23:44 +07:00
Varun Thacker 6fecf849b6 SOLR-11467: Added extra logging to debug jenkins CDCR failures 2017-10-12 20:45:41 -07:00
Chris Hostetter cd1a635898 SOLR-11469: disable LeaderElectionContextKeyTest since we know it's logically flawed 2017-10-12 13:41:10 -07:00
Noble Paul 4f52d2db10 SOLR-11451: ComputePlanActionTest.testNodeLost() failure 2017-10-13 00:13:42 +10:30
Cao Manh Dat bac4049317 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-10-12 15:08:41 +07:00
Cao Manh Dat df5fefb0db SOLR-11445: Overseer should not hang when process bad message 2017-10-12 15:08:24 +07:00
Chris Hostetter 8c39b37c5a SOLR-11456: Fix HealthCheckHandlerTest's bogus asserts and timing/order related flakiness 2017-10-11 15:30:32 -07:00
Andrzej Bialecki 5e69a465ee SOLR-11407: Add more logging to this test to discover the reason for failures. 2017-10-11 19:26:00 +02:00
Chris Hostetter b21721f152 SOLR-11055: Add 'commitWithin' testing (of both soft/hard commits) to SoftAutoCommitTest 2017-10-10 09:08:25 -07:00
Noble Paul 371f731520 SOLR-11451: added logging to track the failures 2017-10-11 00:42:55 +10:30
Andrzej Bialecki 338a421175 SOLR-11449: MoveReplicaCmd mistakenly called registerCollectionStateWatcher on failure. 2017-10-10 12:43:32 +02:00
Cao Manh Dat 5e1474dca4 SOLR-11452: TestTlogReplica.testOnlyLeaderIndexes() failure 2017-10-10 10:11:59 +07:00
Joel Bernstein aa6ec0ee54 SOLR-11377: Add expMovingAverage (exponential moving average) Stream Evaluator 2017-10-08 21:03:47 -04:00
Joel Bernstein b9c8aa7059 SOLR-11439: Add harmonicFit Stream Evaluator 2017-10-08 21:03:47 -04:00
Erick Erickson e92bde1e7e SOLR-11426: TestLazyCores fails too often, trying to debug 2017-10-07 22:12:03 -07:00
Erick Erickson f0a4b2dafe Revert "SOLR-11426: TestLazyCores fails too often. Adding debugging code MASTER ONLY since I can't get it to fail locally"
This reverts commit 37fb60d
2017-10-06 17:24:37 -07:00
Varun Thacker e30171397e SOLR-11306: Fix inaccurate comments on docValues and StrField in the example schemas 2017-10-06 15:48:58 -07:00
Erick Erickson 37fb60d0f1 SOLR-11426: TestLazyCores fails too often. Adding debugging code MASTER ONLY since I can't get it to fail locally 2017-10-06 09:54:32 -07:00
Andrzej Bialecki e193cd2027 Make the timings in this test more predictable. 2017-10-06 10:06:35 +02:00
Scott Blum 9419366a8e SOLR-11423: Overseer queue needs a hard cap (maximum size) that clients respect 2017-10-05 18:52:43 +00:00
Andrzej Bialecki 77fc1885c7 SOLR-11440: Potential fix for better handling of exceptions thrown during closing. 2017-10-05 10:45:28 +02:00
Noble Paul 6b327fa404 SOLR-11440: Not a fix. Swallowing the exception for the time being. 2017-10-05 16:34:13 +10:30
Joel Bernstein 1782dd9ca9 SOLR-11436: Add polyfit and polyfitDerivative Stream Evaluators 2017-10-04 14:02:13 -04:00
Chris Hostetter b10eb1172a SOLR-11372: addemdum, refactor refinement randomization to be reproducible when re-using the same TermFacet instance 2017-10-04 09:47:28 -07:00
Steve Rowe fe38dcafbe fix precommit errors after merging autoscaling branch into master 2017-10-04 12:17:40 -04:00
Noble Paul 15d17ed833 precommit errors 2017-10-05 02:21:45 +10:30
Noble Paul 301223915d precommit errors 2017-10-04 19:54:44 +10:30
Noble Paul b09c99f516 license header missing 2017-10-04 19:05:23 +10:30
Cao Manh Dat 34c176da29 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2017-10-04 15:25:32 +07:00
Cao Manh Dat 9905736898 SOLR-11424: When legacyCloud=false, cores should not publish itself as DOWN on startup 2017-10-04 15:25:17 +07:00
Noble Paul 2c873cd8c6 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-04 00:08:14 +10:30
Noble Paul 309ed641ee Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-03 23:57:29 +10:30
Noble Paul 310bcd7cbe Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr into feature/autoscaling 2017-10-03 23:57:15 +10:30
Cao Manh Dat fd2b4f3f86 SOLR-10285: Skip LEADER messages when there are leader only shards 2017-10-03 09:00:02 +07:00
Steve Rowe 39ba1c3da5 SOLR-11406: Solr 7.0 cannot read indexes from 6.x versions 2017-09-29 16:33:07 -04:00
Joel Bernstein 633af79406 SOLR-11415: Add betaDistribution Stream Evaluator 2017-09-29 09:57:45 -04:00
Joel Bernstein 3f94f2ed4c SOLR-11414: Add gammaDistribution Stream Evaluator 2017-09-28 14:08:38 -04:00
Joel Bernstein 790533da12 SOLR-11401: Add zipFDistribution Stream Evaluator 2017-09-27 21:47:43 -04:00
Varun Thacker 26677ab2b0 SOLR-11278: Fix a race condition in the CDCR bootstrap process which could lead to bootstraps cancelling itself 2017-09-27 14:34:45 -07:00
Joel Bernstein 5e840c9a1c SOLR-11400: Fix precommit 2017-09-27 14:17:04 -04:00
Joel Bernstein 6b3447defd SOLR-11400: Add logNormalDistribution Stream Evaluator 2017-09-27 13:53:03 -04:00
Andrzej Bialecki fba51f34d7 SOLR-11407: Add some debugging information when the test fails. 2017-09-27 19:25:15 +02:00
Cao Manh Dat cc9c867083 SOLR-11293: Fix downgrade in performance from precommit 2017-09-27 22:46:55 +07:00
David Smiley 3b0f46b27d SOLR-11399: hl.fragsize was ignored when hl.bs.type=SEPARATOR 2017-09-26 10:32:00 -04:00
Joel Bernstein 0e5c3aa3dc SOLR-11398: Add weibullDistribution Stream Evaluator 2017-09-25 21:41:55 -04:00
Erick Erickson 6391a75a50 SOLR-11297: Message 'Lock held by this virtual machine' during startup. Solr is trying to start some cores twice 2017-09-25 12:12:31 -07:00
Joel Bernstein 5c9af8640e SOLR-11388: Add monteCarlo Stream Evaluator to support Monte Carlo simulations WIP 2017-09-23 13:03:18 -04:00
David Smiley d6fa057150 SOLR-11382: Solr support for Lucene spatial Geo3D. 2017-09-23 11:03:39 -04:00
Shalin Shekhar Mangar d47af823ed SOLR-10496: Enabled debug logging for all overseer messages 2017-09-22 14:09:59 -07:00
Shalin Shekhar Mangar 5982d8734a SOLR-11076: Added more debug logging. Ensure collections are active before we exercise autoscaling. Added workaround for SOLR-9440. 2017-09-22 13:27:24 -07:00
Shalin Shekhar Mangar ac9ee36f05 SOLR-10643: Ensure that the stopped node is removed from live nodes before proceeding 2017-09-22 11:08:49 -07:00
Christine Poerschke fd89532ab3 Tweak log.warn(ing) in SolrMetricManager.loadClusterReporters method (node/cluster reporter). 2017-09-22 15:32:27 +01:00
Christine Poerschke bf86951494 Remove no longer used private member in ExternalFileField.java file. 2017-09-22 12:43:16 +01:00
Christine Poerschke 56b8ad2f08 SOLR-10962: Make ReplicationHandler's commitReserveDuration configurable in SolrCloud mode.
(Ramsey Haddad, Christine Poerschke, hossman)
2017-09-21 18:02:06 +01:00
Christine Poerschke b05d1f23cf Fixed thw/the typo in ClassificationUpdateProcessorParams. 2017-09-21 18:02:06 +01:00
Christine Poerschke 9bc338c266 Suppress resource leak warning in UpdateRequestProcessor.close() method. 2017-09-21 18:02:06 +01:00
Shalin Shekhar Mangar e13c4c34f0 SOLR-11085: Improve resiliency of autoscaling actions against overseer restarts and operation failures 2017-09-20 16:40:27 -07:00
Shalin Shekhar Mangar b4680e5869 SOLR-11076: Set log level to DEBUG for the autoscaling package to make debugging easier 2017-09-20 10:36:43 -07:00
yonik 288a414c75 SOLR-11372: tests: add refine to TestCloudJSONFacetJoinDomain 2017-09-20 06:22:09 -04:00
Noble Paul 6ba04e3c1f SOLR-11368: Abstract out DistibutedQueue as an interface 2017-09-20 15:43:45 +09:30
Joel Bernstein a2cd9c12d5 SOLR-11354: Fix /stream handler 2017-09-19 21:31:32 -04:00
Joel Bernstein 565b6c6e5a SOLR-11354: Add factorial and movingMedian Stream Evaluators 2017-09-19 21:26:33 -04:00
Shalin Shekhar Mangar 1b3cd34660 Merge branch 'master' into feature/autoscaling 2017-09-19 11:57:46 -07:00
Shalin Shekhar Mangar ab994e7b32 SOLR-11085: Removing nocommit 2017-09-19 11:53:15 -07:00
Shalin Shekhar Mangar 2f94136a69 SOLR-11371: Removing nocommits related to instantiating plugins from the blob store 2017-09-19 11:52:17 -07:00
Shalin Shekhar Mangar bb408c35a1 SOLR-10397: Break on interruption and always throw KeeperException on read otherwise trigger thread cannot function 2017-09-19 11:34:53 -07:00
Shalin Shekhar Mangar 61fe5248b0 SOLR-10397: Pass CloudConfig from Overseer to the OverseerTriggerThread. Avoid throwing exceptions on session expiry if thread has been closed already. Abort earlier if thread has been closed. 2017-09-19 11:09:00 -07:00
yonik 7cc9ee6563 SOLR-11363: handle repeated values in points docvalues fields 2017-09-19 13:39:45 -04:00
Varun Thacker 8e12f20113 SOLR-11278: Fix race-condition in CDCR submitting a bootstrap call and checking it's status 2017-09-19 09:30:07 -07:00
Shalin Shekhar Mangar bd08ca0918 SOLR-10397: Create auto add replicas trigger directly in ZK instead of using API 2017-09-18 18:43:42 -07:00
Cao Manh Dat 40f78dd274 SOLR-8344: Decide default when requested fields are both column and row stored. 2017-09-19 06:02:14 +07:00
Shalin Shekhar Mangar cda1d2ee1a Revert "SOLR-11072: Implement trigger for searchRate event type." 2017-09-18 12:21:44 -07:00
Shalin Shekhar Mangar 341a730ad5 Revert "SOLR-11072: Implement trigger for searchRate event type."
This reverts commit 8ef83bf
2017-09-18 09:26:49 -07:00
Shalin Shekhar Mangar bc25e846bc Revert "SOLR-11072: Fix searchRate trigger hookup to ComputePlanAction. Make the trigger more robust by supporting host collections with warm shards. Add unit test."
This reverts commit 6fb2803
2017-09-18 09:25:27 -07:00
Shalin Shekhar Mangar de3107c70f Merge branch 'master' into feature/autoscaling
# Conflicts:
#	solr/CHANGES.txt
2017-09-18 09:23:41 -07:00
Joel Bernstein 1544839309 SOLR-11350: Add primes Stream Evaluator 2017-09-11 15:00:19 -04:00
Chris Hostetter 31eab319f4 SOLR-11332, SOLR-11132: Fix sorting on 'enum' fieldTypes that use sortMissingFirst or sortMissingLast and Refactor common getSortField logic in various FieldTypes 2017-09-11 10:38:30 -07:00
Christine Poerschke 37b8ac6ff5 SOLR-11343: fix TestSegmentSorting.testSegmentTerminateEarly test failure caused by SOLR-10990 2017-09-11 10:32:15 -07:00
Steve Rowe 0359db97b5 SOLR-11345: TestPointFields.doTestDoublePointFunctionQuery() helper: fix generated # of values (was 10, should be 'numVals') 2017-09-11 12:35:08 -04:00
Steve Rowe 5f68eb9456 SOLR-11345: restrict double field values used for function queries to float range 2017-09-11 10:08:01 -04:00
Joel Bernstein c229dc328f SOLR-11342: Add sumDifference and meanDifference Stream Evaluators 2017-09-08 21:08:29 -04:00
Joel Bernstein e8dee89c87 SOLR-11339: Add Canberra, Chebyshev, Earth Movers and Manhattan Distance Stream Evaluators 2017-09-08 15:44:28 -04:00