Commit Graph

1182 Commits

Author SHA1 Message Date
markrmiller 95c5d92f10 SOLR-8933: Solr should not close container streams. 2016-05-03 10:23:37 -04:00
David Smiley dac044c94a SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE
(cherry picked from commit 70bcd56)
2016-05-02 22:46:06 -04:00
jbernste 86f371cbc6 SOLR-9027: GraphTermsQuery optimizations and more explicit handling of non-caching behavior 2016-05-02 08:43:47 -04:00
jbernste d1f32c0432 SOLR-8925: Integrate the GraphTermsQuery into the gatherNodes expression 2016-05-02 08:42:24 -04:00
Dennis Gove d969de41c1 SOLR-9009: Adds ability to get an Explanation of a Streaming Expression
Conflicts:
	solr/CHANGES.txt
2016-05-02 08:36:46 -04:00
jbernste 60a9e38668 SOLR-8996: Add Random Streaming Expression 2016-05-02 08:29:29 -04:00
jbernste d77574abba SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals
Conflicts:
	solr/core/src/java/org/apache/solr/handler/StreamHandler.java
2016-05-02 08:29:08 -04:00
Chris Hostetter 8e8f6c1fa8 SOLR-9028: Fix 2 SSL test related bugs...
1) SolrTestCaseJ4 should always reset the HttpClientConfigurer in afterClass, regardless of wether ssl was used
   (when SSL is not used, the active configurer explicitly excludes SSL)
2) HttpClientUtilTest.testSSLSystemProperties made no sense as written.  setSSLSystemProperties() didn't have any
   effect on what was being tested, even if it was useful it would only have affected what keystore/truststore were
   used, not wether HTTPS was supported or not.
