Commit Graph

26315 Commits

Author SHA1 Message Date
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
Mike McCandless 7cffae3a16 don't create unnecessary lambda 2016-12-09 18:35:13 -05:00
Mike McCandless 4efbde4e76 LUCENE-7581: don't allow updating a doc values field if it's used in the index sort 2016-12-09 18:05:13 -05:00
Uwe Schindler 22d04a7c11 LUCENE-6989: Fix Exception handling in MMapDirectory's unmap hack support code to work with Java 9's new InaccessibleObjectException that does not extend ReflectiveAccessException in Java 9. 2016-12-09 18:36:37 +01:00
Mike McCandless c185617582 LUCENE-7583: move this class to the right package 2016-12-08 18:34:51 -05:00
yonik 1d2e440a8f SOLR-9837: fix redundant calculation of docsWithField for numeric fields in field cache 2016-12-08 18:29:07 -05:00
Mike McCandless 93c11462bb fix stale comment 2016-12-08 18:17:25 -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
Mike McCandless b97d9d7478 LUCENE-7583: buffer small leaf-block writes in BKDWriter 2016-12-07 18:59:23 -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