Commit Graph

6678 Commits

Author SHA1 Message Date
Erick Erickson 4471c1b77c SOLR-11218: Fail and return an error when attempting to delete a collection that's part of an alias 2018-01-09 17:27:12 -08:00
Steve Rowe e538792d29 SOLR-11631: fix precommit 2018-01-09 18:00:49 -05:00
Steve Rowe f6eae40a1b SOLR-11631: fix another test 2018-01-09 17:51:42 -05:00
Noble Paul 6336ed46f9 SOLR-11062: new tag "diskType" in autoscaling policy 2018-01-09 22:58:10 +11:00
David Smiley 7a375fda82 SOLR-11692: Constrain cases where SolrDispatchFilter uses closeShield 2018-01-08 22:39:17 -05:00
Steve Rowe 9f221796fe SOLR-11631: The Schema API should return non-zero status when there are failures 2018-01-08 21:25:14 -05:00
Joel Bernstein 459ed85052 SOLR-10716: Add termVectors Stream Evaluator 2018-01-08 19:39:43 -05:00
Christine Poerschke 144616b424 Revert "SOLR-10783: add (partial) package-info.java to fix precommit"
This reverts commit a864c6289a.
2018-01-08 20:11:25 +00:00
Christine Poerschke 07afc23dce LUCENE-8115: remove unnecessary-on-its-own {@inheritDoc} annotations. 2018-01-08 19:45:19 +00:00
Christine Poerschke 2828656892 SOLR-11809: QueryComponent.prepare rq parsing could fail under SOLR 7.2.0 - fix:
QueryComponent's rq parameter parsing no longer considers the defType parameter.
(Christine Poerschke and David Smiley in response to bug report/analysis from Dariusz Wojtas and Diego Ceccarelli)
2018-01-08 19:44:05 +00:00
Andrzej Bialecki a9fec9bf7c SOLR-11730: Collect more stats in the benchmark. Add simulation framework package docs. 2018-01-08 15:08:17 +01:00
Noble Paul 72e68697fc SOLR-11830: PKI authentication testcases do not check for null principal 2018-01-08 21:43:30 +11:00
Alan Woodward 0744fea821 LUCENE-8099: Replace BoostQParserPlugin.boostQuery() with FunctionScoreQuery.boostByValue() 2018-01-08 10:01:06 +00:00
Shalin Shekhar Mangar 3d8ef981cb SOLR-11821: ConcurrentModificationException in SimSolrCloudTestCase.tearDown 2018-01-08 14:04:11 +05:30
Chris Hostetter d598517b96 SOLR-11824: Fixed bucket ordering in distributed json.facet type:range when mincount>0 2018-01-06 14:23:45 -07:00
Chris Hostetter d03cb44de7 SOLR-11758: Fixed FloatDocValues.boolVal to correctly return true for all values != 0.0F 2018-01-06 12:54:05 -07:00
Cao Manh Dat b8b00786f3 SOLR-11771: Overseer can never process some last messages 2018-01-06 09:05:14 +07:00
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
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