Commit Graph

4951 Commits

Author SHA1 Message Date
jbernste 360c4da90b SOLR-9193: fixing failing tests due to changes in TermsComponent 2016-07-06 14:06:38 -04:00
jbernste e1f51a20d7 SOLR-9193: Add scoreNodes Streaming Expression 2016-07-06 14:06:38 -04:00
jbernste 551bdc6f53 SOLR-9243:Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms 2016-07-06 14:06:37 -04:00
Varun Thacker 5fadc4ee23 SOLR-9088: Fixed TestManagedSchemaAPI failures which exposed race conditions in the schema API 2016-07-06 14:08:05 +05:30
Varun Thacker bfe5c5ae49 SOLR-9242: Collection backup/restore to provide a param for specifying underlying storage repository to use 2016-07-06 13:18:13 +05:30
Chris Hostetter 54b3945572 SOLR-9235: Fixed NPE when using non-numeric range query in deleteByQuery 2016-07-05 14:18:55 -07:00
Alan Woodward e6e0765e86 SOLR-9181: Add some logging to ZkStateReader to try and debug test failures 2016-07-05 10:46:43 +01:00
Shalin Shekhar Mangar 8653be9a5b SOLR-8048: Stop using deprecated CollectionAdminRequest.Reload constructor 2016-07-05 12:53:35 +05:30
Shalin Shekhar Mangar 2d6b7ea966 SOLR-8048: Close the http client in a finally clause at the end of the test 2016-07-05 12:48:04 +05:30
Erick 32e0f5fd25 SOLR-9276: Remove remnants of old-style core definitions from OpenCloseCoreStressTest 2016-07-04 17:13:39 -07:00
Erick Erickson 9dd9a6fc91 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. Windows text fix 3 2016-07-04 10:25:40 -07:00
Erick Erickson 65c34857f8 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper. More Windows fixes 2016-07-03 17:14:25 -07:00
Erick Erickson 961eaf9add SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper - Fix Windows failures 2016-07-02 16:07:38 -07:00
Erick a851d5f557 SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper 2016-07-02 10:25:44 -07:00
Alan Woodward cefab1dffc SOLR-9181: Fix some races in ZkStateReader collection watch updates 2016-07-01 15:47:47 +01:00
Noble Paul 06cb145f12 Merge remote-tracking branch 'origin/master' 2016-07-01 17:37:52 +05:30
Noble Paul df9fb16b46 SOLR-9251: Support for a new tag 'role' in replica placement rules 2016-07-01 17:37:36 +05:30
Shalin Shekhar Mangar 51fde1cbf9 SOLR-9262: Connection and read timeouts are being ignored by UpdateShardHandler after SOLR-4509 2016-07-01 13:16:46 +05:30
Shalin Shekhar Mangar 6674969a89 SOLR-9262: Revert changes 2016-07-01 12:58:56 +05:30
Shalin Shekhar Mangar 2b4420c473 SOLR-9262: Connection and read timeouts are being ignored by UpdateShardHandler after SOLR-4509 2016-07-01 12:47:05 +05:30
Shalin Shekhar Mangar 0a15699caa SOLR-8787: Shutdown MiniSolrCloudCluster in a finally block 2016-06-30 22:32:23 +05:30
Shalin Shekhar Mangar 6528dacb0e SOLR-8787: TestAuthenticationFramework should not extend TestMiniSolrCloudCluster 2016-06-30 19:50:17 +05:30
Shalin Shekhar Mangar 74c86063cf SOLR-9264: Remove unused imports 2016-06-30 18:20:11 +05:30
Shalin Shekhar Mangar 015e0fc1cf SOLR-9264: Optimize ZkController.publishAndWaitForDownStates to not read all collection states and watch relevant collections instead 2016-06-30 15:22:57 +05:30
Noble Paul 1dc7480bcd SOLR-9216: Support collection.configName in MODIFYCOLLECTION request 2016-06-30 12:10:36 +05:30
Shalin Shekhar Mangar 4ea95bf8f1 SOLR-8777: Duplicate Solr process can cripple a running process 2016-06-29 14:49:59 +05:30
Alan Woodward 23119db360 LUCENE-7360: Explanation.toHtml() is deprecated 2016-06-29 09:13:29 +01:00
Tomas Fernandez Lobbe 4070bdd8d8 SOLR-8657: Fix SolrRequestInfo error logs if QuerySenderListener is being used 2016-06-28 13:11:40 -07:00
jbernste 407080af5b SOLR-9254: GraphTermsQueryQParserPlugin throws NPE when field being search is not present in segment 2016-06-28 13:03:34 -04:00
Varun Thacker 36183cad87 SOLR-7374: Fixing test failures like build #3366. Index a minimum of 1 doc 2016-06-27 12:08:45 +05:30
Jan Høydahl 7eb77027bb SOLR-9237: DefaultSolrHighlighter.doHighlightingByFastVectorHighlighter can't be overidden 2016-06-26 23:59:59 +02:00
Erick bc1237a646 SOLR-8546: TestLazyCores is failing a lot on the Jenkins cluster. 2016-06-23 20:49:27 -07:00
Gregory Chanan f273cb1b3a SOLR-9076: Update to Hadoop 2.7.2 2016-06-23 13:41:15 -07:00
Varun Thacker 07be2c42ba SOLR-7374: Core level backup/restore now supports specifying a directory implementation 2016-06-23 23:49:28 +05:30
markrmiller 740198f33d SOLR-9219: Make hdfs blockcache read buffer sizes configurable and improve cache concurrency. 2016-06-21 13:06:10 -04:00
Adrien Grand 281af8b89c LUCENE-7350: Remove unused imports. 2016-06-21 17:51:36 +02:00
Noble Paul 060cacfdab SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs endpoint 2016-06-21 18:50:49 +05:30
Tommaso Teofili fcf4389d82 LUCENE-7350 - Let classifiers be constructed from IndexReaders 2016-06-21 13:10:34 +02:00
Adrien Grand c52a71797d SOLR-8995: Remove unused imports. 2016-06-20 09:57:09 +02:00
Adrien Grand dc95f6d62a LUCENE-7317: Remove auto-prefix terms. 2016-06-20 09:23:09 +02:00
Noble Paul bd9005d562 SOLR-8995: replace SAM implementations with lambda 2016-06-20 11:11:18 +05:30
Uwe Schindler 0179b3fb2d LUCENE-7346: Update forbiddenapis to version 2.2 2016-06-19 21:27:34 +02:00
Mike McCandless 55fc01bc45 LUCENE-7335: IW's commit data is now late binding 2016-06-17 05:39:50 -04:00
Christine Poerschke 651499c82d SOLR-9195: remove unnecessary allocation and null check in UpdateRequestProcessorChain.getReqProcessors 2016-06-15 12:12:23 +01:00
Mike McCandless 87016b5f0c LUCENE-7318: graduate StandardAnalyzer and make it the default for IndexWriterConfig 2016-06-14 16:38:04 -04:00
Noble Paul 5eabffc797 SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh 2016-06-14 20:08:08 +05:30
Noble Paul 5ee4e8a614 SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh 2016-06-14 19:47:18 +05:30
Noble Paul 2e101c42ca SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh 2016-06-14 19:43:48 +05:30
Noble Paul ccf2070e53 Merge remote-tracking branch 'origin/master' 2016-06-14 19:38:23 +05:30
Noble Paul 97e696dd50 SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh 2016-06-14 19:37:45 +05:30
Adrien Grand bd7ddb8fbf SOLR-9204: Remove unused imports. 2016-06-14 10:25:23 +02:00
markrmiller 08c14f1356 SOLR-9204: Improve performance of getting directory size with hdfs. 2016-06-13 12:22:50 -04:00
Adrien Grand 5e2677e0fb LUCENE-7319: Remove more unused imports. 2016-06-13 15:24:10 +02:00
Christine Poerschke 038fe9378d SOLR-9161: change SolrPluginUtils.invokeSetters implementation to accommodate setter variants 2016-06-13 13:05:08 +01:00
Christine Poerschke 52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Noble Paul 232b44e283 SOLR-8744: Minimize the impact on ZK when there are a lot of blocked tasks 2016-06-12 13:11:07 +05:30
Erick Erickson 844ca4a348 SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:38:19 -07:00
Erick Erickson 79d1b8c227 SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields 2016-06-11 17:33:25 -07:00
Alan Woodward 0eacfe87c2 SOLR-9176: Fix facet method fallback selection 2016-06-10 15:40:25 +01:00
Steve Rowe 3871439976 SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649 2016-06-10 02:29:26 -04:00
Gregory Chanan d55cc8f293 SOLR-9199: ZkController#publishAndWaitForDownStates logic is inefficient 2016-06-09 13:24:29 -07:00
Mike McCandless 067fb25e43 LUCENE-7323: compound file writing now verifies checksum and segment ID for the incoming sub-files, to catch hardware issues or filesystem bugs earlier 2016-06-09 14:48:58 -04:00
Scott Blum 7e86ba8c73 SOLR-9191: use a Predicate instead of a Function 2016-06-09 13:57:11 -04:00
Noble Paul 98f7ab5137 Merge remote-tracking branch 'origin/master' 2016-06-09 11:47:23 +05:30
Noble Paul 84c6e9a477 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:47:04 +05:30
Noble Paul fdf2bbbdb1 SOLR-7123: echo shows wrong output, and added a test for multi level nesting 2016-06-09 11:34:06 +05:30
Scott Blum ed2621de84 SOLR-9191: OverseerTaskQueue.peekTopN() fatally flawed 2016-06-09 00:59:03 -04:00
Noble Paul be01109744 SOLR-9198: config APIs unable to add multiple values with same name 2016-06-09 00:32:35 +05:30
David Smiley fb37b3eb8c SOLR-8859: Fix AbstractSpatialFieldType to not cycle through all Spatial4j provided formats.
And Fix RptWithGeometrySpatialField to be less brittle on init()
2016-06-07 16:48:34 -04:00
Noble Paul 66cd0edc52 SOLR-7123: Syntax modified. Multiple paths can be added in the split parameter itself (pipe separated) 2016-06-07 13:31:40 -07:00
Uwe Schindler 5c672e14f8 Fix temp dir usage in ZkCLI test 2016-06-07 10:52:03 +02:00
Alan Woodward b64c558e3e Revert "SOLR-9140: Replace some zk state polling with CollectionStateWatchers"
There's still some places where notifications can be missed, so I'm reverting
this until those are fixed.

