Commit Graph

26461 Commits

Author SHA1 Message Date
Christine Poerschke e4ef4239f1 SOLR-9787, SOLR-9442: Replace json.nl=arrnvp with json.nl=arrntv (array of Name Type Value) style in JSONResponseWriter 2016-12-28 13:58:55 +00:00
Shalin Shekhar Mangar c2292faaf1 SOLR-9877: Remove assertion because many tests use UpdateShardHandler without metrics 2016-12-28 19:00:13 +05:30
Karl Wright 283b329bbb LUCENE-7511: Introduce Vector.MINIMUM_ANGULAR_RESOLUTION. 2016-12-27 19:41:55 -05:00
David Smiley 9bd152804d SOLR-9897: re-indent UnifiedSolrHighlighter.java 2016-12-27 15:34:33 -05:00
Andrzej Bialecki 9d606d8ff0 SOLR-9880: Add Ganglia, Graphite and SLF4J metrics reporters. 2016-12-27 19:52:06 +01:00
Shalin Shekhar Mangar 254473bf33 SOLR-9877: Use instrumented http client and connection pool 2016-12-27 19:12:24 +05:30
Andrzej Bialecki 56476fb8c7 SOLR-9805 Fix assertion error on Windows where SystemLoadAverage is reported as -1.
Don't expose non-existent attributes.
2016-12-27 11:39:13 +01:00
Uwe Schindler 1d3fb3e9a9 LUCENE-7604: Disable test on Java 9 2016-12-26 20:15:06 +01:00
Adrien Grand ba47f530d1 LUCENE-7401: Make sure BKD trees index all dimensions. 2016-12-26 10:37:16 +01:00
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
Christine Poerschke f7ea2ae85d LUCENE-7530: extend/add -validate-source-patterns checks for .xml/.template files 2016-12-23 12:14:57 +00:00
Mike McCandless fcde04ac73 WDF creates broken offsets 2016-12-22 17:24:04 -05:00
Mike McCandless c0467bb929 LUCENE-6664: add SynonymGraphFilter for correct multi-token synonym handling 2016-12-22 15:39:17 -05:00
Adrien Grand 30a52277de LUCENE-7601: Make DocIdMerger.next() unspecified when exhausted. 2016-12-22 20:00:16 +01:00
Christine Poerschke b73314998e Remove unused private AnalyzingComparator class from FreeTextSuggester. 2016-12-22 09:37:09 +00:00
Christine Poerschke 3366724fa0 Remove unused private ValueHolder class in TestGrouping. 2016-12-22 09:35:46 +00:00
Mikhail Khludnev 393e36e1ce SOLR-9699: fixing exception on core status during concurrent reload 2016-12-22 08:18:38 +03:00
Uwe Schindler d5e87898b1 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-21 23:07:50 +01: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
Adrien Grand 0d3c64ab09 LUCENE-7600: Simplify DocIdMerger. 2016-12-21 20:44:56 +01:00
Adrien Grand 18d53a43f7 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:44:56 +01:00
Adrien Grand 5020ea28bc LUCENE-7599: Simplify TestRandomChains using Java's built-in Predicate and Function interfaces. 2016-12-21 20:44:56 +01:00
Uwe Schindler 7e03427fa1 LUCENE-6989: Make MMapDirectory's unmap hack work with Java 9 EA (b150+): Unmapping uses new sun.misc.Unsafe#invokeCleaner(ByteBuffer). 2016-12-21 19:49:22 +01:00
Erick Erickson d9529529ee SOLR-9884: Add version to segments handler output 2016-12-21 10:41:27 -08:00
Mike McCandless 6bc001ba43 fix generics javac warnings 2016-12-21 10:31:36 -05: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
Mike McCandless 19530fa647 remove stale comment 2016-12-21 05:34:46 -05: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
Kevin Risden 918fd97fd0 Merge branch 'apache-https-master' into jira/solr-8593 2016-12-20 10:39:21 -06:00
Andrzej Bialecki b37a72d941 SOLR-4735 Use overridableRegistryName also for predefined shared registries.
Cleanup + javadocs.
2016-12-20 14:47:40 +01:00
Mike McCandless 4ccb9fbd2b LUCENE-7579: sort segments at flush too 2016-12-20 06:45:06 -05: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
Shai Erera 4d81eee8a1 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:54:36 +02: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
Christine Poerschke b22451f45e LUCENE-7586: fail precommit on varargsArgumentNeedCast 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
Shai Erera 321c6f090f LUCENE-7590: make (Sorted)NumericDocValuesStats public 2016-12-19 10:14:58 +02:00