Commit Graph

5207 Commits

Author SHA1 Message Date
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 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
Mikhail Khludnev 393e36e1ce SOLR-9699: fixing exception on core status during concurrent reload 2016-12-22 08:18:38 +03: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 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 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 07609443c5 SOLR-9870: fix two typos in SolrCore.java (Mike Drob via Christine Poerschke) 2016-12-19 16:14:51 +00:00
Ishan Chattopadhyaya a1a8b2864e SOLR-9513: Generic Hadoop authentication plugins, GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin 2016-12-19 20:45:04 +05:30
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 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
yonik ca5e736db1 SOLR-9822: speed up single-valued string fieldcache counting in dv facet processor 2016-12-07 11:09:55 -05:00
Chris Hostetter 8b98b158ff SOLR-5043: New solr.dns.prevent.reverse.lookup system property that can be used to prevent long core (re)load delays on systems with missconfigured hostname/DNS 2016-12-06 14:47:03 -07:00
Steve Rowe bf3a3137be SOLR-9832: Schema modifications are not immediately visible on the coordinating node 2016-12-06 13:11:36 -05:00
Ishan Chattopadhyaya e64bcb37ff SOLR-9616 Solr throws exception when expand=true on empty index 2016-12-01 00:46:58 +05:30
Christine Poerschke a7fa920b52 SOLR-9660: in GroupingSpecification factor [group](sort|offset|limit) into [group](sortSpec) (Judith Silverman, Christine Poerschke) 2016-11-29 22:15:30 +01:00
Andrzej Bialecki 590d31f311 SOLR-9768 RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab) 2016-11-29 21:12:49 +01:00
Christine Poerschke 02c687758e SOLR-9783: (Search|Top)Group[s]ShardResponseProcessor.process: turned sortWithinGroup null check into assert.
Also sort.equals tweak in (grouping) QueryCommand.create method.
2016-11-29 14:37:12 +01:00
Noble Paul 70b358960d SOLR-9546: remove unnecessary boxing 2016-11-29 18:02:59 +05:30
Tommaso Teofili c36ec0b75e SOLR-8871 - removed suppress for forbidden API, added locale to toUpperCase 2016-11-28 09:22:36 +01:00
Erick Erickson 500c2befe9 SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:12:16 -08:00
Erick Erickson e4733f696e SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails, test fix 2016-11-26 22:11:30 -08:00
Erick Erickson ca6626604b SOLR-5260: Faceting on a field in SolrCloud with docValues=true and indexed=false fails 2016-11-26 12:36:57 -08:00
Noble Paul 23921064e9 SOLR-9784: deprecated uploadconfig 2016-11-26 12:54:48 +05:30
Shalin Shekhar Mangar eded69ba8f SOLR-9433: Ignore testDeleteInstanceDirAfterCreateFailure on windows 2016-11-26 01:01:22 +05:30
David Smiley 9b4b120aba fix bad xml processing instruction placement 2016-11-24 22:24:35 -05:00
David Smiley 4314c51c66 SOLR-9708: Added UnifiedSolrHighlighter. Added hl.method=original|fastVector|postings|unified 2016-11-24 19:36:07 -05:00
Tommaso Teofili a4573fe7f4 SOLR-8871 - added suppress forbidden for toUpperCase usage 2016-11-25 01:12:03 +01:00
Tommaso Teofili 96489d2384 SOLR-8871 - adjusted header positioning 2016-11-24 23:46:20 +01:00
Tommaso Teofili 5ad741eef8 SOLR-8871 - various improvements to ClassificationURP 2016-11-24 23:43:57 +01:00
Noble Paul 41d7b24574 SOLR-9721: javabin Tuple parser for streaming and other end points 2016-11-24 09:00:21 +05:30
Shalin Shekhar Mangar f8fa2e998d SOLR-8785: Use per-second rates for consistency in all stats outputs 2016-11-23 23:20:48 +05:30
Shalin Shekhar Mangar dab2e24656 SOLR-8785: Convert rates to be per minute from the default per second rates reported by the metrics library 2016-11-23 23:11:36 +05:30
yonik 7e6e68900b SOLR-9786: set filter for join query parser 2016-11-22 22:44:25 -05:00
yonik 3b4cc1bd1f SOLR-9786: set filter flag for more parsers 2016-11-22 16:30:08 -05:00
yonik bf9db95f21 SOLR-9786: FieldType.getSetQuery, QParser.flags/isFilter, solr query parser use getSetQuery when appropriate and other optimizations 2016-11-22 12:33:20 -05:00
Shalin Shekhar Mangar ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
Christine Poerschke f42cc2a8c3 SOLR-9782: for json.nl expand test coverage and comments w.r.t. NamedList(null=null) 2016-11-18 15:57:35 +00:00
Alan Woodward 157c0bca92 Log root cause error when directories can't be deleted on core unload 2016-11-18 13:45:29 +00:00
yonik 738198ef34 SOLR-9772: reuse comparator when deriving fieldSortValues 2016-11-17 10:56:37 -05:00
Erick Erickson e402a304bf SOLR-9606: Change hard-coded keysize from 512 to 1024 2016-11-16 13:33:18 -08:00
markrmiller 53a0748f43 SOLR-9284: Reduce off heap cache size. 2016-11-16 10:11:41 -05:00
markrmiller 358c164620 SOLR-9284: Reduce off heap cache size and fix test asserts. 2016-11-15 11:05:41 -05:00
markrmiller 0325722e67 SOLR-9284: The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps grow indefinitely. 2016-11-15 05:18:35 -05:00
Shalin Shekhar Mangar 0d290ae136 SOLR-9736: Solr resolves the collection name against the first available leader or first replica of the first slice 2016-11-15 14:18:43 +05:30
Shalin Shekhar Mangar 487b0976eb SOLR-9366: Limit memory consumed by FastLRUCache with a new 'maxRamMB' config parameter 2016-11-15 10:59:58 +05:30
Steve Rowe 76b439a0bd SOLR-9751: PreAnalyzedField can cause managed schema corruption 2016-11-14 19:17:57 -05:00
Erick Erickson 4a31b29cb0 SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc 2016-11-14 07:19:28 -08:00
Christine Poerschke 6c25adb119 SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class.
(Christine Poerschke, Noble Paul)
2016-11-09 09:46:14 +00:00
yonik 11840469d9 SOLR-9740: fix macro expansion of multi-valued parameters 2016-11-08 18:09:43 -05:00
yonik b02e7a902e SOLR-9038: add snapshotscli.sh and supporting code 2016-11-08 13:28:35 -05:00
yonik cfcf4081fc SOLR-9519: recurse sub-facets of empty buckets if they can widen domain again 2016-11-08 12:10:53 -05:00
Noble Paul 46fad72a9b Merge remote-tracking branch 'origin/master' 2016-11-08 20:06:58 +05:30
Noble Paul bb25214d44 SOLR-9739: JavabinCodec implements PushWriter interface 2016-11-08 20:06:28 +05:30
Christine Poerschke a61286134a Remove not actually needed JSONWriter.writeArray override. 2016-11-08 13:29:45 +00:00
Christine Poerschke f203c7c816 QueryComponent.mergeIds tweak to local 'queue' variable. 2016-11-08 11:41:49 +00:00
Noble Paul 6abfad0234 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:46 +05:30
Noble Paul ef074a61f8 SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API 2016-11-08 16:37:08 +05:30
Christine Poerschke cbf8235e57 SOLR-9726: Reduce number of lookupOrd calls made by the DocValuesFacets.getCounts method. (Jonny Marks via Christine Poerschke) 2016-11-07 16:06:25 +00:00
yonik 4b3e7f2fe2 SOLR-9682: add param query type to facet filter 2016-11-05 15:24:57 -04:00
Shalin Shekhar Mangar 1f1990d8be SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause replica recovery to hang indefinitely on network partitions 2016-11-05 12:46:42 +05:30
Christine Poerschke 358bdd490b SOLR-9720: tweak JSONWriter.writeArray 2016-11-04 20:20:50 +00:00
markrmiller 1381dd9287 SOLR-9055: Make collection backup/restore extensible.
- Introduced a parameter for the Backup operation to specify index backup strategy.
- Introduced two strategies for backing up index data.
  - One using core Admin API (BACKUPCORE)
  - Other skipping the backup of index data altogether. This is useful when
    the index data is copied via an external mechanism in combination with named
    snapshots (Please refer to SOLR-9038 for details)
  - In future we can add additional implementations of this interface (e.g. based on HDFS snapshots etc.)
- Added a backup property to record the Solr version. This helps to check the compatibility
  of backup with respect to the current version during the restore operation. This
  compatibility check is not added since its unclear what the Solr level compatibility guidelines
  are. But at-least having version information as part of the backup would be very useful.
2016-11-04 10:41:52 -04:00
Joel Bernstein 84171ecada Remove spurious imports 2016-11-03 18:47:50 -04:00
Shalin Shekhar Mangar 78b768f2a4 SOLR-9720: Fix for JSONWriterTest 2016-11-03 20:21:13 +05:30
jdyer1 213a2a1791 SOLR-5344: relax the test requirements for estimated hit counts 2016-11-03 08:38:59 -05:00
Noble Paul 1f595a20a2 SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream, Tuple, Explanation 2016-11-03 14:28:15 +05:30
Noble Paul 940a337105 close() not implemented 2016-11-03 14:09:34 +05:30
jdyer1 4a12a260a8 Revert "SOLR-9710: fix test bug"
This reverts commit be772dbd48.
2016-11-02 16:06:27 -05:00
jdyer1 be772dbd48 SOLR-9710: fix test bug 2016-11-02 10:07:55 -05:00