This reverts commit d550b1ca43.
2016-06-06 13:13:54 +01:00
Alan Woodward 1e2ba9fe9b Revert "SOLR-9181: Fix test bug in ZkStateReaderTest"
This reverts commit 950fd91335.
2016-06-04 11:05:44 +01:00
Alan Woodward d550b1ca43 SOLR-9140: Replace some zk state polling with CollectionStateWatchers 2016-06-03 15:50:23 +01:00
Alan Woodward 950fd91335 SOLR-9181: Fix test bug in ZkStateReaderTest 2016-06-03 15:12:50 +01:00
Chris Hostetter 1eb6c9f816 SOLR-9182: SuppressSSL on some tests where it's non to cause OOM 2016-06-02 11:27:59 -07:00
Noble Paul 9863d3d2d7 Merge remote-tracking branch 'origin/master' 2016-06-02 14:48:10 +05:30
Noble Paul 459a9c77a6 SOLR-8744: Overseer operations performed with fine grained mutual exclusion 2016-06-02 14:47:57 +05:30
Chris Hostetter 09372acb66 SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing 2016-06-01 14:34:31 -07:00
Chris Hostetter 245e4839d1 Revert "SOLR-9161: SolrPluginUtils.invokeSetters now accommodates setter variants"
This reverts commit 50658dd93d.

