6811 Commits

Author SHA1 Message Date
David Smiley
925733d1ef SOLR-11653: TimeRoutedAlias URP now auto-creates collections using new RoutedAliasCreateCollectionCmd 2018-01-05 13:53:26 -05:00
Alan Woodward
d250a1463d LUCENE-8133: Rename TermContext to TermStates, and load TermState lazily if term stats are not required 2018-01-05 14:17:15 +00:00
Christine Poerschke
5a08fa8bbb SOLR-11798: Remove support for deprecated top-level <highlighting> syntax in solrconfig.xml.
(master branch for 8x only)
2018-01-04 15:22:07 +00:00
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