Commit Graph

9157 Commits

Author SHA1 Message Date
Alan Woodward da30f21f5d LUCENE-7617: Grouping collector API cleanup 2017-01-07 09:58:47 +00:00
Christine Poerschke 024c4031e5 SOLR-8542: expand 'Assemble training data' content in solr/contrib/ltr/README
(Diego Ceccarelli via Christine Poerschke in response to SOLR-9929 enquiry from Jeffery Yuan.)
2017-01-06 20:52:21 +00:00
Noble Paul cd4f908d5b SOLR-9503: NPE in Replica Placement Rules when using Overseer Role with other rules 2017-01-07 01:40:47 +10:30
Joel Bernstein b32cd82318 SOLR-8530: Add support for aggregate HAVING comparisons without single quotes 2017-01-05 20:46:55 -05:00
yonik a810fb3234 SOLR-9931: return 0 for hll on field with no values in bucket 2017-01-05 17:02:24 -05:00
Shalin Shekhar Mangar 2cffa2e3e7 SOLR-9911: Remove http group from example in change log 2017-01-06 01:20:14 +05:30
Shalin Shekhar Mangar 3eab1b4839 SOLR-9877: Add a null check for target 2017-01-05 23:08:39 +05:30
Andrzej Bialecki e5264c4895 SOLR-9928: MetricsDirectoryFactory::renameWithOverwrite incorrectly calls super (Mike Drob via ab) 2017-01-05 17:46:14 +01:00
Shalin Shekhar Mangar e5d28848d7 SOLR-9923: Remove solr.http metric group and merge its metrics to solr.node group 2017-01-05 20:25:23 +05:30
yonik 7ef6a81846 SOLR-9917: fix NPE in distrib percentiles when no values for field in bucket 2017-01-04 23:53:07 -05:00
Dennis Gove f9e3554838 SOLR-7495: Support Facet.field on a non-DocValued, single-value, int field 2017-01-04 22:25:29 -05:00
Dennis Gove bd39ae9c9d SOLR-3990: Moves getIndexSize() from ReplicationHandler to SolrCore 2017-01-04 13:48:44 -05:00
Christine Poerschke eb2a8ba2ee SOLR-8542: README and solr/contrib/ltr/example changes
details:
* reduced README in favour of equivalent Solr Ref Guide content and (new) example/README
* solr/contrib/ltr/example improvements and fixes