Conflicts:
	solr/CHANGES.txt
2016-06-01 09:58:27 -07:00
Noble Paul 34d9f0a7a3 SOLR-7123: '/update/json/docs' path supports nested documents 2016-06-01 18:33:54 +05:30
Chris Hostetter 18256fc287 SOLR-8940: Fix group.sort option 2016-05-31 16:12:24 -07:00
Jan Høydahl 05ce40a0b9 SOLR-8583: Do not attempt highlight of alternate if it is same as original hl field 2016-05-30 10:24:23 +02:00
Jan Høydahl e37e49ed46 SOLR-8583: Apply highlighting to hl.alternateField by default. 2016-05-29 00:34:32 +02:00
Erick 49c81bd869 SOLR-9136: Separate out the error statistics into server-side error vs client-side error 2016-05-28 09:16:11 -07:00
Mikhail Khludnev 2391b5b81d SOLR-9110: removing static members from tests. 2016-05-27 23:59:47 +03:00
Christine Poerschke 50658dd93d SOLR-9161: SolrPluginUtils.invokeSetters now accommodates setter variants 2016-05-27 19:07:06 +01:00
Mikhail Khludnev ffa2d65efe SOLR-9110: moving JoinFromCollection- SubQueryTransformer- BlockJoinFacet- Distrib Tests to SolrCloudTestCase 2016-05-27 13:47:17 +03:00
jdyer1 164128f977 SOLR-9165: disable "cursorMark" when testing for valid SpellCheck Collations 2016-05-26 14:46:43 -05:00
Noble Paul 366f8d18fe Merge remote-tracking branch 'origin/master' 2016-05-25 23:12:11 +05:30
Noble Paul a42dc35883 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-05-25 23:11:59 +05:30
Mike McCandless baa5344e68 LUCENE-7283: move SlowCompositeReaderWrapper and uninverting to solr 2016-05-25 05:36:32 -04:00
Chris Hostetter e9f65fe0f8 SOLR-9119: several static methods in ValueSourceParser have been made private 2016-05-24 15:45:52 -07:00
Chris Hostetter 19044afed4 SOLR-9159: New cloud based concurrent atomic update test 2016-05-24 13:30:13 -07:00
Jan Høydahl 50c4f58276 SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD 2016-05-24 12:56:31 +02:00
Dawid Weiss e44509f2df LUCENE-7277: Make Query.hashCode and Query.equals abstract. 2016-05-24 10:33:15 +02:00
Alan Woodward 196f4530a2 Revert "SOLR-9132: Fix request-counting logic in ConnectionReuseTest"
The logic for request-counting is different in master and 6.x, due to the
difference in HttpClient implementations.

