Commit Graph

8983 Commits

Author SHA1 Message Date
Joel Bernstein 0d830a7656 SOLR-9905: Update CHANGES.txt 2016-12-29 15:34:19 -05:00
Joel Bernstein 1a1b3af78d SOLR-9905: Add NullStream to isolate the performance of the ExportWriter 2016-12-29 15:34:19 -05:00
Alan Woodward 16b1db4e99 LUCENE-7607: FieldLeafComparator.setScorer() should throw IOException 2016-12-29 11:57:16 +00:00
Alan Woodward 183f998098 SOLR-9132: Cut over some more tests 2016-12-29 11:57:16 +00:00
David Smiley 529c60d914 SOLR-9897: Add hl.requireFieldMatch=false support when using the UnifiedHighlighter
(cherry picked from commit 20362de)
2016-12-28 22:59:36 -05:00
Christine Poerschke 73e50ceceb SOLR-9787, SOLR-9442: Replace json.nl=arrnvp with json.nl=arrntv (array of Name Type Value) style in JSONResponseWriter 2016-12-28 14:00:16 +00:00
Andrzej Bialecki bc55d8bc42 SOLR-9880: Add Ganglia, Graphite and SLF4J metrics reporters. 2016-12-28 11:29:27 +01:00
David Smiley aceaafc15c SOLR-9897: re-indent UnifiedSolrHighlighter.java
(cherry picked from commit 9bd1528)
2016-12-27 15:35:25 -05:00
Andrzej Bialecki 9dde8a3030 Cumulative patch from master, originally developed on branch
'feature/metrics', which brings the following issues:
* SOLR-4735: Improve Solr metrics reporting
* SOLR-9812: Implement /admin/metrics API
* SOLR-9805: Use metrics-jvm library to instrument jvm internals
* SOLR-9788: Use instrumented jetty classes
2016-12-27 16:24:16 +01:00
Mikhail Khludnev 5cda93afb2 SOLR-9725: substitute properties in JdbcDataSource configuration 2016-12-25 22:44:38 +03:00
Mikhail Khludnev 6cf1f0f51f SOLR-9448: providing a test for workaround of a differently named uniqueKey field 2016-12-25 10:40:49 +03:00
Christine Poerschke 038d4514a7 SOLR-9660: rename GroupSpecification's sortSpecWithinGroup to withinGroupSortSpec (Judith Silverman via Christine Poerschke) 2016-12-23 17:20:41 +00:00
Christine Poerschke b7c75a3a1c SOLR-8542: change default feature vector format (to 'dense' from 'sparse')
also: increase test coverage w.r.t. 'sparse' vs. 'dense' vs. 'default' feature vector format
2016-12-23 14:07:34 +00:00
Christine Poerschke 01846cbb4c SOLR-8542: reduce direct solrconfig-ltr.xml references in solr/contrib/ltr tests 2016-12-23 12:59:42 +00:00
Christine Poerschke bd5fb1f482 Remove unusedPrivateMember in ChaosMonkey. 2016-12-22 08:25:33 +00:00
Christine Poerschke 121f50c84d SOLR-9758: refactor preferLocalShards implementation 2016-12-22 08:25:21 +00:00
Mikhail Khludnev fa1ee56fd3 SOLR-9699: fixing exception on core status during concurrent reload 2016-12-22 08:41:24 +03:00
Erick Erickson 8132529697 SOLR-9884: Add version to segments handler output
(cherry picked from commit d952952)
2016-12-21 10:43:31 -08:00
Mikhail Khludnev 1e22dd25bf SOLR-9878: fix ReversedWildcardFilterFactory caching in query parser 2016-12-21 00:50:34 +03:00
Mikhail Khludnev b45293313b SOLR-9760: solr.cmd doesn't need write permission in current directory 2016-12-21 00:43:27 +03:00
Ishan Chattopadhyaya 21a6fc3d76 SOLR-9513: Fix test failure on Windows and Java9 by avoiding NPE in tearDownClass() 2016-12-21 00:42:45 +05:30
Steve Rowe cfbfc13209 SOLR-9847: Stop blocking further schema updates while waiting for a pending update to propagate to other replicas. This reduces the likelihood of a (time-limited) distributed deadlock during concurrent schema updates. 2016-12-20 12:05:59 -05:00
Ishan Chattopadhyaya 791b8bc6bf SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-20 21:01:01 +05:30
Tomas Fernandez Lobbe 06817656d8 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 17:07:05 -08:00
Christine Poerschke 8c81deb884 fix java warning in SolrQueryTest 2016-12-19 17:08:44 +00:00
Christine Poerschke 4852851d85 SOLR-8542: techproducts example now includes (disabled) learning-to-rank support (enable via -Dsolr.ltr.enabled=true)
additional changes as follows:

* LTRFeatureLoggerTransformerFactory:
** feature values cache name configurable (instead of hard-coded value that needs to match solrconfig.xml configuration)
** javadocs (example and parameters)

* CSV FeatureLogger:
** removed delimiter and separator assumptions in tests
** changed delimiter and separator (from "key:val;key:val" to "key=val,key=val")
** configurable (key value) delimiter and (features) separator

* JSON FeatureLogger:
** defer support for this (removing MapFeatureLogger class)

* adds 'training libraries' to (Linear|MultipleAdditiveTrees)Model javadocs

