Commit Graph

26178 Commits

Author SHA1 Message Date
Uwe Schindler 40a8b4edb4 LUCENE-7595: Disable another test not compatible with RamUsageTester 2016-12-29 22:59:48 +01:00
Steve Rowe 266ca26407 LUCENE-7564: add missing javadocs 2016-12-29 16:08:35 -05:00
Steve Rowe 73f068e503 LUCENE-7564: Force single-threaded access to the AnalyzingInfixSuggester's SearcherManager when performing an acquire() or reassigning. This fixes failures in AnalyzingInfixSuggester.testRandomNRT(). 2016-12-29 15:52:20 -05:00
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 4e5a62140f LUCENE-5325: Check for matching bits in NumericDocValues to XValues converter 2016-12-29 20:26:46 +00:00
Uwe Schindler 80512ec412 LUCENE-7595: Fix bug with RamUsageTester incorrectly handling Iterables outside Java Runtime 2016-12-29 20:32:54 +01:00
Alan Woodward e2aa2b6384 LUCENE-5325: Add LongValuesSource and DoubleValuesSource in core 2016-12-29 12:05:32 +00: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
Uwe Schindler ea7db0a176 LUCENE-7595: Improve RAMUsageTester in test-framework to estimate memory usage of runtime classes and work with Java 9 EA (b148+). Disable static field heap usage checker in LuceneTestCase 2016-12-29 01:57:43 +01: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
Karl Wright d31f32b0f1 LUCENE-7511: Introduce Vector.MINIMUM_ANGULAR_RESOLUTION. 2016-12-27 19:44:03 -05: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
Uwe Schindler f217e3c43b LUCENE-7604: Disable test on Java 9 2016-12-26 20:19:33 +01:00
Adrien Grand 0c1cab7192 LUCENE-7401: Make sure BKD trees index all dimensions. 2016-12-26 10:39:34 +01:00
Uwe Schindler ba5b818456 LUCENE-6989: Fix some tests that hardcode MMapDirectory (and also the FSDirectory randomizer), to only use MMapDirectory on Windows, if it supports unmapping. Otherwise tests will fail. 2016-12-26 00:12:12 +01:00
Uwe Schindler 1d92eed93f LUCENE-6989: Make MMapDirectory's unmap hack work with Java 9 EA (b150+): Unmapping uses new sun.misc.Unsafe#invokeCleaner(ByteBuffer). 2016-12-26 00:12:11 +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 8693224349 LUCENE-7530: extend/add -validate-source-patterns checks for .xml/.template files 2016-12-23 12:38:38 +00:00
Mike McCandless 7cc74b5c73 WDF creates broken offsets 2016-12-22 17:23:42 -05:00
Mike McCandless 68db033408 LUCENE-6664: add SynonymGraphFilter for correct multi-token synonym handling 2016-12-22 15:39:41 -05:00
Christine Poerschke 6c1f085073 Remove unused private AnalyzingComparator class from FreeTextSuggester. 2016-12-22 10:08:45 +00:00
Christine Poerschke 62d342afaa Remove unused private ValueHolder class in TestGrouping. 2016-12-22 10:08:34 +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
Adrien Grand c8c395db49 LUCENE-7600: Simplify DocIdMerger. 2016-12-21 20:15:31 +01:00
Adrien Grand 10f1964194 LUCENE-7594: Fixed point range queries on floating-point types to recommend using helpers for exclusive bounds that are consistent with Double.compare. 2016-12-21 20:08:36 +01:00
Adrien Grand 0ed716490c LUCENE-7599: Simplify TestRandomChains using Java's built-in Predicate and Function interfaces. 2016-12-21 20:08:23 +01: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
Mike McCandless 9b4d0391fd remove stale comment 2016-12-21 05:35:12 -05: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
Shai Erera c083e81e60 LUCENE-7590: fix test edge case
In case all indexed documents were deleted, the test failed to
correctly assert the number of expected missing documents.
2016-12-19 21:52:30 +02: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
Christine Poerschke a7bd5e6ac0 LUCENE-7586: fail precommit on varargsArgumentNeedCast 2016-12-19 16:16:44 +00:00