This reverts commit a35057fff2.
2016-05-24 08:35:16 +01:00
Noble Paul ba46eb7be4 Merge remote-tracking branch 'origin/master' 2016-05-24 10:39:25 +05:30
Noble Paul 5a18599892 improved logging for debug errors such as these SOLR-9143 2016-05-24 10:39:11 +05:30
Dennis Gove e4e990b993 SOLR-8988: Adds query option facet.distrib.mco which when set to true allows the use of facet.mincount=1 in cloud mode 2016-05-23 15:13:37 -04:00
Christine Poerschke 1b809e784a SOLR-9134: Fix RestManager.addManagedResource return value. 2016-05-23 16:22:20 +01:00
Alan Woodward a35057fff2 SOLR-9132: Fix request-counting logic in ConnectionReuseTest 2016-05-23 15:27:23 +01:00
Noble Paul eae605b532 Merge remote-tracking branch 'origin/master' 2016-05-23 12:05:53 +05:30
Noble Paul 55e3fd9ddf more logging for debug errors such as these SOLR-9143 2016-05-23 12:05:17 +05:30
Mikhail Khludnev 3ea12f2be4 SOLR-9147: using BAOS from commons io 2.5 in EmbeddedSolrServer to avoid array resize. 2016-05-23 00:10:17 +03:00
Steve Rowe b922033517 SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists 2016-05-20 19:36:39 -04:00
Uwe Schindler b9caf83bfa LUCENE-7292: Use '-release' instead of '-source/-target' during compilation on Java 9+ to ensure real cross-compilation 2016-05-20 22:20:39 +02:00
Alan Woodward ee5836746c SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:43:31 +01:00
jbernste 97fd7988ae SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 21:52:53 -04:00
Shalin Shekhar Mangar d6a5c5a539 SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded 2016-05-18 20:15:52 +05:30
Shalin Shekhar Mangar d1202a8f8d SOLR-9117: The first SolrCore is leaked after reload 2016-05-18 02:02:30 +05:30
jbernste f8d1012717 SOLR-9118: HashQParserPlugin should trim partition keys 2016-05-17 14:10:54 -04:00
Alan Woodward 2b9cbe97a8 SOLR-9113: Improve state watcher API 2016-05-17 10:34:06 +01:00
Uwe Schindler ae93f4e7ac Move non-inner classes to separate files: This breaks IDEs and update checks by javac 2016-05-16 19:54:10 +02:00
Uwe Schindler 6620fd1421 SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in Solr's SimplePostTool 2016-05-16 18:01:32 +02:00
Alan Woodward 77962f4af4 SOLR-9106: Cache cluster properties on ZkStateReader 2016-05-14 10:06:36 +01:00
Alan Woodward b6d7421412 SOLR-8323: Add CollectionStateWatcher API 2016-05-13 21:34:16 +01:00
Mikhail Khludnev 3b0a79a13e SOLR-8208: fixing TestSubQueryTransformerDistrib by passing reasonable numbers in creatCollection() 2016-05-13 23:23:50 +03:00
David Smiley 4193e60b9f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
2016-05-13 10:03:24 -04:00
Mike McCandless d715210467 LUCENE-6766: merged 2016-05-13 04:31:29 -04:00
Mike McCandless 3cde9eb3d0 LUCENE-6766: keep SortingMergePolicy for solr back-compat; fix Solr tests; fix precommit failures 2016-05-13 04:29:48 -04:00
Bartosz Krasiński 160940688f SOLR-9105: Fix some typos in solr core module 2016-05-11 21:19:01 +02:00
Christine Poerschke c4e8673bf0 SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. 2016-05-11 13:42:46 +01:00
Mikhail Khludnev 470ba0794e SOLR-8208: miserable javadoc fixes 2016-05-10 21:59:50 +03:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Christine Poerschke a5d785a8e9 SOLR-9087: avoid IndexOutOfBoundsException in TestReplicationHandler.doTestIndexAndConfigAliasReplication 2016-05-10 09:58:34 +01:00
Erick Erickson f4359ff8ff SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a Map<String, String> to allow more complex Solr queries to be specified 2016-05-09 12:37:32 -07:00
Mikhail Khludnev 7571e747c3 SOLR-8208: [subquery] document transformer executes separate requests per result document. 2016-05-09 13:08:07 +03:00
Varun Thacker a969d99ce9 SOLR-7117: AutoAddReplicas should have a cluster wide property for controlling number of cores hosted on each node 2016-05-08 23:50:18 +05:30
Noble Paul d57e0de5ea SOLR-9071: rename the getters in org.apache.solr.common.util.Pair class 2016-05-08 12:27:51 +05:30
yonik b42945ea92 SOLR-9026: add facet telemetry for legacy facets 2016-05-07 18:47:01 -04:00
jbernste 66fc6aaf8d SOLR-8972: Fix MinimalSchemaTest and SolrCoreTest 2016-05-06 08:24:21 -04:00
Shalin Shekhar Mangar 1dd877545f SOLR-9036: Disable doTestIndexFetchOnMasterRestart 2016-05-06 02:27:11 +05:30
jbernste be1cb9a1cd SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 16:36:19 -04:00
Shalin Shekhar Mangar 51b131950d SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart 2016-05-05 21:00:20 +05:30
David Smiley 18d933ee65 SOLR-5750: Fix test to specify the collection on add 2016-05-05 09:41:47 -04:00
Shalin Shekhar Mangar f5497a33e2 SOLR-9014: Deprecate ClusterState.getCollections and introduce a new ClusterState.getCollectionsMap instead 2016-05-05 05:22:03 +05:30
Shalin Shekhar Mangar c2662f24ac SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter 2016-05-05 05:16:39 +05:30
Jan Høydahl b6f8c6500e SOLR-9053: Fix attribution, apply the code refactor part from mdrob's patch 2016-05-04 23:19:55 +02:00
David Smiley 0a20dd47d1 SOLR-5750: Fix test to specify the collection on commit 2016-05-04 16:03:56 -04:00
Chris Hostetter c47279dce9 SOLR-9061: SuppressSSL on TestDistributedSearch for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter ac4574b2e4 SOLR-9062: SuppressSSL on TestDistributedStatsComponentCardinality for now since it causes OOM with default test heap sizes 2016-05-03 15:31:53 -07:00
Chris Hostetter 9677e2c54b SOLR-5776: refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom to prevent SSL tests from blocking on entropy starved machines 2016-05-03 15:31:53 -07:00
jbernste fc6c24a9d4 SOLR-9059: NPE in SolrClientCache following collection reload 2016-05-03 13:04:21 -04:00
Noble Paul cf16f5d13d SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" 2016-05-03 15:56:25 +05:30
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -04:00
Adrien Grand 4fa2b29b20 LUCENE-7262: Leverage index statistics to make DocIdSetBuilder more efficient. 2016-05-02 15:04:27 +02:00
Chris Hostetter 48f2b2a3bb SOLR-9028: relax the SSLHandshakeException expectation - in some platforms/java# diff IOExceptions are thrown 2016-04-29 09:54:56 -07:00
jbernste 3d3c3fb5fc SOLR-9027: Pull the TermsEnum once for each segment 2016-04-29 11:00:10 -04:00
jbernste 58ad591a64 SOLR-9027: Collect the TermContexts in createWeight 2016-04-29 10:13:37 -04:00
Chris Hostetter 791d1e7393 SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested 2016-04-28 13:18:01 -07:00
yonik c897917c71 SOLR-9034: fix atomic updates for copyField w/ docValues 2016-04-28 15:52:22 -04:00
jbernste 2c66d4b046 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-04-28 13:31:22 -04:00
Adrien Grand ef45d4b2e1 LUCENE-7261: Speed up LSBRadixSorter. 2016-04-28 18:20:41 +02:00
Christine Poerschke 3b4ec73595 SOLR-9037: replace multiple "/replication" strings with one static constant 2016-04-27 13:09:28 +01:00
jbernste 9ce830d8f2 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-04-26 16:33:26 -04:00
jbernste d66f5515e6 SOLR-9027: Add GraphTermsQuery to limit traversal on high frequency nodes 2016-04-26 16:33:26 -04:00
Noble Paul 506d61abe7 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/lucene-solr 2016-04-26 19:24:52 +05:30
Noble Paul 0233765c27 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:24:23 +05:30
Shalin Shekhar Mangar 922265b478 SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via the lazy collection reference 2016-04-26 01:50:26 +05:30
Christine Poerschke 666472b74f SOLR-9025: Add SolrCoreTest.testImplicitPlugins test. 2016-04-22 18:21:41 +01:00
Noble Paul 7b89d0f698 Merge remote-tracking branch 'origin/master' 2016-04-22 12:34:03 +05:30
Noble Paul 827c670d18 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-22 11:32:29 +05:30
markrmiller f3de223774 SOLR-8933: Solr should not close container streams. 2016-04-21 11:53:58 -04:00
Noble Paul e8cc19eb88 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 2016-04-21 20:38:20 +05:30
markrmiller b44ca080d6 SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in the cluster state. 2016-04-20 12:05:15 -04:00
Scott Blum 71a5870ae7 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:46:34 -04:00
Dennis Gove 99ba1a8f99 SOLR-9015: Adds SelectStream as a default function in the StreamHandler 2016-04-19 20:43:45 -04:00
Chris Hostetter 16f905ff13 SOLR-8971: Preserve root cause when wrapping exceptions 2016-04-19 13:54:18 -07:00
Dennis Gove 2e95a54a52 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression 2016-04-19 11:17:28 -04:00
Uwe Schindler 186df5788b Fix Java 9 problem with static field leakage 2016-04-19 10:15:03 +02:00
Noble Paul 456d5c04c8 SOLR-8349: trying to address test failures 2016-04-19 13:09:59 +05:30
Steve Rowe 4ac2546e5b javadoc: DateField->TrieDateField 2016-04-18 16:59:46 -04:00
jbernste 8659ea33d9 SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals 2016-04-18 16:09:56 -04:00
anshum 84a6ff697e SOLR-8983: Cleanup clusterstate in case of a failed CREATE collection call 2016-04-18 11:19:50 -07:00
Timothy Potter 9d0da3156c SOLR-9007: remove mention of managed_schema_configs 2016-04-18 11:32:04 -06:00
Noble Paul 079221db2d more logging to get which server failed 2016-04-18 19:44:07 +05:30
Noble Paul 9a1880aee8 SOLR-8349: Allow sharing of large in memory data structures across cores 2016-04-18 15:51:19 +05:30
Varun Thacker 44c9cd2fe8 SchemaManager waits correctly for replicas to be notified of a new change 2016-04-17 21:56:58 +05:30
Christine Poerschke 3ab579b7ec SOLR-8938: add -x as short-form of --excluderegex ZkCLI arg 2016-04-15 15:52:53 +01:00
Noble Paul 09f92b7edf SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:03:22 +05:30
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Noble Paul 9313a6304b SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint 2016-04-15 13:23:51 +05:30
Dennis Gove eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -04:00
David Smiley 037a40316c SOLR-8937: bin/post (SimplePostTool) should tell JDK to stream stdin instead of fully buffer 2016-04-14 13:51:57 -04:00
Timothy Potter b36a6ecbe4 SOLR-8908: Fixed OnReconnect listener management in ZkController to allow for de-registering listeners.
Here's what this commit includes:
* Added the removeOnReconnectListener method to ZkController to allow OnReconnect listener implementations to de-register; avoids a memory leak
* Updated ZkIndexSchemaReader to add a CloseHook to the SolrCore it supports to de-register as an OnReconnect listener
* Added unit test to verify that after reloading and deleting a SolrCore in managed schema mode, the associated ZkIndexSchemaReader gets de-registered correctly
2016-04-14 10:17:42 -07:00
Anshum Gupta 689e9664c5 SOLR:8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 12:10:26 -07:00
markrmiller 79195a8e54 SOLR-8899: Ignore thread leaks for this test - due to the HttpClient leak, the idle connection evictor thread can sometimes leak. 2016-04-13 10:45:09 -04:00
markrmiller 744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -04:00
markrmiller 6c9391df01 tests: raise wait time 2016-04-13 09:54:16 -04:00
yonik 93f9456e2a tests: better DocSetCollector tests, including better smallSetSize boundary testing 2016-04-09 19:21:27 -04:00
yonik cfba58f0d0 SOLR-8922: optimize DocSetCollector to produce less garbage 2016-04-09 19:10:02 -04:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Christine Poerschke 93511352ac SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 12:54:42 +01:00
Shalin Shekhar Mangar 4205b1c804 SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a SolrResponse node is in the overseer queue 2016-04-06 11:56:27 +05:30
Gregory Chanan fd0d699747 SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls 2016-04-05 12:01:40 -07:00
David Smiley 3bbf8aaa8a SOLR-8875: Fix null clusterState from ZkStateWriter. Revert my sanity check asserts in Overseer. 2016-04-05 14:15:31 -04:00
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
Uwe Schindler d0156b1126 SOLR-4509: Fix test failures with Java 9 module system by doing a correct cleanup 2016-04-02 20:13:43 +02:00
markrmiller ce172acb8f SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection check on every request and move connection lifecycle management towards the client. 2016-04-01 12:21:59 -04:00
jbernste 3500b45d6d SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:24:51 -04:00
nknize e1b45568b4 * LUCENE-7094: BBoxStrategy and PointVectorStrategy now support PointValues (in addition to legacy numeric trie). Their APIs were changed a little and also made more consistent. PointValues/Trie is optional, DocValues is optional, stored value is optional. 2016-03-30 18:14:20 -05:00
David Smiley 94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
markrmiller 34180ad5c3 SOLR-8864: TestTestInjection needs to cleanup after itself. 2016-03-30 12:33:14 -04:00
Ryan McKinley 6b7030d637 SOLR-8902: fix glob test (put back the fields.clear()) 2016-03-25 13:51:08 -07:00
Ryan McKinley ffd557b117 SOLR-8902: Make sure ReturnFields only returns the requested fields 2016-03-25 12:59:32 -07:00
Chris Hostetter f051f56be9 SOLR-445: new ToleranteUpdateProcessorFactory to support skipping update commands that cause failures when sending multiple updates in a single request.
SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories to indicate request params that should be forwarded when DUP distributes updates.

