Commit Graph

4888 Commits

Author SHA1 Message Date
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
anshum 81feea2505 SOLR-8790: Ignoring failing CollectionsAPISolrJTest test until this is fixed 2016-03-04 19:25:28 -08:00
anshum 437170fa88 SOLR-8789: Remove the *Tests regular expression from the build xml, and instead rename CollectionsAPISolrJTests to CollectionsAPISolrJTest 2016-03-04 16:34:44 -08:00
Noble Paul c27dd8e038 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:53:47 +05:30
Noble Paul 517acece6a Merge remote-tracking branch 'origin/master'
Conflicts:
	solr/CHANGES.txt
2016-03-04 16:24:10 +05:30
Noble Paul 0cd24c5d08 SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
placement. splitshard should preassign nodes using rules, if rules are present
2016-03-04 16:22:37 +05:30
Luc Vanlerberghe 40aab73a4c LUCENE-7064: Split MultiPhraseQuery into an immutable class and a Builder
This closes #19
2016-03-04 11:28:36 +01:00
Robert Muir 3ffeccab7e LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils 2016-03-03 21:52:12 -05:00
anshum 44d8ee9115 Fix document exclusion in mlt query parser in Cloud mode for schemas that have non-'id' unique field 2016-03-03 15:27:04 -08:00
anshum 9c777ab5ad SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 11:54:26 -08:00
Steve Rowe d0279b8d5f SOLR-7010: Remove facet.date client functionality 2016-03-03 14:34:45 -05:00
anshum 6de2b7dbd1 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 10:04:07 -08:00
Steve Rowe a079ff2528 SOLR-8778: Deprecate CSVStrategy's setters, and make its pre-configured strategies immutable 2016-03-03 10:54:45 -05:00
Shalin Shekhar Mangar 93133f54fd SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation 2016-03-03 18:20:04 +05:30
Shalin Shekhar Mangar d87d8da17d * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
2016-03-03 18:06:04 +05:30
Varun Thacker b440a1deb3 SOLR-8780: Remove unused OverseerCollectionMessageHandler#getClusterStatus method 2016-03-03 17:37:07 +05:30
David Smiley deb6a4907b SOLR-8764: test schema-latest.xml spatial dist units should be kilometers
(no test uses yet?)
2016-03-02 23:03:44 -05:00
David Smiley 569b6ca9ca LUCENE-7060: Spatial4j 0.6 upgrade. Package com.spatial4j.core -> org.locationtech.spatial4j 2016-03-02 21:05:32 -05:00
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Mike McCandless 09aa951ad0 remove or cutover all uses of now unsupported versions 2016-03-02 09:05:41 -05:00
Mark Miller 0f4f53a8f5 SOLR-8771: Multi-threaded core shutdown creates executor per core. 2016-03-01 12:13:56 -08:00
Chris Hostetter ff6557cbcb SOLR-8738: Fixed false success response when invalid deleteByQuery requests intially hit non-leader cloud nodes 2016-03-01 10:02:07 -07:00
Noble Paul e44eebf39d SOLR-8375: ReplicaAssigner rejects valid nodes 2016-03-01 10:49:47 +05:30
Mark Miller a9aec24236 SOLR-8696: Straighten out calls to ZkStateReader#createClusterStateWatchersAndUpdate. 2016-02-29 13:09:09 -08:00
Tomás Fernández Löbbe ae4d77ae48 SOLR-8671: Date statistics: make "sum" a double instead of a long/date 2016-02-27 14:02:30 -08:00
Alan Woodward 5c0240219a SOLR-8712: Variable solr.core.instanceDir was not being resolved 2016-02-27 10:03:01 +00:00
Shalin Shekhar Mangar c59ca69ec0 SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool size is 100. The limit has now been increased to 100. 2016-02-27 14:05:07 +05:30
Shalin Shekhar Mangar 41eb5e8542 SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue and added javadocs 2016-02-27 13:10:51 +05:30
Shalin Shekhar Mangar 06053fc01c SOLR-8752: Add a test for SizeLimitedDistributedMap and improve javadocs 2016-02-27 12:35:58 +05:30
Shalin Shekhar Mangar c2bc93822d SOLR-8697: Fix precommit failure 2016-02-27 12:19:50 +05:30
markrmiller 54e7bb5f58 SOLR-8497: Only mark diectory as done if it was not previously in the cache. 2016-02-26 15:47:12 -05:00
markrmiller efb7bb171b SOLR-8697: Add synchronization around registering as leader and canceling. 2016-02-26 12:32:12 -05:00
Christine Poerschke 0ed625b107 SOLR-8734: fix (maxMergeDocs|mergeFactor) deprecation warnings: in solrconfig.xml <maxMergeDocs|mergeFactor> may not be combined with <mergePolicyFactory> and <maxMergeDocs|mergeFactor> on their own or combined with <mergePolicy> is a warning. 2016-02-26 15:51:46 +00:00
Noble Paul 6c0846107a SOLR-8726 : typo in file name 2016-02-26 15:43:51 +05:30
Jan Høydahl 9bb9b7900f SOLR-8737: Managed synonym lists do not include the original term in the expand 2016-02-26 01:26:30 +01:00
Gregory Chanan de119f0b5d SOLR-8735: Fix CheckHdfsIndexTest test failure 2016-02-25 00:18:22 -08:00
Tomas Fernandez Lobbe 730d10f145 SOLR-8420: Fix long overflow in sumOfSquares for Date statistics
Casted operations to double. Changed the test to support a percentage error given the FUZZY flag in doubles
2016-02-24 19:02:17 -08:00
Noble Paul 405e084a6c SOLR-7362: enabling more logs 2016-02-24 15:53:11 +05:30
Noble Paul bba7b82ab9 Merge remote-tracking branch 'origin/master' 2016-02-24 14:59:42 +05:30
Noble Paul d77cd3287d SOLR-872: move the embedded xml for schema and solconfig for .system collection to individual files 2016-02-24 14:59:07 +05:30
markrmiller 18bb8caede SOLR-8720: ZkController#publishAndWaitForDownStates should use #publishNodeAsDown. 2016-02-23 14:51:01 -05:00
markrmiller 8ac4fdd6bb SOLR-8696: Start the Overseer before actions that need the overseer on init and when reconnecting after zk expiration and improve init logic. 2016-02-23 13:59:04 -05:00
markrmiller 7d32456efa SOLR-8497: Merge indexes should mark it's directories as done rather than keep them around in the directory cache. 2016-02-23 13:15:01 -05:00
Noble Paul 9ce2d0d25d SOLR-8698: params.json can now have appends and invariants as well. 'useParams' specified in the requestHandler is always applied 2016-02-23 17:40:49 +05:30
Noble Paul 4d9d0c0011 SOLR-8719 renamed classes to make their usage generic 2016-02-23 16:14:49 +05:30
Noble Paul cf96432630 SOLR-8522: Make it possible to use ip fragments in replica placement rules , such as ip_1, ip_2 etc 2016-02-23 13:31:08 +05:30
Noble Paul e069d31086 SOLR-7362 2016-02-23 11:21:59 +05:30
Noble Paul 982654b795 Merge remote-tracking branch 'origin/master' 2016-02-23 06:32:33 +05:30
Noble Paul eb1f8e2409 SOLR-8377 removed an unnecessary for loop 2016-02-23 06:12:33 +05:30
Dennis Gove d6105334a0 SOLR-8666: Adds header 'zkConnected' to response of SearchHandler and PingRequestHandler
Header is used to notify the client when a connection to zookeeper has been lost and there is a possibility of stale data on the node the request is coming from.
2016-02-22 19:25:17 -05:00
Dennis Gove 2c0a5e3036 SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection can be made 2016-02-22 19:25:16 -05:00
yonik 1203264640 SOLR-8691: Cache index fingerprints per searcher 2016-02-22 13:00:38 -05:00
yonik f47e6b2200 SOLR-8690: add solr.disableFingerprint system property 2016-02-22 12:44:30 -05:00
Christine Poerschke b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Noble Paul 5a15fed9f5 SOLR-8700 eliminate the java class for implicit plugins 2016-02-21 20:49:55 +05:30
markrmiller 2fd90cd489 SOLR-8575: Add missing assert. 2016-02-20 20:35:21 -05:00
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 9418369b46 SOLR-8697: Scope ZK election nodes by session to prevent elections from interfering with each other and other small LeaderElector improvements. 2016-02-19 17:06:38 -05:00
markrmiller 771f14cb6e SOLR-8656: PeerSync should use same nUpdates everywhere. 2016-02-19 16:41:49 -05:00
markrmiller 8cd53a076b SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and SolrCmdDistributor, which violates the lifecycle and can cause bugs. 2016-02-19 14:59:46 -05:00
markrmiller e30d638c51 SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and make this handling more consistent. 2016-02-19 14:36:53 -05:00
markrmiller 32fbca6ea7 SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification. 2016-02-19 14:33:50 -05:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
Noble Paul 8fe946bde2 Merge remote-tracking branch 'origin/master' 2016-02-18 16:28:19 -08:00