2016-04-30 22:22:09 -07:00
Noble Paul 6c459779c5 SOLR-8992: Restore Schema API GET method functionality removed in 6.0 added back another test and fixed test errors 2016-04-28 15:40:06 +05:30
Shai Erera 95322605b8 SOLR-9016: Fix SolrIdentifierValidator to not accept empty identifiers 2016-04-26 20:59:00 -07:00
Noble Paul 8162ba4534 SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions 2016-04-26 19:26:44 +05:30
Scott Blum 89857653ca SOLR-9029: fix rare ZkStateReader visibility race during collection state format update 2016-04-25 21:21:02 -04:00
Dennis Gove 78176e23bc SOLR-8599: Improved the tests for this issue to avoid changing a variable to non-final 2016-04-21 15:19:33 -07:00
Kevin Risden d914ec4a67 SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods 2016-04-20 14:50:24 -05:00
Kevin Risden 6276fe5ec7 SOLR-8809: Implement Connection.prepareStatement 2016-04-20 10:03:54 -05:00
Scott Blum 7c356bad06 SOLR-8973: Zookeeper frenzy when a core is first created. 2016-04-19 20:57:42 -04:00
Noble Paul f82a27aa5c SOLR-8995: Replace anonymous implementations of SAM interfaces with Lambdas 2016-04-15 19:04:44 +05:30
Dennis Gove 020f15f437 SOLR-8962: Adds a Sort stream w/sort function name 2016-04-14 21:46:48 -04:00
Timothy Potter af8a962417 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:25:14 -07:00
Anshum Gupta 5baf311c38 SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API 2016-04-13 15:58:04 -07:00
markrmiller bf984af6f0 SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods. 2016-04-13 16:12:18 -04:00
markrmiller fe85885868 SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. 2016-04-13 09:56:49 -04:00
Anshum Gupta f479f16d3a SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-08 13:14:27 -07:00
Christine Poerschke 835dc33102 SOLR-8938: Add optional -excluderegex argument to ZkCLI. 2016-04-07 15:12:18 +01:00
Noble Paul d67ec54932 SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 23:20:55 +05:30
jbernste ffdfceba53 SOLR-8888: Add shortestPath Streaming Expression 2016-03-31 16:35:49 -04:00
jbernste 74b5a7a972 SOLR-8924: RollupStream breaks with null values in the group by buckets 2016-03-31 12:05:18 -04:00
David Smiley 44e0ac3856 SOLR-8903: Move SolrJ DateUtil to contrib/extraction as ExtractionDateUtil.
And removed obsolete methods.
(cherry picked from commit 5e5fd66)
2016-03-30 15:07:52 -04:00
David Smiley 72f5eac2c5 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.
(cherry picked from commit 94c0423) (cherry picked from commit 39932f5)
2016-03-30 14:37:55 -04:00
Chris Hostetter 5b6eacb80b 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 13:13:50 -07:00
Kevin Risden 2b13210c3d SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize, ResultSet.getType 2016-03-23 17:33:12 -05:00
Kevin Risden 39270d9df8 SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill, Joel Bernstein, Kevin Risden) 2016-03-23 15:50:22 -05:00
jbernste c7b7f1d027 SOLR-8882: Wait for checkpoint in DaemonStream, TopicStream testcase 2016-03-21 23:41:12 -04:00
jbernste faa077224c SOLR-8878: Remove debugging 2016-03-21 12:42:59 -04:00
jbernste 5c074dac28 SOLR-8878: Allow the DaemonStream run rate be controlled by the internal stream 2016-03-21 12:42:59 -04:00
David Smiley 4ee908eb80 SOLR-8866: UpdateLog now throws an error if it can't serialize a field value
(cherry picked from commit a22099a)
2016-03-17 13:23:38 -04:00
Shalin Shekhar Mangar f5a4b0419c SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0
(cherry picked from commit ae846bf)
2016-03-17 09:54:36 +05:30
jbernste 26f230a474 SOLR-8832: Faulty DaemonStream shutdown procedures 2016-03-11 15:42:51 -05:00
anshum bc41158648 SOLR-8765: Fix CollectionAdminRequest.SplitShard to accept requests without the 'shard' parameter 2016-03-10 17:06:35 -08:00
Shalin Shekhar Mangar 02b0dd52ec Fix javadocs for ClusterState.getCollectionOrNull
(cherry picked from commit 66cd070)
2016-03-10 18:20:02 +05:30
Alan Woodward 8b408be7a2 SOLR-8765: Throw SolrException rather than IAE on name validation 2016-03-09 21:16:30 +00:00
Alan Woodward 6b2f363896 SOLR-8765: Set parameters correctly in async shard requests 2016-03-09 17:39:35 +00:00
Alan Woodward c1277cda11 SOLR-8765: Enforce required parameters in SolrJ Collections API 2016-03-09 12:51:53 +00:00
jbernste 15bf038f29 SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC 2016-03-08 15:46:00 -05:00
Alan Woodward 761618727d SOLR-8782: Improve async collections API 2016-03-08 10:55:40 +00:00
Noble Paul c187c46437 Merge remote-tracking branch 'origin/branch_6x' into branch_6x 2016-03-07 22:49:51 +05:30
Noble Paul 5146e78a64 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:49:19 +05:30
Shalin Shekhar Mangar dd04b61739 SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow forceUpdateCollection(collection)
(cherry picked from commit 093a8ce)
2016-03-07 18:38:09 +05:30
Varun Thacker 1cbf22569a SOLR-8779: Fix missing InterruptedException handling in ZkStateReader 2016-03-04 20:14:17 +05:30
Noble Paul 8d835f1231 SOLR-8750 : Use lambdas in code where SAM type interfaces are used 2016-03-04 18:55:29 +05:30
anshum 638b145376 SOLR-8423: DeleteShard and DeleteReplica should cleanup instance and data directory by default and add support for optionally retaining the directories 2016-03-03 13:26:00 -08:00
anshum 73d2d1125f SOLR-8725: Fix precommit check 2016-03-03 13:22:42 -08:00
anshum 7e59ba4220 SOLR-8725: Allow hyphen in shard, collection, core, and alias names but not the first char 2016-03-03 13:22:15 -08:00
Steve Rowe d0d75c448e SOLR-7010: Remove facet.date client functionality 2016-03-03 14:40:13 -05:00
Shalin Shekhar Mangar d346af3994 * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy
This closes #17
(cherry picked from commit d87d8da)
2016-03-03 18:11:40 +05:30
Steve Rowe 8bbb1dcace SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:26:26 -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
jbernste b2475bf9fd SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging 2016-02-19 20:03:43 -05:00
markrmiller 3124a4debd SOLR-8693: Improve ZkStateReader logging. 2016-02-19 19:09:58 -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 c4d31798cc SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early. 2016-02-19 08:51:19 -05:00
anshum eb0e270043 SOLR-8677: Fix assert statement 2016-02-18 18:43:56 -08:00
anshum c7c5b8fe49 SOLR-8677: Fix broken build 2016-02-18 18:06:12 -08:00
anshum a54e819a62 SOLR-8677: Fix broken build 2016-02-18 16:03:58 -08:00
anshum d01230d639 SOLR-8677: Restrict creation of shards with invalid names 2016-02-18 15:18:44 -08:00
Noble Paul 8bcac81a21 SOLR-8692 moved the embedded json out to resources dir 2016-02-18 14:59:09 -08:00
Christine Poerschke 677779086c SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr. 2016-02-12 20:16:02 +00:00
jbernste 111f45efa9 SOLR-8529: Improve JdbcTest to not use plain assert statements 2016-02-11 13:37:07 -05:00
jbernste 56b79ece8b SOLR-8527: Improve JdbcTest to cleanup properly on failures 2016-02-11 13:15:29 -05:00
jbernste 739b81063e SOLR-8190: Implement Closeable on TupleStream 2016-02-11 12:46:04 -05:00
jbernste 8eb58cc000 SOLR-8461: CloudSolrStream and ParallelStream can choose replicas that are not active 2016-02-11 10:54:03 -05:00
Varun Thacker 9985a0966b SOLR-8534: Fix SolrJ APIs to add async support 2016-02-10 16:53:52 -08:00
markrmiller a8bc427aac SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we count on HttpClient or the JVM. 2016-02-10 15:32:56 -05:00
Mikhail Khludnev eac3bb9b32 SOLR-8466: facet.method=uif for UnInvertedField faceting, like it was with 'fc' earlier. 2016-02-10 01:06:56 +03:00
Uwe Schindler 8dddd88d30 Fix more locale bugs in SQL handler ans streams 2016-02-09 08:32:48 +01:00
markrmiller 899f1fcf74 SOLR-8551: Make collection deletion more robust. 2016-02-08 21:39:01 -05:00
jbernste 784124e100 SOLR-8660: JdbcTest test failure due to Locale specific issue when checking for LIMIT clause. 2016-02-08 18:20:07 -05:00
anshum 03d7f80b27 SOLR-8648: Support selective clearing up of stored async collection API responses via DELETESTATUS API 2016-02-08 13:15:46 -08:00
jbernste 23fe5f2dc5 SOLR-8655: DaemonStream should 'put' EOF Tuple on the blocking queue 2016-02-07 20:42:12 -05:00
Erick Erickson 7053a99f49 SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest for distributed queries 2016-02-07 17:08:20 -08:00
jbernste 3d47612b04 SOLR-8652: Lower case the limit clause 2016-02-06 21:42:01 -05:00
jbernste 75a81795b8 SOLR-8652: Check if second to last token is limit to test for limit clause 2016-02-06 21:25:05 -05:00
jbernste ba20faa955 SOLR-8652: Implement Statement.setMaxRows() 2016-02-06 21:03:45 -05:00
jbernste dc6b1a68d2 SOLR-8507, SOLR-8638: Add information about database product name, product version, driver name, and driver version. Implement ConnectionImpl setCatalog and setSchema. 2016-02-06 20:25:51 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Noble Paul f85036cd9c SOLR-8640: CloudSolrClient does not send credentials for update request 2016-02-04 18:59:03 +05:30
Dennis Gove 3528cc32cb SOLR-8409: Ensures that quotes in solr params (eg. q param) are properly handled 2016-02-03 20:42:48 -05:00
jbernste 70ad8316f4 SOLR-8631: Throw UnsupportedOperationException for DatabaseMetaDataImpl.getTypeInfo() 2016-02-02 13:24:20 -05:00
jbernste 2419a3873a SOLR-8510: Implement DatabaseMetaDataImpl.getSchemas() 2016-02-02 13:19:06 -05:00
jbernste edf665988d SOLR-8508: Implement DatabaseMetaDataImpl.getCatalogs() 2016-02-01 16:21:13 -05:00
jbernste e20820a04d SOLR-8285: Ensure the /export handler works with NULL field values 2016-01-31 13:21:10 -05:00
jbernste 79e384bac5 SOLR-8602: Implement ResultSetImpl.wasNull() 2016-01-28 11:08:31 -05:00
jbernste ad96fd0d89 SOLR-8601: RollupStream loses the type for group by buckets 2016-01-27 16:09:44 -05:00
jbernste b3eb7222df SOLR-8603: Implement StatementImpl.getMoreResults() 2016-01-27 14:04:06 -05:00
jbernste eeaf3eb96f SOLR-8574: Implement ConnectionImpl.isValid() and DatabaseMetaDataImpl.getConnection() 2016-01-27 13:48:06 -05:00
jbernste eb6bf9bc54 SOLR-8250: Implement ResultSetMetaDataImpl getColumnLabel(int column) and getColumnDisplaySize(int column) 2016-01-27 13:21:47 -05:00
Shalin Shekhar Mangar 6acfa2a4ff SOLR-8595: Use BinaryRequestWriter by default in HttpSolrClient and ConcurrentUpdateSolrClient 2016-01-27 20:50:54 +05:30
jbernste 3654fc33b9 SOLR-8518: Implement ResultSetMetaDataImpl getColumnType and getColumnTypeName 2016-01-26 10:55:32 -05:00
jbernste 0ff8d11367 SOLR-8512: Implement minimal set of get* methods in ResultSetImpl for column indices 2016-01-25 22:56:01 -05:00
jbernste ce0069a751 SOLR-8517: Implement minimal set of get* methods in ResultSetImpl for column names 2016-01-25 21:39:44 -05:00
jbernste c99698b6dd SOLR-8519: Implement ResultSetMetaDataImpl.getColumnCount() 2016-01-25 13:53:51 -05:00
jbernste a652065c26 SOLR-8573: Implement ConnectionImpl,StatementImpl,ResultSetImpl clearWarnings and getWarnings 2016-01-24 17:53:12 +01:00
Joel Bernstein 077e78f417 SOLR-8550: Add asynchronous DaemonStreams to the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726291 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 19:07:15 +00:00
Noble Paul 9298da5690 SOLR-8582 : memory leak in JsonRecordReader affecting /update/json/docs. Large payloads
cause OOM

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726261 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 17:28:27 +00:00
Shai Erera 2311c7fee1 SOLR-8560: Add RequestStatusState enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726144 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 05:39:54 +00:00
Dennis Gove 6501f1891b SOLR-8556: Add ConcatOperation to be used with the SelectStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725769 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 18:08:16 +00:00
Christine Poerschke 16c53a0fea SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants, add CommonParamsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725708 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 12:43:25 +00:00
Joel Bernstein eae126ac1c SOLR-8514, SOLR-8502: Implement StatementImpl.execute(String sql), StatementImpl.getResultSet(), and StatementImpl.getUpdateCount()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725662 13f79535-47bb-0310-9956-ffa450edef68
2016-01-20 02:12:30 +00:00
Joel Bernstein cecb9f4e25 SOLR-8516, SOLR-8502: Implement ResultSetImpl.getStatement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 21:25:36 +00:00
Joel Bernstein 1de59cad5d SOLR-8515, SOLR-8502: Implement StatementImpl.getConnection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725595 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 19:14:15 +00:00
Varun Thacker a2e5c37c85 SOLR-8534: Add generic support for collection APIs to be async
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725474 13f79535-47bb-0310-9956-ffa450edef68
2016-01-19 11:32:14 +00:00
Joel Bernstein 99da9e8fe3 SOLR-8513,SOLR-8502: Implement ResultSetImpl.getMetaData()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724870 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 18:55:59 +00:00
Joel Bernstein ede76cfe13 SOLR-8502: Implement DatabaseMetaDataImpl.getURL()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724867 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 18:30:11 +00:00
Yonik Seeley 2a1d20b57a SOLR-8330: fix log4j.properties to match new name of log update processor logger
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724826 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:44:06 +00:00
Mark Robert Miller 2789c45a95 SOLR-8450: Do not retry admin requests, they are not idempotent.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724813 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 14:13:36 +00:00
Mark Robert Miller c6c4dded6d SOLR-8450: Fix debug logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724807 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 13:53:15 +00:00
Joel Bernstein a9ea61f905 SOLR-8503: Implement org.apache.solr.client.solrj.io.sql.ConnectionImpl.getMetaData and getCatalog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724721 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 01:28:28 +00:00
Mark Robert Miller 32fc5285f6 SOLR-8501: Specify the entity request size when known in HttpSolrClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724612 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 14:00:02 +00:00
Gregory Chanan ae1da6ba16 SOLR-8415: Provide command to switch between non/secure mode in ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724532 13f79535-47bb-0310-9956-ffa450edef68
2016-01-14 00:33:34 +00:00
Dennis Gove f6ede1b42f SOLR-7525: Add ComplementStream and IntersectStream to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724468 13f79535-47bb-0310-9956-ffa450edef68
2016-01-13 17:41:41 +00:00
Mark Robert Miller d25c982e0d SOLR-7064: ConcurrentUpdateSolrClient should only close it's httpclient if it created it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724288 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 17:17:47 +00:00
Noble Paul 4fa6c2fe47 implemented equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724170 13f79535-47bb-0310-9956-ffa450edef68
2016-01-12 06:35:58 +00:00
Varun Thacker e47edb0ebd SOLR-8476: Removed Persist action and minor cleanups to CoreAdminHandlerm also moved the CHANGES entry to the correct section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724074 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 16:13:35 +00:00
Dennis Gove fe4d702f83 SOLR-8479: Add JDBCStream to Streaming API and Streaming Expressions for integration with external data sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723749 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:56:33 +00:00
Uwe Schindler 965100a167 SOLR-8453: Fix raw socket test to correctly use HTTP spec: headers in HTTP are US-ASCII, body's Content-Length is number of bytes (not chars!), PrintWriter swallows Exceptions and was not needed (Forbidden apis found the bug, but fix was incorrect)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723660 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 08:07:43 +00:00
Dennis Gove ac754fcd59 SOLR-8485: SelectStream now properly handles non-lowercase and/or quoted select field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723648 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 01:55:25 +00:00
Tomas Eduardo Fernandez Lobbe 819c59169b SOLR-8453: Fix precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723646 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 00:45:03 +00:00
Mark Robert Miller 098e12e21e SOLR-8450: Our HttpClient retry policy is too permissive.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723616 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:43:09 +00:00
Mark Robert Miller 53c72a9ebd SOLR-8451: We should not call method.abort in HttpSolrClient or HttpSolrCall#remoteQuery and HttpSolrCall#remoteQuery should not close streams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723615 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:37:49 +00:00
Yonik Seeley fa640e6b69 SOLR-8453: test HTTP client error responses
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723613 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 19:22:23 +00:00
Shalin Shekhar Mangar 96360c78c4 SOLR-7339: Revert Jetty 9.3 upgrade
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723604 13f79535-47bb-0310-9956-ffa450edef68
2016-01-07 17:51:57 +00:00
Joel Bernstein 26a1d1ea34 SOLR-7535: Add UpdateStream to Streaming API and Streaming Expression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722990 13f79535-47bb-0310-9956-ffa450edef68
2016-01-05 00:32:29 +00:00
Noble Paul a2a463d787 SOLR-7462: AIOOBE in RecordingJSONParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1722218 13f79535-47bb-0310-9956-ffa450edef68
2015-12-29 18:45:38 +00:00
Shalin Shekhar Mangar 7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Shai Erera 8a9a8e2363 SOLR-8454: Improve logging by ZkStateReader and clean up dead code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721393 13f79535-47bb-0310-9956-ffa450edef68
2015-12-22 13:28:27 +00:00
Noble Paul 0afacabbcd SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
the collection

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721142 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 12:37:27 +00:00
Joel Bernstein 60a5da24eb SOLR-8443: Change /stream handler http param from stream to expr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720849 13f79535-47bb-0310-9956-ffa450edef68
2015-12-18 21:38:17 +00:00
James Dyer ade2f7e077 SOLR-4280: Allow specifying "spellcheck.maxResultsForSuggest" as a percentage of filter query results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720636 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 19:40:24 +00:00
Mark Robert Miller fe7ef38b2e SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster while indexing data and with random faults.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720613 13f79535-47bb-0310-9956-ffa450edef68
2015-12-17 17:08:10 +00:00
Shalin Shekhar Mangar 180d7828a7 SOLR-8426: Enable /export, /stream and /sql handlers by default and remove them from example configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720468 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 22:10:49 +00:00
Joel Bernstein 352ae7ed5f SOLR-8191: Gaurd against CloudSolrStream close method NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1720460 13f79535-47bb-0310-9956-ffa450edef68
2015-12-16 21:41:56 +00:00
Dennis Gove 1fc12ffd41 SOLR-7904: Add StreamExpression Support to FacetStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719838 13f79535-47bb-0310-9956-ffa450edef68
2015-12-13 21:21:52 +00:00
Joel Bernstein 60dca1b4f9 SOLR-8337: Add ReduceOperation and wire it into the ReducerStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719246 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 02:28:25 +00:00
Joel Bernstein e04981edc7 SOLR-8266: Remove Java Serialization from the Streaming API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718947 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 19:52:28 +00:00
Noble Paul 0ac7756852 SOLR-8373: KerberosPlugin: Using multiple nodes on same machine leads clients to
fetch TGT for every request

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718852 13f79535-47bb-0310-9956-ffa450edef68
2015-12-09 13:21:56 +00:00
Varun Thacker 0e886c19fa SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718258 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 07:32:41 +00:00
Shalin Shekhar Mangar 30c0cfc262 SOLR-8366: ConcurrentUpdateSolrClient attempts to use response's content type as charset encoding for parsing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717978 13f79535-47bb-0310-9956-ffa450edef68
2015-12-04 15:12:08 +00:00
Shalin Shekhar Mangar 0618b18f7b SOLR-8339: Refactor SolrDocument and SolrInputDocument to have a common base abstract class called SolrDocumentBase. Deprecated methods toSolrInputDocument and toSolrDocument in ClientUtils.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717654 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 15:56:17 +00:00