This commit is a squashed merge from the jira/SOLR-445 branch (as of b08c284b26b1779d03693a45e219db89839461d0)
2016-03-25 11:02:55 -07:00
yonik 6f60ac21f3 SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues 2016-03-25 10:18:31 -04:00
yonik e136d10817 Fix StrField.toObject and toExternal to work with docValue IndexableField instances, optimize createFields 2016-03-23 20:43:55 -04:00
Kevin Risden dbee659174 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:49:21 -05:00
yonik ced7570e2c SOLR-8886: fix TrieField.toObject(IndexableField) for docValues 2016-03-23 11:56:17 -04:00
markrmiller 574da7667f SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. 2016-03-22 23:05:13 -04:00
markrmiller 9aeb745a7d SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. 2016-03-22 16:09:56 -04:00
Gregory Chanan cb1738360e SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean 2016-03-21 11:30:39 -07:00
markrmiller 93e96f688e SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is hard coded to 256. 2016-03-21 14:10:17 -04:00
Alan Woodward 04bd586071 SOLR-8837: Fix duplicate election node detection 2016-03-21 17:39:37 +00:00
Uwe Schindler b2a4003d4c SOLR-8082: Fix forbidden APIs 2016-03-21 00:09:15 +01:00
Steve Rowe 49d5ec02a2 SOLR-8082: Can't query against negative float or double values when indexed='false' docValues='true' multiValued='false' 2016-03-20 16:55:32 -04:00
Dennis Gove fecdec6c85 SOLR-5616: Simplifies grouping code to use ResponseBuilder.needDocList() to determine if it needs to generate a doc list for grouped results. 2016-03-20 13:30:29 -04:00
Dennis Gove e3b785a906 SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-03-20 11:13:56 -04:00
Uwe Schindler e3b7d82825 SOLR-8877: Disable test on environments with whitespace 2016-03-19 15:58:31 +01:00
Uwe Schindler f93f90ca1b SOLR-8874: Make Solr tests work with Java 9 Jigsaw 2016-03-19 14:53:59 +01:00
yonik 5ea86b14c3 SOLR-8867: fix frange/FunctionValues.getRangeScorer to not match missing values, getRangeScorer refactored to take LeafReaderContext 2016-03-17 16:58:27 -04:00
Noble Paul faa0586b31 SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
permission name.
  The APIs are also modified to ue 'index' as the unique identifier instead of name.
  Name is an optional attribute
  now and only to be used when specifying well-known permissions
