Commit Graph

9094 Commits

Author SHA1 Message Date
Mikhail Khludnev 5c8a70fb57 SOLR-9725: substitute properties in JdbcDataSource configuration 2016-12-25 12:41:27 +03:00
Mikhail Khludnev 54d8574f96 SOLR-9448: providing a test for workaround of a differently named uniqueKey field 2016-12-25 10:36:31 +03:00
Andrzej Bialecki 687f03661d SOLR-9805 Fix NPE. 2016-12-23 23:01:47 +01:00
Christine Poerschke bc8936a567 SOLR-9660: rename GroupSpecification's sortSpecWithinGroup to withinGroupSortSpec (Judith Silverman via Christine Poerschke) 2016-12-23 16:01:05 +00:00
Christine Poerschke f62874e47a 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 13:45:16 +00:00
Christine Poerschke ac3f1bb339 SOLR-8542: reduce direct solrconfig-ltr.xml references in solr/contrib/ltr tests 2016-12-23 12:57:15 +00:00
Mikhail Khludnev 393e36e1ce SOLR-9699: fixing exception on core status during concurrent reload 2016-12-22 08:18:38 +03:00
Christine Poerschke 6565a5cb2c Remove unusedPrivateMember in ChaosMonkey. 2016-12-21 20:48:25 +00:00
Christine Poerschke de0a046b21 SOLR-9758: refactor preferLocalShards implementation 2016-12-21 20:48:25 +00:00
Erick Erickson d9529529ee SOLR-9884: Add version to segments handler output 2016-12-21 10:41:27 -08:00
Andrzej Bialecki 80462df86e SOLR-9805 Don't use FileDescriptorRatioGauge - internally it uses reflection and
doesn't work under Java 9. Instead use this opportunity to implement a more
detailed OperatingSystemMetricSet. Add a unit test. Simplify some of the metric names.
2016-12-21 12:38:47 +01:00
Mikhail Khludnev febe0019a1 SOLR-9760: solr.cmd doesn't need write permission in current directory 2016-12-21 00:41:13 +03:00
Mikhail Khludnev f1e636f561 SOLR-9878: fix ReversedWildcardFilterFactory caching in query parser 2016-12-21 00:01:42 +03:00
Ishan Chattopadhyaya b5cfb17bd0 SOLR-9513: Fix test failure on Windows and Java9 by avoiding NPE in tearDownClass() 2016-12-21 00:42:16 +05:30
Steve Rowe 04108d9935 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:33 -05:00
Andrzej Bialecki b37a72d941 SOLR-4735 Use overridableRegistryName also for predefined shared registries.
Cleanup + javadocs.
2016-12-20 14:47:40 +01:00
Andrzej Bialecki 48ef96d573 Remove stray conflict marker. 2016-12-20 11:45:45 +01:00
Andrzej Bialecki 8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
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-20 09:31:24 +01:00
Tomas Fernandez Lobbe 84bbb8f797 SOLR-9874: CREATEALIAS should fail if target collections don't exist 2016-12-19 16:54:13 -08:00
Christine Poerschke c8542b2bd0 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:22:50 +00:00
Christine Poerschke 07609443c5 SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) 2016-12-19 16:14:51 +00:00
Ishan Chattopadhyaya 2c4c5040ee SOLR-9860: Enable configuring invariantParams via HttpSolrClient.Builder 2016-12-19 21:01:20 +05:30
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
yonik dcf202a958 SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison 2016-12-16 18:41:02 -05:00
yonik c9522a3936 SOLR-9712: block when maxWarmingSearchers is exceeded instead of throwing exception, default to 1, remove from most configs 2016-12-16 11:46:48 -05:00
Chris Hostetter 6525bb56f0 SOLR-8959: Refactored TestSegmentSorting out of TestMiniSolrCloudCluster 2016-12-14 13:18:56 -07:00
Varun Thacker 512374384a SOLR-9844: Display fc total size only when field entries asked for 2016-12-14 10:52:26 -08:00
markrmiller 7dec783b28 SOLR-9846: OverseerAutoReplicaFailoverThread can take too long to stop and leak out of unit tests. 2016-12-14 12:57:21 -05:00
markrmiller e82399d067 SOLR-1953: It may be possible for temporary files to accumulate until the Solr process is shut down. 2016-12-14 11:16:50 -05:00
Erick 8c79ab2649 SOLR:9823: CoreContainer incorrectly setting MDCLoggingContext for core 2016-12-12 18:43:30 -08:00
Varun Thacker fecbbe081f SOLR-9707: Don't forward DeleteByQuery requests to down replicas 2016-12-12 15:28:22 -08:00
Varun Thacker 39ba13046b SOLR-9844: Improve FieldCache usage api response formatting and show total size information 2016-12-12 12:46:57 -08:00
Erick Erickson d75abe1a30 SOLR-9843: Fix up DocValuesNotIndexedTest failures. Debugging code 2016-12-10 14:03:15 -08:00
yonik 1d2e440a8f SOLR-9837: fix redundant calculation of docsWithField for numeric fields in field cache 2016-12-08 18:29:07 -05:00
markrmiller 1055209940 SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been removed. 2016-12-08 12:03:55 -05:00
Christine Poerschke cacabc9a4e fix java warning in SolrQueryTest 2016-12-07 21:16:42 +00:00
Christine Poerschke bfc3690d52 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-07 20:46:42 +00:00
Christine Poerschke d2ed42b847 removed two unused imports in TestPlainTextEntityProcessor.java 2016-12-07 18:39:04 +00:00
yonik ca5e736db1 SOLR-9822: speed up single-valued string fieldcache counting in dv facet processor 2016-12-07 11:09:55 -05:00
Noble Paul 10500c894d Merge remote-tracking branch 'origin/master' 2016-12-07 18:42:39 +05:30
Noble Paul 3f6164c76e added an extra testcase 2016-12-07 18:42:07 +05:30
Chris Hostetter 8b98b158ff 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 2016-12-06 14:47:03 -07:00
Tomas Fernandez Lobbe c164f7e35e SOLR-9827: Make ConcurrentUpdateSolrClient create RemoteSolrExceptions in case of remote errors instead of SolrException 2016-12-06 10:34:22 -08:00
Steve Rowe bf3a3137be SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-06 13:11:36 -05:00
Anshum Gupta 39c2f3d80f SOLR-9819: Add new line to the end of SHA 2016-12-02 16:42:35 -08:00
Anshum Gupta c61268f7cd SOLR-9819: Upgrade Apache commons-fileupload to 1.3.2, fixing a security vulnerability 2016-12-02 12:14:35 -08:00
Ishan Chattopadhyaya e64bcb37ff SOLR-9616 Solr throws exception when expand=true on empty index 2016-12-01 00:46:58 +05:30
Noble Paul 9eaea79f5c Merge remote-tracking branch 'origin/master' 2016-11-30 18:48:18 +05:30
Noble Paul 44cce6bc4c typo in javadocs 2016-11-30 18:47:52 +05:30
Christine Poerschke a7fa920b52 SOLR-9660: in GroupingSpecification factor [group](sort|offset|limit) into [group](sortSpec) (Judith Silverman, Christine Poerschke) 2016-11-29 22:15:30 +01:00
Andrzej Bialecki 590d31f311 SOLR-9768 RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab) 2016-11-29 21:12:49 +01:00
Christine Poerschke 02c687758e SOLR-9783: (Search|Top)Group[s]ShardResponseProcessor.process: turned sortWithinGroup null check into assert.
Also sort.equals tweak in (grouping) QueryCommand.create method.
2016-11-29 14:37:12 +01:00
Noble Paul 70b358960d SOLR-9546: remove unnecessary boxing 2016-11-29 18:02:59 +05:30
Noble Paul 32c4bd7cc0 Merge remote-tracking branch 'origin/master' 2016-11-29 08:06:26 +05:30
Noble Paul 5b2594350d SOLR-9784: added deprecation javadocs 2016-11-29 08:05:47 +05:30
Kevin Risden bf424d1ec1 SOLR-9728: Ability to specify Key Store type in solr.in file for SSL 2016-11-28 09:52:02 -06:00
Tommaso Teofili c36ec0b75e SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase 2016-11-28 09:22:36 +01:00
Tommaso Teofili 641294a967 SOLR-8871 - adjusted UIMA processor test, patch from Alessandro Benedetti 2016-11-28 09:20:02 +01:00
Erick Erickson 500c2befe9 SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:12:16 -08:00
Erick Erickson e4733f696e SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:11:30 -08:00
Erick Erickson ca6626604b SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails 2016-11-26 12:36:57 -08:00
Noble Paul 23921064e9 SOLR-9784: deprecated uploadconfig 2016-11-26 12:54:48 +05:30
Noble Paul 2ec9716520 SOLR-9784: deprecated uploadconfig 2016-11-26 12:53:32 +05:30
Noble Paul 346e766599 Merge remote-tracking branch 'origin/master' 2016-11-26 12:25:06 +05:30
Noble Paul dce5964d8a SOLR-9784: removed unused method 2016-11-26 12:24:45 +05:30
Shalin Shekhar Mangar eded69ba8f SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows 2016-11-26 01:01:22 +05:30
Shalin Shekhar Mangar 5228c8e140 SOLR-9801: Upgrade jetty to 9.3.14.v20161028 2016-11-26 00:51:03 +05:30
David Smiley 9b4b120aba fix bad xml processing instruction placement 2016-11-24 22:24:35 -05:00
Noble Paul 950ff50032 Merge remote-tracking branch 'origin/master' 2016-11-25 08:18:09 +05:30
Noble Paul 142461b395 SOLR-9512: removed unused import 2016-11-25 08:17:51 +05:30
David Smiley 4314c51c66 SOLR-9708: Added UnifiedSolrHighlighter. Added hl.method=original|fastVector|postings|unified 2016-11-24 19:36:07 -05:00
Tommaso Teofili a4573fe7f4 SOLR-8871 - added suppress forbidden for toUpperCase usage 2016-11-25 01:12:03 +01:00
Tommaso Teofili 96489d2384 SOLR-8871 - adjusted header positioning 2016-11-24 23:46:20 +01:00
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Noble Paul e9e4715dd2 reverting the large commit 2016-11-25 00:56:54 +05:30
Noble Paul 098580698f Merge branch 'master' of /Users/noble/work/lucene-solr with conflicts. 2016-11-25 00:52:42 +05:30
Noble Paul 5650939a8d SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:38 +05:30
Noble Paul d87ffa4bf8 SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK
SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders
2016-11-25 00:51:09 +05:30
Noble Paul 41d7b24574 SOLR-9721: javabin Tuple parser for streaming and other end points 2016-11-24 09:00:21 +05:30
Shalin Shekhar Mangar f8fa2e998d SOLR-8785: Use per-second rates for consistency in all stats outputs 2016-11-23 23:20:48 +05:30
Shalin Shekhar Mangar dab2e24656 SOLR-8785: Convert rates to be per minute from the default per second rates reported by the metrics library 2016-11-23 23:11:36 +05:30
yonik 7e6e68900b SOLR-9786: set filter for join query parser 2016-11-22 22:44:25 -05:00
yonik 3b4cc1bd1f SOLR-9786: set filter flag for more parsers 2016-11-22 16:30:08 -05:00
yonik bf9db95f21 SOLR-9786: FieldType.getSetQuery, QParser.flags/isFilter, solr query parser use getSetQuery when appropriate and other optimizations 2016-11-22 12:33:20 -05:00
Steve Rowe 6a83f0fa3a LUCENE-7543: Update dev-tools/README.txt to include new dev-tools/ directories including doap/; add missing 1.4.1 and 4.9.1 release notes to Solr's CHANGES.txt; fix names of 3.6.1, 3.6.2, 4.0-ALPHA and 4.0-BETA releases in Solr's DOAP file to refer to solr instead of lucene. 2016-11-22 11:58:46 -05:00
Christine Poerschke 87dc02e3c4 SOLR-8785: tweak attribution 2016-11-22 09:28:08 +00:00
Shalin Shekhar Mangar ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
Steve Rowe 33ff6cde9b LUCENE-7543: Make changes-to-html target an offline operation, by moving the Lucene and Solr DOAP RDF files into the Git source repository under dev-tools/doap/ and then pulling release dates from those files, rather than from JIRA. 2016-11-21 16:47:54 -05:00
Alexandre Rafalovitch 380b5ca626 SOLR-9626: Add css class, when match key is found 2016-11-20 22:18:55 +11:00
Christine Poerschke f42cc2a8c3 SOLR-9782: for json.nl expand test coverage and comments w.r.t. NamedList(null=null) 2016-11-18 15:57:35 +00:00
Noble Paul 3c4315c566 Merge remote-tracking branch 'origin/master' 2016-11-18 20:29:42 +05:30
Noble Paul 0ec660a113 Wrong casting of CharSequence to String 2016-11-18 20:29:09 +05:30
Alan Woodward 157c0bca92 Log root cause error when directories can't be deleted on core unload 2016-11-18 13:45:29 +00:00
yonik 46ce87c700 SOLR-9324: move changes entry to 6.4 2016-11-17 16:46:57 -05:00
yonik 738198ef34 SOLR-9772: reuse comparator when deriving fieldSortValues 2016-11-17 10:56:37 -05:00
Erick Erickson e402a304bf SOLR-9606: Change hard-coded keysize from 512 to 1024 2016-11-16 13:33:18 -08:00
markrmiller 53a0748f43 SOLR-9284: Reduce off heap cache size. 2016-11-16 10:11:41 -05:00
Kevin Risden 012d75d36d SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl 2016-11-15 21:34:39 -06:00
Kevin Risden c20d1298d3 SOLR-9729: JDBCStream improvements 2016-11-15 21:06:25 -06:00
Kevin Risden ace423e958 SOLR-9077: Streaming expressions should support collection alias 2016-11-15 20:33:58 -06:00