6697 Commits

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