2016-03-17 23:34:50 +05:30
David Smiley a22099a398 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value 2016-03-17 13:22:16 -04:00
Steve Rowe 3cdde08ff2 SOLR-8838: Remove obsolete comment 2016-03-16 18:58:41 -04:00
Steve Rowe 6e55135be3 SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles. 2016-03-16 18:56:23 -04:00
Ryan McKinley 022877fefa SOLR-8859: read/write Shapes to String 2016-03-16 12:52:00 -07:00
Ryan McKinley 36145d02cc SOLR-8814: Support GeoJSON response format 2016-03-16 10:06:49 -07:00
anshum 30a77b73b6 SOLR-8836: Return 400, and a SolrException when an invalid json is provided to the update handler instead of 500. 2016-03-15 10:55:20 -07:00
Tommaso Teofili 5801caab6c SOLR-7739 - applied patch from Alessandro Benedetti for integrating Lucene classification into Solr 2016-03-15 12:29:07 +01:00
yonik 95f20c6f00 SOLR-8835: fix faceting exception (uif) on multi-valued numeric docValues 2016-03-14 11:33:16 -04:00
yonik 50c413e865 SOLR-8831: allow _version_ field to be retrievable via docValues 2016-03-11 14:10:37 -05:00
Varun Thacker 343d9c6fa4 SOLR-8804: Fix a race condition in the ClusterStatus API call 2016-03-11 14:02:06 +05:30
anshum b0caca3b60 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 16:49:02 -08:00
anshum 209f5c2946 SOLR-8790: Add the node name to core responses in calls from the Overseer 2016-03-10 16:20:44 -08:00
Noble Paul 8cc978b53b SOLR-8135: SolrCloudExampleTest.testLoadDocsIntoGettingStartedCollection reproducible failure 2016-03-11 00:49:49 +05:30
Robert Muir d35d5694d8 LUCENE-7090, LUCENE-7075: deprecate single-valued LegacyNumerics fieldcaching, provide Points-based replacement. 2016-03-10 08:29:56 -05:00
Erick Erickson 540e8010c3 SOLR-8813: Add test for MultiValued fields being returned in the correct order 2016-03-09 11:40:44 -08:00
Alan Woodward 55c595a9dc SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:05 +00:00
Shai Erera 4384627f08 SOLR-8793: Fix stale commit files' size computation in LukeRequestHandler 2016-03-08 22:13:21 +02:00
Varun Thacker dcb7a882b6 SOLR-8766: Remove support for admin/gettableFiles as well 2016-03-08 19:32:10 +05:30
Robert Muir bfd58bc9de LUCENE-7077: fail precommit on useless assignment 2016-03-08 06:42:35 -05:00
Alan Woodward 5b7be9d16a SOLR-8782: Improve async collections API 2016-03-08 10:53:29 +00:00
Noble Paul f2c281abcb SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
reimplemented as a part of the bulk API with less details. The tests and write implementations are removed
2016-03-07 22:44:36 +05:30
Shalin Shekhar Mangar 093a8ce57c SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection) 2016-03-07 15:03:03 +05:30
yonik 8555726143 SOLR-8155: fix UnInvertedField.collectDocsGeneric, used for facet.prefix or non-count sorting 2016-03-05 18:47:33 -05:00
Varun Thacker 4381018b77 SOLR-8449: Fix the core restore functionality to allow restoring multiple times on the same core 2016-03-06 04:12:11 +05:30
Noble Paul a15845ea59 Merge remote-tracking branch 'origin/master' 2016-03-05 11:30:06 +05:30
Noble Paul f09c5590e5 SOLR-8788: CollectionTooManyReplicasTest.testDownedShards failures 2016-03-05 11:29:43 +05:30