Commit Graph

26329 Commits

Author SHA1 Message Date
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
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
Shai Erera 23206caabd LUCENE-7590: add Sorted(Set)DocValuesStats 2016-12-18 21:50:03 +02:00
Shai Erera 944b8e07f5 LUCENE-7590: add DocValuesStats for SortedNumeric DV fields 2016-12-18 08:39:42 +02:00
yonik dcf202a958 SOLR-9873: tests - fix SolrTestCaseJ4.compareSolrDocument num fields comparison 2016-12-16 18:41:02 -05:00
Mike McCandless 5f4521de62 null the static fields after test finishes 2016-12-16 18:29:40 -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
Mike McCandless 835296f20a LUCENE-7587: add helper FacetQuery and MultiFacetQuery classes to simplify drill down implementation 2016-12-16 09:56:51 -05:00
Adrien Grand 3b182aa2fb LUCENE-7589: Prevent outliers from raising the bpv for everyone. 2016-12-15 17:17:54 +01:00
Adrien Grand ea1569e291 LUCENE-7572: Cache the hash code of doc values queries. 2016-12-15 17:17:54 +01:00
Mike McCandless 268d4ace36 remove bad assertion 2016-12-15 09:30:25 -05:00
Shai Erera 295cab7216 LUCENE-7590: add sum, variance and stdev stats to NumericDVStats 2016-12-15 14:42:08 +02:00
Mike McCandless e4f31fab2f LUCENE-7592: if segments file is truncated, throw CorruptIndexException 2016-12-14 18:00:51 -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
Shai Erera 22d9af41a4 Rename constructor parameter name 2016-12-14 13:49:42 +02:00
Shai Erera 85582dabe4 LUCENE-7590: fix typo in method parameter 2016-12-14 13:28:02 +02:00
Shai Erera 770f1eb8ad Fix LeafReader.getNumericDocValues javadoc 2016-12-14 13:07:19 +02:00
Shai Erera ad7152ad47 LUCENE-7590: add DocValuesStatsCollector 2016-12-14 13:04:52 +02:00
Nicholas Knize 9aa5b734c3 fix RangeFieldQuery.scorer to return null if no docs in a segment indexed the field 2016-12-13 15:07:06 -06: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
Tommaso Teofili 87d8b5450a LUCENE-7591 - approximate to no. of terms when DVs are not available 2016-12-12 10:00:21 +01:00
Shai Erera 25c7855bba Add .pydevproject to .gitignore 2016-12-11 13:08:33 +02:00
Erick Erickson d75abe1a30 SOLR-9843: Fix up DocValuesNotIndexedTest failures. Debugging code 2016-12-10 14:03:15 -08:00
Mike McCandless 2b073a2f29 LUCENE-7570: don't run merges while holding the commitLock to prevent deadlock when merges are stalled and a tragic merge exception strikes 2016-12-09 18:41:30 -05:00