(Diego Ceccarelli, Michael Nilsson, Christine Poerschke)
2016-12-19 16:50:33 +00:00
Christine Poerschke b1de7364b1 SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) 2016-12-19 16:17:03 +00:00
Ishan Chattopadhyaya a352117430 SOLR-9860: Enable configuring invariantParams via HttpSolrClient.Builder 2016-12-19 21:13:06 +05:30
yonik 9fafd78ddf SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison 2016-12-16 18:41:29 -05:00
yonik 0f4c5f0a73 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:47:18 -05:00
markrmiller 89f0149fee SOLR-9846: OverseerAutoReplicaFailoverThread can take too long to stop and leak out of unit tests. 2016-12-14 20:56:08 -05:00
markrmiller 96b492c05e SOLR-1953: It may be possible for temporary files to accumulate until the Solr process is shut down. 2016-12-14 20:55:32 -05:00
Chris Hostetter 4c22659879 SOLR-8959: Refactored TestSegmentSorting out of TestMiniSolrCloudCluster
(cherry picked from commit 6525bb56f0)

Conflicts:
	solr/CHANGES.txt
2016-12-14 13:22:06 -07:00
Varun Thacker 26d7971495 SOLR-9844: Display fc total size only when field entries asked for 2016-12-14 10:52:52 -08:00
Steve Rowe 765ea6f5a8 SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-13 15:52:23 -05:00
Erick 0ffdacfb14 SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core
(cherry picked from commit 8c79ab2)
2016-12-12 18:47:01 -08:00
Varun Thacker a243f20973 SOLR-9707: Don't forward DeleteByQuery requests to down replicas 2016-12-12 17:23:33 -08:00
Varun Thacker 10ff47c6b1 SOLR-9844: Improve FieldCache usage api response formatting and show total size information 2016-12-12 13:09:10 -08:00
Erick Erickson 9096d4cb2a SOLR-9843: Fix up DocValuesNotIndexedTest failures. Debugging code
(cherry picked from commit d75abe1a30)
2016-12-10 14:11:54 -08:00
Christine Poerschke 9e8dd854cd SOLR-8542: master-to-branch_6x backport changes (Michael Nilsson, Naveen Santhapuri, Christine Poerschke)
* removed 'boost' arg from LTRScoringQuery.createWeight signature
* classes extending Weight now implement normalize and getValueForNormalization
* FieldLengthFeatureScorer tweaks
2016-12-08 18:04:07 +00:00
Christine Poerschke 3e2657214e SOLR-8542: couple of tweaks (Michael Nilsson, Diego Ceccarelli, Christine Poerschke)
* removed code triplication in ManagedModelStore
* LTRScoringQuery.java tweaks
* FeatureLogger.makeFeatureVector(...) can now safely be called repeatedly (though that doesn't happen at present)
* make Feature.FeatureWeight.extractTerms a no-op; (OriginalScore|SolrFeature)Weight now implement extractTerms

* LTRThreadModule javadocs and README.md tweaks

* add TestFieldValueFeature.testBooleanValue test; replace "T"/"F" magic string use in FieldValueFeature
* add TestOriginalScoreScorer test; add OriginalScoreScorer.freq() method
* in TestMultipleAdditiveTreesModel revive dead explain test
2016-12-08 18:04:07 +00:00
Christine Poerschke 252c6e9385 SOLR-8542, SOLR-9746: prefix solr/contrib/ltr's search and response.transform packages with ltr 2016-12-08 18:04:07 +00:00
Michael Nilsson f87d672be7 SOLR-8542: disallow reRankDocs<1 i.e. must rerank at least 1 document
(Michael Nilsson via Christine Poerschke)
2016-12-08 18:04:07 +00:00
Christine Poerschke a511b30a50 SOLR-8542: Adds Solr Learning to Rank (LTR) plugin for reranking results with machine learning models. (Michael Nilsson, Diego Ceccarelli, Joshua Pantony, Jon Dorando, Naveen Santhapuri, Alessandro Benedetti, David Grohmann, Christine Poerschke) 2016-12-08 18:04:06 +00:00
markrmiller 8932718743 SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been removed.
# Conflicts:
#	solr/CHANGES.txt
2016-12-08 12:06:12 -05:00
Chris Hostetter 135604f632 SOLR-5043: New solr.dns.prevent.reverse.lookup system property that can be used to prevent long core (re)load delays on systems with missconfigured hostname/DNS
(cherry picked from commit 8b98b158ff)
2016-12-06 14:47:21 -07:00
Tomas Fernandez Lobbe fdec7871a1 SOLR-9827: Make ConcurrentUpdateSolrClient create RemoteSolrExceptions in case of remote errors instead of SolrException 2016-12-06 10:37:25 -08:00
Tommaso Teofili cdce621087 SOLR-8871 - adjusted UIMA processor test, patch from Alessandro Benedetti
(cherry picked from commit 641294a)
2016-12-05 13:05:58 +01:00
Tommaso Teofili 7a44b8ed7b SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase
(cherry picked from commit c36ec0b)
2016-12-05 13:05:37 +01:00
Tommaso Teofili cf90d085f4 SOLR-8871 - added suppress forbidden for toUpperCase usage
(cherry picked from commit a4573fe)
2016-12-05 13:05:28 +01:00