also:
* stop supporting '*' in Managed(Feature|Model)Store.doDeleteChild
2017-01-04 17:12:38 +00:00
Christine Poerschke 2f62facc0b SOLR-9820: change PerSegmentSingleValuedFaceting.(contains|ignoreCase) from default to private visibility. (Jonny Marks via Christine Poerschke) 2017-01-04 16:16:00 +00:00
Joel Bernstein 194f5167f4 SOLR-9919: Update CHANGES.txt 2017-01-04 10:35:23 -05:00
Joel Bernstein b8f4adfd57 SOLR-9919: random Streaming Expression is not registered in /stream or /graph handler 2017-01-04 10:33:29 -05:00
Mikhail Khludnev d3f83bb948 SOLR-7466: reverse-aware leading wildcards in complexphrase query parser 2017-01-04 18:11:02 +03:00
Shalin Shekhar Mangar f87efac521 SOLR-9911: Fix typo in CHANGES.txt 2017-01-04 20:18:18 +05:30
Shalin Shekhar Mangar 0452cb8c96 SOLR-9911: Add a way to filter metrics by prefix in the MetricsHandler API 2017-01-04 20:17:45 +05:30
Andrzej Bialecki 12d8492217 SOLR-9921 Separate SolrMetricProducer from SolrInfoMBean. 2017-01-04 15:31:31 +01:00
Joel Bernstein ccdbb6ac0e SOLR-8530: Add support for single quoted aggregate HAVING comparisons 2017-01-03 20:27:22 -05:00
Joel Bernstein db7d2ff162 SOLR-8530: Updated CHANGES.txt 2017-01-03 17:09:21 -05:00
Joel Bernstein 390a01b0fe SOLR-8530: Fixed javadoc 2017-01-03 15:06:14 -05:00
Joel Bernstein 5bbd4d6765 SOLR-8530: Add tests from the HavingStream 2017-01-03 15:05:28 -05:00
Joel Bernstein 1da283ef2c SOLR-8530: Add HavingStream to Streaming API and StreamingExpressions 2017-01-03 14:53:03 -05:00
Noble Paul 5b1f6b2ba4 SOLR-9915: PeerSync alreadyInSync check is not backwards compatible and results in full replication during a rolling restart 2017-01-04 04:38:51 +10:30
Andrzej Bialecki 48ca9fc3f4 SOLR-9854: Collect metrics for index merges and index store IO. (squashed) 2017-01-03 12:12:01 +01:00
Shalin Shekhar Mangar 3c96396724 SOLR-9896: Instrument and collect metrics from query, update, core admin and core load thread pools 2017-01-03 15:52:01 +05:30
Noble Paul d565238567 SOLR-9906: unused import 2017-01-03 20:38:28 +10:30
Noble Paul 33304f202c Merge remote-tracking branch 'origin/master' 2017-01-03 17:53:34 +10:30
Noble Paul 3988532d26 SOLR-9906-Use better check to validate if node recovered via PeerSync or Replication 2017-01-03 17:52:08 +10:30
Joel Bernstein 0999f6779a SOLR-9684: Rename schedule function to priority 2017-01-02 11:08:44 -05:00
anshum 93562da610 SOLR-9154: Fix DirectSolrSpellChecker to work when added through the Config API 2017-01-01 15:32:38 -08:00
Andrzej Bialecki fb2800b149 SOLR-9880 Fix concurrency bugs in tests. 2016-12-31 20:46:32 +01:00
Joel Bernstein 832d02bf49 SOLR-9495: Update CHANGES.txt 2016-12-30 20:39:57 -05:00
Joel Bernstein 61676188d7 SOLR-9495: AIOBE with confusing message for incomplete sort spec in Streaming Expression 2016-12-30 19:55:31 -05:00
Joel Bernstein 36a691c50d SOLR-9684: Update CHANGES.txt 2016-12-30 15:38:28 -05:00
Joel Bernstein f3fe487970 SOLR-9684: Add schedule Streaming Expression 2016-12-30 14:34:16 -05:00
Mikhail Khludnev cc862d8e67 SOLR-9668: introduce cursorMark='true' for SolrEntityProcessor 2016-12-30 20:50:53 +03:00
Erick Erickson 3ccd15a765 SOLR-9843 Fix up DocValuesNotIndexedTest failures
(cherry picked from commit f6a3557)
2016-12-29 18:14:39 -08:00
Erick Erickson cb266d5fc7 SOLR-9891: Add mkroot command to bin/solr and bin/solr.cmd 2016-12-29 17:39:48 -08:00
Mikhail Khludnev 5d042d3a49 SOLR-9900: fix false positives on range queries with ReversedWildcardFilterFactory 2016-12-30 00:43:29 +03:00
Joel Bernstein 00723827ff SOLR-9905: Update CHANGES.txt 2016-12-29 14:42:31 -05:00
Joel Bernstein 7dcb557ab7 SOLR-9905: Add NullStream to isolate the performance of the ExportWriter 2016-12-29 14:39:16 -05:00
Alan Woodward 87b6c2c8fc LUCENE-7607: FieldLeafComparator.setScorer() should throw IOException 2016-12-29 12:22:40 +00:00
Alan Woodward 12aff1cfcc SOLR-9132: Cut over some more tests 2016-12-29 12:22:40 +00:00
markrmiller fa959ad25d tests: speed up non nightly run 2016-12-29 06:42:14 -05:00
markrmiller c58eaa1a49 tests: speed up very slow test 2016-12-29 06:22:58 -05:00
markrmiller b4de6288fb tests: bump timeout 2016-12-29 05:59:25 -05:00
markrmiller 5f55ae0b73 tests: raise commit time to avoid false fails 2016-12-29 05:53:51 -05:00
markrmiller 197590a928 SOLR-9901: Implement move in HdfsDirectoryFactory. 2016-12-29 05:47:41 -05:00
markrmiller a5e5c4a043 tests: bump up fudge 2016-12-29 05:40:45 -05:00
markrmiller 2781145eb3 SOLR-9902: StandardDirectoryFactory should use Files API for it's move implementation. 2016-12-29 05:29:51 -05:00
Shalin Shekhar Mangar 662be93ed1 SOLR-9877: Null check for metric registry before attempting to use it 2016-12-29 09:57:03 +05:30
David Smiley 20362deb7e SOLR-9897: Add hl.requireFieldMatch=false support when using the UnifiedHighlighter 2016-12-28 22:57:44 -05:00
markrmiller 262049fc8f SOLR-9899: StandardDirectoryFactory should use optimizations for all FilterDirectorys not just NRTCachingDirectory. 2016-12-28 18:52:20 -05:00
markrmiller 96ed221fb6 SOLR-9859: replication.properties cannot be updated after being written and neither eplication.properties or ndex.properties are durable in the face of a crash. 2016-12-28 18:52:19 -05:00
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
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
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