Commit Graph

1174 Commits

Author SHA1 Message Date
Noble Paul d33381ef49 fixing typos in javadocs 2016-05-31 23:12:09 +05:30
Jan Høydahl e37e49ed46 SOLR-8583: Apply highlighting to hl.alternateField by default. 2016-05-29 00:34:32 +02:00
jdyer1 4d4030350b SOLR-9141: Fix ClassCastException when using the /sql handler count() function with single-shard collections 2016-05-26 13:39:37 -05:00
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
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
Uwe Schindler a5f1902869 LUCENE-7296: Update forbiddenapis to version 2.1 2016-05-23 00:16:47 +02:00
Alan Woodward ee5836746c SOLR-9132: Move some tests to SolrCloudTestBase 2016-05-19 16:43:31 +01:00
Alan Woodward 6113e1f2fa SOLR-9113: Fix re-registration race 2016-05-19 14:49:26 +01:00
jbernste 97fd7988ae SOLR-9128: Fix error handling issues in Streaming classes 2016-05-18 21:52:53 -04:00
Alan Woodward 2b9cbe97a8 SOLR-9113: Improve state watcher API 2016-05-17 10:34:06 +01:00
Alan Woodward c0d23a741e SOLR-8323: Handle removal of legacy collections 2016-05-14 19:08:21 +01:00
Alan Woodward 963c6522b6 SOLR-8323: DocCollection.isFullyActive needs to know how many replicas to expect 2016-05-14 11:17:57 +01: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
jbernste 1f5d050653 Fix error message assert 2016-05-11 23:49:06 -04:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07: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
Noble Paul 4a58b3d803 Merge remote-tracking branch 'origin/master' 2016-05-09 10:20:58 +05:30
Noble Paul f9eb4febc4 SOLR-9071: simplify hashcode() , equals() and implement toString() 2016-05-09 10:20:38 +05:30
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
Kevin Risden 26027259a5 SOLR-8458: Add Streaming Expressions tests for parameter substitution 2016-05-06 09:37:47 -05:00
Kevin Risden 732e7e80c6 SOLR-8184: Negative tests for JDBC Connection String 2016-05-06 08:57:06 -05:00
Christine Poerschke d3e2c45907 SOLR-9074: solrj CloudSolrClient.directUpdate tweak
Defer two NamedList allocations and initialCapacity one of them.
2016-05-06 09:57:22 +01:00
Dennis Gove c7929f8b85 SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the incoming streams, eg. fieldA=fieldB 2016-05-05 20:30:39 -04:00
Dennis Gove ff56531762 SOLR-8996: Greatly decreases the probability of a RandomStream test failure from 1 in 5! to 1 in 1000! 2016-05-05 19:50:47 -04:00
jbernste be1cb9a1cd SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations 2016-05-05 16:36:19 -04:00
Shalin Shekhar Mangar 6ade99947a SOLR-9014: Fix javadoc 2016-05-05 05:32:42 +05:30
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 827573b1a7 SOLR-9030: Added a code comment as to why we use Integer.MAX_VALUE instead of -1 2016-05-05 05:18:22 +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
Dennis Gove dccf6a4d98 SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation 2016-05-04 17:57:12 -04:00
Alan Woodward 630a8c950d SOLR-9065: Migrate SolrJ tests to SolrCloudTestCase 2016-05-04 20:07:54 +01:00
Kevin Risden e15bab37a1 SOLR-9066: Make CountMetric return long instead of double 2016-05-04 11:07:14 -05:00
jbernste fc6c24a9d4 SOLR-9059: NPE in SolrClientCache following collection reload 2016-05-03 13:04:21 -04:00
Noble Paul 184da9982c added a couple of extra methods 2016-05-03 20:34:36 +05:30
David Smiley 70bcd562f9 SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE 2016-05-02 22:20:46 -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
jbernste 2c66d4b046 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-04-28 13:31:22 -04:00
Chris Hostetter 9ab76a1e41 SOLR-9040 / SOLR-4509: Fix default SchemaRegistryProvider so javax.net.ssl.* system properties are respected by default 2016-04-27 15:40:41 -07:00
jbernste 9ce830d8f2 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-04-26 16:33:26 -04:00
Shai Erera 9166647918 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 18:20:47 +03: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
Scott Blum 89c65af2a6 SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:15:02 -04:00
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
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
Kevin Risden a9a842f05d SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:48:23 -05:00
Kevin Risden 221ecfa898 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:00:41 -05:00
Scott Blum 71a5870ae7 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:46:34 -04:00
Dennis Gove 2e95a54a52 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression 2016-04-19 11:17:28 -04:00
jbernste 7b5f12e622 SOLR-8996: Add Random Streaming Expression 2016-04-18 16:09:56 -04:00
jbernste 8659ea33d9 SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals 2016-04-18 16:09:56 -04:00
Noble Paul d830987ae2 SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 18:58:08 +05:30
Dennis Gove eb74d814bb SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:39:26 -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 0a5f7f8b5e SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 10:55:21 -04:00
markrmiller 744b419b42 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:54:40 -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
Noble Paul 18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
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
jbernste 0b2040d61c SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 11:40:53 -04:00
David Smiley 5e5fd66257 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
2016-03-30 15:00:29 -04:00
David Smiley 39932f5758 SOLR-8904: fix accidental move of DateUtil to ExtractingDateUtil (wrong patch file) 2016-03-30 14:31:26 -04: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
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
Kevin Risden a0da40204a SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:28:59 -05: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
jbernste 42262e6768 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:38:45 -04:00
jbernste 5a40ae0305 SOLR-8878: Remove debugging 2016-03-20 22:19:38 -04:00
jbernste f86ac58a5a SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-20 22:05:18 -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
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
Shalin Shekhar Mangar ae846bfb49 SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0 2016-03-17 09:21:30 +05:30
jbernste 007d41c9f5 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:35:51 -05:00
anshum b0caca3b60 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 16:49:02 -08:00
Shalin Shekhar Mangar 66cd070d7a Fix javadocs for ClusterState.getCollectionOrNull 2016-03-10 18:16:43 +05:30
Alan Woodward f24810bdf1 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:15:58 +00:00
Alan Woodward 4015f12ff1 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:38:38 +00:00
Alan Woodward 55c595a9dc SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:05 +00:00
jbernste 56ad6e5d8a SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:22:42 -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
Varun Thacker 21bf9c6e80 SOLR-8779: Fix missing InterruptedException handling in ZkStateReader 2016-03-04 20:12:00 +05:30
Noble Paul c27dd8e038 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:53:47 +05:30
anshum 7daad8d7d1 SOLR-8725: Fix precommit check 2016-03-03 13:13:26 -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
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
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -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
jbernste 2b3529c3b8 SOLR-8708: DaemonStream should catch InterruptedException when reading underlying stream. 2016-02-20 22:35:10 -05:00