Commit Graph

11324 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
Noble Paul 8836fda95f SOLR-11813: Reuse a NodeStateProvider in a session 2018-01-04 19:45:59 +11:00
Joel Bernstein 94a680c311 SOLR-11682: Add gtestDataSet Stream Evaluator 2018-01-03 21:31:39 -05:00
David Smiley 9586d12af4 SOLR-11805: SolrJ's SolrResponse.getElaspedTime was sometimes a millisecond off 2018-01-03 15:47:32 -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
Alan Woodward a56cb42fde LUCENE-8012: LTR contrib needs to use float values in explanations 2018-01-02 13:56:52 +00: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
Erick Erickson 8e439a0a5c SOLR-7733: remove optimize from the UI. 2017-12-28 20:41:48 -08:00
Joel Bernstein fbea59b086 SOLR-11172: Add Mann-Whitney U test Stream Evaluator 2017-12-28 14:14:26 -05:00
Joel Bernstein 0c4fb31205 SOLR-11799: Fix NPE and class cast exceptions in the TimeSeriesStream 2017-12-28 11:14:31 -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 e82e029406 SOLR-11703: Solr Should Send Log Notifications if Ulimits are too low 2017-12-25 13:22:19 -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 efbbc9e344 SOLR-11754: Fix precommit 2017-12-22 08:17:08 -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
Cassandra Targett 33a64afee7 SOLR-11753: minor typos 2017-12-18 11:55:29 -06:00
Alan Woodward b01e6023e1 LUCENE-8099: Deprecate CustomScoreQuery, BoostedQuery, BoostingQuery 2017-12-18 17:47:03 +00:00
David Smiley e441a99009 SOLR-11757: Tests: SolrException.ignoreException use CopyOnWrite 2017-12-15 17:19:37 -05:00
Joel Bernstein ca5e2a335b SOLR-11742: Fix error 2017-12-15 17:05:32 -05:00
Joel Bernstein 9dee35f92d SOLR-11742: Add documentation for 7.2 release statistical functions 2017-12-15 15:33:05 -05:00
Steve Rowe 565d13c96d LUCENE-2899: Fix hyperlink text 2017-12-15 11:42:08 -05:00
Steve Rowe f5c4276163 LUCENE-2899: Fix hyperlink 2017-12-15 11:41:15 -05: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
Cassandra Targett 44cc0defe8 SOLR-11753: copy edits; add docs for SOLR-11448 2017-12-13 14:33:46 -06:00
Christine Poerschke 7974aa033c SOLR-11740: fix stop port variable scope issue in stop_solr function (SOLR-9137 follow-on) 2017-12-13 11:05:49 +00:00
Cassandra Targett 6d23ee96a9 SOLR-11753: add upgrade notes; misc cleanups in other pages 2017-12-12 15:07:33 -06: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
Adrien Grand f525ce8fbb LUCENE-7996: Add a note to the changes in runtime behaviour and to the solr upgrade notes. 2017-12-12 16:23:57 +01:00
Chris Hostetter 5b2e25f301 SOLR-11575: Improve ref-guide solrj snippets via mock 'print()' method 2017-12-11 17:39:01 -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
Scott Blum 3a7f107164 SOLR-11423: fix solr/CHANGES.txt, fixed in 7.2 not 7.1 2017-12-08 14:25:44 -05:00
Noble Paul 25f24e094e SOLR-9743: documentation 2017-12-08 19:55:27 +11:00
Adrien Grand 0e1d6682d6 LUCENE-4100: Fix more queries to implement the new updated createWeight API. 2017-12-08 08:50:00 +01:00
Noble Paul 24a0708d3c SOLR-11359: added documentation 2017-12-08 17:36:41 +11: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
Anshum Gupta cd30dabe37 SOLR-11126: Remove wrong change log entry from 7.1 section 2017-12-06 11:34:54 -08: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
David Smiley d84c92ed11 SOLR-11078: Add note about the trade-off between Point and Trie fields. 2017-12-06 11:23:46 -05:00
Cassandra Targett 5b4efc5a41 Ref Guide: numerous minor typos ("with out", "ie", "eg") + a couple incorrect link refs 2017-12-06 09:45:21 -06:00
Mark Miller 5440d925d3 tests: raise chaosmonkey no stop warn time. 2017-12-06 09:24:05 -06:00
Adrien Grand a8a63464e7 LUCENE-7996: Queries are now required to produce positive scores. 2017-12-06 14:06:03 +01:00
Adrien Grand e1851c0ce7 Add 7.3.0 version constant. 2017-12-06 10:25:13 +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
Varun Thacker 2c14b91418 SOLR-11590: Synchronize ZK connect/disconnect handling so that they are processed in linear order 2017-12-05 13:34:50 -08:00
Joel Bernstein f78cacf4a4 SOLR-10784, SOLR-10651: Update CHANGES.txt for new statistical and machine learning functions 2017-12-05 10:05:40 -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
Christine Poerschke 9268b2b30f SOLR-9137: bin/solr script ignored custom STOP_PORT on shutdown.
(Joachim Kohlhammer, Steve Rowe, Christine Poerschke)
2017-12-05 12:19:14 +00:00
Joel Bernstein cd10d0bda0 SOLR-11485: Fix precommit 2017-12-04 23:06:59 -05:00
Joel Bernstein 862f48761c SOLR-11485: Fix broken tests 2017-12-04 22:46:43 -05:00
Joel Bernstein f8c69270a1 SOLR-11485: Fix precommit 2017-12-04 21:43:07 -05:00
Joel Bernstein 8750e5f2a9 SOLR-11485: Add olsRegress, spline and derivative Stream Evaluators 2017-12-04 21:09:41 -05:00
Steve Rowe ccedbdd9d6 minor cleanup on spell checking page 2017-12-04 18:04:47 -05:00
Steve Rowe c72c02e525 minor cleanups on highlighting page 2017-12-04 17:56:30 -05:00
Cassandra Targett 0b4e9b2b33 SOLR-11312: Add docs on how to stop Solr to README.txt 2017-12-04 15:28:20 -06:00
Cassandra Targett 52cefbe742 SOLR-11412: Add docs for bi-directional CDCR; split CDCR pages into multiple child pages 2017-12-04 13:55:39 -06: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
Anshum Gupta 8c855fa287 The queue size for ConcurrentUpdateSolrClient should default to 10 instead of throwing an IllegalArgumentException 2017-12-01 14:25:02 -08:00
Cassandra Targett f2dd3c5f85 SOLR-11646: Add v2 API examples to several pages; add context to about-this-guide.adoc; tweak CSS to make tabs more obvious 2017-12-01 15:59:24 -06: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
Cassandra Targett c2f26183a7 SOLR-11573: Update meta-docs section on including code from non-adoc files 2017-11-28 15:01:02 -06: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
Christine Poerschke 64b3a5bb4b SOLR-11250: A new DefaultWrapperModel class for loading of large and/or externally stored LTRScoringModel definitions. (Yuki Yano, shalin, Christine Poerschke) 2017-11-28 14:55:57 +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
Joel Bernstein 7acccd5157 SOLR-11674: Support ranges in the probability Stream Evaluator 2017-11-26 21:32:05 -05:00
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