Commit Graph

1233 Commits

Author SHA1 Message Date
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
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
Anshum Gupta 6caaa0c454 SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
Shalin Shekhar Mangar 6cbe8f2dff SOLR-7339: Disabling testUpdateField until we can fix the underlying issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717512 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 20:12:19 +00:00
David Wayne Smiley ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Joel Bernstein 23c73d8ff8 SOLR-8179: SQL JDBC - DriverImpl loadParams doesn't support keys with no values in the connection string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716198 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 16:27:24 +00:00
Erik Hatcher 255ff56d4e SOLR-8307: move EmptyEntityResolver to another package to avoid conflict with solr-core and javadoc generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:25:00 +00:00
Erik Hatcher 8090380ecd Fix XXE vulnerability in MBeansHandler diff feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715863 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 16:05:45 +00:00
Alan Woodward 23dabd19ff SOLR-8194: Improve error reporting of nulls in UpdateRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715749 13f79535-47bb-0310-9956-ffa450edef68
2015-11-23 09:50:03 +00:00
Uwe Schindler f4fe17cce8 SOLR-5971: Fix error 'Illegal character in query' when proxying request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715615 13f79535-47bb-0310-9956-ffa450edef68
2015-11-22 09:56:22 +00:00
Chris M. Hostetter cae3ddd5c7 SOLR-8271: Change implicit default Similarity to use SchemaSimilarityFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715393 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 17:00:34 +00:00
Alan Woodward 0f3aecfdff SOLR-8302: SolrResourceLoader takes a Path for its instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Christine Poerschke b7195573ec SOLR-8283: factor out SortSpecParsing[Test] from QueryParsing[Test]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715049 13f79535-47bb-0310-9956-ffa450edef68
2015-11-18 19:48:40 +00:00
Dennis Gove 1161f2d018 SOLR-7669: Add SelectStream and Tuple Operations to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713967 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 04:37:37 +00:00
Dennis Gove 19715d10ef SOLR-8188: Adds Hash and OuterHash Joins to the Streaming API and Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713950 13f79535-47bb-0310-9956-ffa450edef68
2015-11-12 00:08:45 +00:00
Chris M. Hostetter da18097f85 SOLR-8270: Change implicit default Similarity to use BM25 when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713902 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 17:48:40 +00:00
Dennis Gove 5c5812940a SOLR-7584: Adds Inner and LeftOuter Joins to the Streaming API and Streaming Expressions (Dennis Gove, Corey Wu)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713753 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 01:45:04 +00:00
Dennis Gove cad6188624 SOLR-8268: StatsStream now implements the Expressible interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713749 13f79535-47bb-0310-9956-ffa450edef68
2015-11-11 00:50:34 +00:00
Dennis Gove 4f00eb8300 SOLR-8198: Change ReducerStream to use StreamEqualitor instead of StreamComparator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713204 13f79535-47bb-0310-9956-ffa450edef68
2015-11-08 03:05:13 +00:00
Dennis Gove 8309dc9b32 SOLR-7938: MergeStream now supports merging more than 2 streams together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713190 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 22:08:56 +00:00
Chris M. Hostetter ecf410f413 SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712979 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 15:45:50 +00:00
Noble Paul 0af209af06 SOLR-7569: A collection API called FORCELEADER when all replicas in a shard are down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712851 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 19:25:15 +00:00
Chris M. Hostetter d207e8c39a SOLR-8239: reverting r1712840 from trunk -- backport to 5x was more complicated then I expected because aparently DefaultSimilarity deprecation with ClassicSimilarity was never backported? want to clarify/resolve that before moving forward here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:44:13 +00:00
Chris M. Hostetter 2a24085bcd SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712840 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:19:54 +00:00
Yonik Seeley e708c90466 SOLR-6406: fix race/hang in ConcurrentUpdateSolrClient.blockUntilFinished when executor service is shut down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712045 13f79535-47bb-0310-9956-ffa450edef68
2015-11-02 15:29:00 +00:00
Alan Woodward 2018b052db SOLR-8221: Ensure that SSL config is passed to MiniSolrCloudCluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711112 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 19:57:58 +00:00
Alan Woodward cb234d3c6b SOLR-8221: MiniSolrCloudCluster creates subdirectories for its child nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1711041 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 15:43:51 +00:00
Joel Bernstein 14854b4f08 SOLR-8153: Support upper case and mixed case column identifiers in the SQL interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708259 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 21:51:45 +00:00
Joel Bernstein 6085c0a4c2 SOLR-8086: Add support for SELECT DISTINCT queries to the SQL interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707819 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 21:34:43 +00:00
Jan Høydahl 99c2515d99 SOLR-8150: Fix build failure due to too much output from QueryResponseTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1707813 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 20:52:38 +00:00
Gregory Chanan e04a4e9abc SOLR-7995: Add a LIST command to ConfigSets API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706920 13f79535-47bb-0310-9956-ffa450edef68
2015-10-05 20:54:41 +00:00
Joel Bernstein 04efea7e7d Call waitForRecoveriesToFinish(false) in the Streaming and SQL tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1706497 13f79535-47bb-0310-9956-ffa450edef68
2015-10-02 22:18:58 +00:00
Noble Paul a72c536a2a SOLR-8083: convert the ZookeeperInfoServlet to a request handler at /admin/zookeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1705662 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 12:10:39 +00:00
Joel Bernstein fb881a4f0f SOLR-8038: Add StatsStream to the Streaming API and wire it into the SQLHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1704973 13f79535-47bb-0310-9956-ffa450edef68
2015-09-24 01:49:09 +00:00
Joel Bernstein 48a16205fa SOLR-7986: JDBC Driver for SQL Interface
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703867 13f79535-47bb-0310-9956-ffa450edef68
2015-09-18 14:17:39 +00:00
Shalin Shekhar Mangar b75b8f1baa SOLR-6547: ClassCastException in SolrResponseBase.getQTime
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703335 13f79535-47bb-0310-9956-ffa450edef68
2015-09-16 07:06:23 +00:00
Noble Paul fdefc995f9 SOLR-8053: Basic auth support in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1703145 13f79535-47bb-0310-9956-ffa450edef68
2015-09-15 10:45:30 +00:00
Uwe Schindler b57234a745 LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Uwe Schindler b8a213ccf7 LUCENE-6795: Forbid AccessibleObject#setAccessible and suppress legitimate uses / wrap with doPrivileged
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702690 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:07:11 +00:00
Joel Bernstein 087154a0d8 SOLR-7903: Add the FacetStream to the Streaming API and wire it into the SQLHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702132 13f79535-47bb-0310-9956-ffa450edef68
2015-09-09 23:37:35 +00:00
Shalin Shekhar Mangar 406ff66329 SOLR-7971: Mention output stream in javadoc instead of byte buffer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701137 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 20:57:22 +00:00
Shalin Shekhar Mangar 05a9c3bed8 SOLR-7971: JavaBinCodec now uses a double pass approach to write strings larger than 64KB to avoid allocating buffer memory equal to string's UTF8 size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1701115 13f79535-47bb-0310-9956-ffa450edef68
2015-09-03 19:42:38 +00:00
Noble Paul 51510e2274 SOLR-8000: security.json is not loaded on server start
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700751 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 10:15:18 +00:00
Mark Robert Miller 442963d020 SOLR-7844: Zookeeper session expiry during shard leader election can cause multiple leaders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700603 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 16:13:38 +00:00
Noble Paul 4b61fc9903 SOLR-7988: LukeRequest on default path is broken with CloudSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700580 13f79535-47bb-0310-9956-ffa450edef68
2015-09-01 14:37:20 +00:00
Mark Robert Miller 431ed53d46 SOLR-7956: Remove a few more interrupt causes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700185 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 02:22:09 +00:00
Mark Robert Miller a956d3ffe2 SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed exceptions which prevents proper closing of transaction logs, interfere with the IndexWriter, the hdfs client and other things.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700177 13f79535-47bb-0310-9956-ffa450edef68
2015-08-30 23:44:31 +00:00
Yonik Seeley b3b4a5be68 SOLR-7966: tests - use HttpClients instead of HttpClientUtil to create a client guaranteed to have http registered
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698414 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 20:43:00 +00:00
Yonik Seeley bdf516f015 SOLR-7966: set X-Frame-Options to DENY for admin ui
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698341 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 14:47:58 +00:00
Shalin Shekhar Mangar f8eaccd19f SOLR-7983: Utils.toUTF8 uses shorter buffer than necessary for holding UTF8 data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698160 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 14:16:20 +00:00
Gregory Chanan 679dd8f790 SOLR-7789: Introduce a ConfigSet management API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698043 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 02:18:36 +00:00
Gregory Chanan 4ef86ea9cc SOLR-7950: Invalid auth scheme configuration of Http client when using Kerberos (SPNEGO)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698039 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 00:02:44 +00:00
Shalin Shekhar Mangar 2330786c5a SOLR-7971: Reduce memory allocated by JavaBinCodec to encode large strings by an amount equal to the string.length()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697726 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 16:32:47 +00:00
Shalin Shekhar Mangar 99a31e17d0 SOLR-6629: Watch /collections zk node on all nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697562 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 05:56:35 +00:00
Noble Paul 8589202889 SOLR-7941: multivalued params are concatenated when using config API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696453 13f79535-47bb-0310-9956-ffa450edef68
2015-08-18 16:31:31 +00:00
Shalin Shekhar Mangar 3109c453bb SOLR-5756: Fix for race condition between unwatch and watcher fire event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1696335 13f79535-47bb-0310-9956-ffa450edef68
2015-08-17 20:34:58 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Noble Paul 11ac3f7f88 SOLR-7838: changed the permissions froma map to an array so that order is obvious
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695308 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 14:28:50 +00:00
Mark Robert Miller fce171a434 SOLR-7757: Don't use pair from jfxrt.jar - this library is optional in some OS's.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695075 13f79535-47bb-0310-9956-ffa450edef68
2015-08-10 14:01:41 +00:00
Ramkumar Aiyengar b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Shalin Shekhar Mangar 1f8d9738a7 SOLR-5756: Fix copy/paste mistake in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694718 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 18:20:03 +00:00
Shalin Shekhar Mangar 29e1d19b73 SOLR-5756: A utility Collection API to move a collection from stateFormat=1 to stateFormat=2
SOLR-7870: Write a test which asserts that requests to stateFormat=2 collection succeed on a node even after all local replicas of that collection have been removed

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 14:07:21 +00:00
Noble Paul db2ccb1d41 SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr now watches /security.json. Components can choose to make their configs editable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694552 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 18:57:34 +00:00
Gregory Chanan 589a27eb27 SOLR-7855: OverseerCollectionProcessor: separate general task management from collection message handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694406 13f79535-47bb-0310-9956-ffa450edef68
2015-08-06 06:07:32 +00:00
Uwe Schindler 49c87c5715 LUCENE-6723: Fix date parsing problems in Java 9 with date formats using English weekday/month names.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694276 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 18:21:12 +00:00
Noble Paul 4112979808 SOLR-7849: Solr-managed inter-node authentication when authentication enabled
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694217 13f79535-47bb-0310-9956-ffa450edef68
2015-08-05 13:59:14 +00:00
Noble Paul 40e2cded26 SOLR-6625: Remove the HttpContext which provides our request
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693931 13f79535-47bb-0310-9956-ffa450edef68
2015-08-03 16:23:01 +00:00
Jan Høydahl 4a63a328d4 SOLR-3085: New edismax param mm.autoRelax which helps in certain cases of the stopwords/zero-hits issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693833 13f79535-47bb-0310-9956-ffa450edef68
2015-08-02 22:31:19 +00:00
Shalin Shekhar Mangar 2a8bef841a SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Anshum Gupta 57a15d9278 SOLR-6625: Remove RequestInterceptor at the end of the test in BasicHttpSolrClientTest. It was interfering with other tests running the same JVM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693497 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 20:48:57 +00:00
Anshum Gupta 9cb8523c59 SOLR-6625: Set HttpClientImpl in SolrTestCaseJ4 for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693483 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 19:29:20 +00:00
Noble Paul e513869cd6 SOLR-6625: formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693434 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:39:23 +00:00
Noble Paul b09a4553f7 SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
request object available at the interceptor context

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-30 14:28:20 +00:00
Shalin Shekhar Mangar c8bdf9bf19 SOLR-7840: ZkStateReader.updateClusterState fetches watched collections twice from ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693251 13f79535-47bb-0310-9956-ffa450edef68
2015-07-29 12:44:07 +00:00
Joel Bernstein 129a83b198 SOLR-7441:Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692193 13f79535-47bb-0310-9956-ffa450edef68
2015-07-21 20:28:35 +00:00
Tommaso Teofili bc5d9f52d1 SOLR-7719 - added proper parsing of Suggester results (patch from Alessandro Benedetti)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691494 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 08:32:27 +00:00
Noble Paul 422694f9c0 SOLR-7793: Refactor some utility methods to a separate utility class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690935 13f79535-47bb-0310-9956-ffa450edef68
2015-07-14 13:55:46 +00:00
Erick Erickson 6f109e7c65 SOLR-7172: addreplica API fails with incorrect error msg 'cannot create collection'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690341 13f79535-47bb-0310-9956-ffa450edef68
2015-07-11 04:17:49 +00:00
Uwe Schindler 28cfd161d2 Some timezones do not even roundtrip (like Mideast/Riyadh87), so disable the completely random timezone test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690052 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 10:31:13 +00:00
Uwe Schindler f723f0c76b Fix broken test - sorry!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690044 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 10:02:23 +00:00
Uwe Schindler 67d310288a Add a testcase for DateUtil to debug the recent Java 9 failures (may be extended)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690031 13f79535-47bb-0310-9956-ffa450edef68
2015-07-09 08:53:11 +00:00
Shalin Shekhar Mangar 32c740005a SOLR-4212: SOLR-6353: Let facet queries and facet ranges hang off of pivots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689802 13f79535-47bb-0310-9956-ffa450edef68
2015-07-08 07:46:09 +00:00
Joel Bernstein 676accb5f4 SOLR-7441: Disable failing test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689559 13f79535-47bb-0310-9956-ffa450edef68
2015-07-07 02:18:29 +00:00
Joel Bernstein b22f711b63 SOLR-7707: Add StreamExpression Support to RollupStream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689168 13f79535-47bb-0310-9956-ffa450edef68
2015-07-04 14:24:35 +00:00
Joel Bernstein a4e7ab3796 SOLR-7441, SOLR-7647: Improve overall robustness of the Streaming stack: Streaming API, Streaming Expressions, Parallel SQL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689045 13f79535-47bb-0310-9956-ffa450edef68
2015-07-03 16:32:07 +00:00
Dawid Weiss b6e28103ec SOLR-7724: SolrJ now supports parsing the output of the clustering component. (Alessandro Benedetti via Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688455 13f79535-47bb-0310-9956-ffa450edef68
2015-06-30 14:26:30 +00:00
Ramkumar Aiyengar 8c964253b5 SOLR-7710: Replace async occurrences with CommonAdminParams.ASYNC
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688039 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 18:53:45 +00:00
Ramkumar Aiyengar b9854071cf SOLR-7485: Replace shards.info occurrences with ShardParams.SHARDS_INFO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688025 13f79535-47bb-0310-9956-ffa450edef68
2015-06-28 17:18:04 +00:00
Shalin Shekhar Mangar 8768d569b8 Fix compiler warning by removing empty javadoc section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687910 13f79535-47bb-0310-9956-ffa450edef68
2015-06-27 10:55:35 +00:00
Joel Bernstein 33a4099b98 SOLR-7554: Add checks in Streams for incoming stream order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687258 13f79535-47bb-0310-9956-ffa450edef68
2015-06-24 13:07:09 +00:00
Ramkumar Aiyengar ac84d8abf4 SOLR-7664: Throw correct exception (RemoteSolrException) on receiving a HTTP 413
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1687135 13f79535-47bb-0310-9956-ffa450edef68
2015-06-23 21:40:21 +00:00
Shalin Shekhar Mangar fdeffbb536 SOLR-7182: Make the Schema-API a first class citizen of SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686650 13f79535-47bb-0310-9956-ffa450edef68
2015-06-20 16:24:08 +00:00
Joel Bernstein 1ff66e90f1 SOLR-7513, SOLR-7528: Add Equalitors to Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686481 13f79535-47bb-0310-9956-ffa450edef68
2015-06-19 18:53:57 +00:00
Noble Paul 8ab21aa657 SOLR-7662: Refactored response writing to consolidate the logic in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685856 13f79535-47bb-0310-9956-ffa450edef68
2015-06-16 15:17:14 +00:00
Joel Bernstein 03cafc6711 SOLR-7560: Parallel SQL Support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685497 13f79535-47bb-0310-9956-ffa450edef68
2015-06-15 02:51:36 +00:00
Shalin Shekhar Mangar 9c3da51ec6 SOLR-7660: Avoid redundant 'exists' calls made to ZK while fetching cluster state updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684815 13f79535-47bb-0310-9956-ffa450edef68
2015-06-11 06:08:58 +00:00
Erik Hatcher 867c75a5d9 Remove explicitly defined request handlers from example and test solrconfig's that are already defined implicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684080 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 22:31:26 +00:00
Shalin Shekhar Mangar c4acf28dd1 Log main cluster state version on update for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682239 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 13:23:48 +00:00
Shalin Shekhar Mangar b74b925950 SOLR-7599: Remove cruft from SolrCloud tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682168 13f79535-47bb-0310-9956-ffa450edef68
2015-05-28 08:29:03 +00:00
Mark Robert Miller 88640a507c SOLR-7361: Slow loading SolrCores should not hold up all other SolrCores that have finished loading from serving requests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682060 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 15:37:29 +00:00
Mark Robert Miller feb1f86d84 SOLR-7590: Finish and improve MDC context logging support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682020 13f79535-47bb-0310-9956-ffa450edef68
2015-05-27 13:33:32 +00:00
Shalin Shekhar Mangar a94d110aa4 SOLR-7595: Allow method chaining for all CollectionAdminRequests in Solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681808 13f79535-47bb-0310-9956-ffa450edef68
2015-05-26 18:33:33 +00:00
Mark Robert Miller a545b66008 SOLR-7589: A few improvements to the ObjectReleaseTracker to make test fail debugging a little easier.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681585 13f79535-47bb-0310-9956-ffa450edef68
2015-05-25 12:42:41 +00:00
Erick Erickson 375899fdbd SOLR-6273: Cross Data Center Replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681186 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 18:58:29 +00:00
Anshum Gupta c243dacfff SOLR-7468: Kerberos plugin for authentication framework. This will enable using Kerberos for authentication in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1681001 13f79535-47bb-0310-9956-ffa450edef68
2015-05-22 06:26:10 +00:00
Timothy Potter 144b4e8f12 SOLR-7333: Make the poll queue time configurable and use knowledge that a batch is being processed to poll efficiently
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680436 13f79535-47bb-0310-9956-ffa450edef68
2015-05-20 01:03:23 +00:00
Gregory Chanan 88941936ca SOLR-7552: Support using ZkCredentialsProvider/ZkACLProvider in custom filter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680120 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 23:11:39 +00:00
Noble Paul aecf45429c SOLR-5132: Added a new collection action MODIFYCOLLECTION
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1680052 13f79535-47bb-0310-9956-ffa450edef68
2015-05-18 16:23:19 +00:00
Yonik Seeley b1b8169c91 SOLR-7553: hll function for hyperloglog
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679876 13f79535-47bb-0310-9956-ffa450edef68
2015-05-17 16:07:33 +00:00
Varun Thacker 73283d1455 SOLR-7541: Removed CollectionsHandler#createNodeIfNotExists. All calls made to this method now call ZkCmdExecutor#ensureExists as they were doing the same thing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679568 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 14:04:31 +00:00
Noble Paul 0ba7aca779 SOLR-7508: SolrParams.toMultiMap() does not handle arrays
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679494 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 05:51:29 +00:00
Noble Paul fba2134157 SOLR-7544: CollectionsHandler refactored to be more modular
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679397 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 16:25:52 +00:00
Joel Bernstein 6503e980c3 SOLR-7377,SOLR-7524:Make Streaming Expressions Java 7 Compatible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679376 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 14:10:34 +00:00
Anshum Gupta acb40f6225 SOLR-7275: Authorization framework for Solr. It defines an interface and a mechanism to create, load and use an Authorization plugin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679316 13f79535-47bb-0310-9956-ffa450edef68
2015-05-14 06:20:04 +00:00
Shawn Heisey b75b546110 SOLR-7243: Return more informative error from CloudSolrServer when available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679099 13f79535-47bb-0310-9956-ffa450edef68
2015-05-12 21:32:14 +00:00
Joel Bernstein e50f4d94c7 SOLR-7377: Streaming Expressions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678743 13f79535-47bb-0310-9956-ffa450edef68
2015-05-11 12:37:18 +00:00
Ramkumar Aiyengar 216fd8d46a SOLR-7514: SolrClient.getByIds fails with ClassCastException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678648 13f79535-47bb-0310-9956-ffa450edef68
2015-05-10 22:25:29 +00:00
Chris M. Hostetter 06ac78ae55 SOLR-6968: New 'cardinality' option for stats.field, uses HyperLogLog to efficiently estimate the cardinality of a field w/bounded RAM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678245 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:58:58 +00:00
Noble Paul ed975f1577 SOLR-6220: use closeable in try block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677635 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 16:46:43 +00:00
Noble Paul 7a771c84a2 SOLR-6220: Rule Based Replica Assignment during collection creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677607 13f79535-47bb-0310-9956-ffa450edef68
2015-05-04 14:40:05 +00:00
Tomas Eduardo Fernandez Lobbe 68ac99b511 SOLR-7406: Add facet.range.method parameter with options 'filter' and 'dv' for range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675706 13f79535-47bb-0310-9956-ffa450edef68
2015-04-23 19:27:34 +00:00
Noble Paul 8c5fcd1ff6 SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1675331 13f79535-47bb-0310-9956-ffa450edef68
2015-04-22 11:12:33 +00:00
Uwe Schindler 5b4fe002ba LUCENE-6420: Use forbidden-apis annotation @SuppressForbidden; cleanup maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674926 13f79535-47bb-0310-9956-ffa450edef68
2015-04-20 15:22:06 +00:00
Shalin Shekhar Mangar e699256bbb SOLR-7381: Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1674593 13f79535-47bb-0310-9956-ffa450edef68
2015-04-19 03:48:22 +00:00
Ryan McKinley 63edfb11c6 Merged revision(s) 1673647 from lucene/dev/branches/branch_5x:
SOLR-7376: Return raw XML or JSON
........


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673649 13f79535-47bb-0310-9956-ffa450edef68
2015-04-15 04:57:39 +00:00
Shalin Shekhar Mangar 382f9e45e0 SOLR-7381: MDC keys are now exposed in thread names automatically so that a thread dump can give hints on what the thread was doing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673469 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 17:03:38 +00:00
Shalin Shekhar Mangar a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +00:00
Yonik Seeley 0c32d78135 SOLR-7110: tests - java7 compilable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673270 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 20:15:53 +00:00
Yonik Seeley a8fa1435ea tests: javabin deserialiation perf test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673265 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 19:59:21 +00:00
Yonik Seeley dedf2be833 SOLR-7110: reformat new code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673161 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 11:39:56 +00:00
Noble Paul 185f8ea2c6 SOLR-7110: Optimize JavaBinCodec to minimize string Object creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673149 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 10:32:04 +00:00
Shalin Shekhar Mangar 2c9ae41b78 SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to all thread pools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673116 13f79535-47bb-0310-9956-ffa450edef68
2015-04-13 06:09:53 +00:00
Mark Robert Miller f3d352501a SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1672201 13f79535-47bb-0310-9956-ffa450edef68
2015-04-08 21:49:21 +00:00
Joel Bernstein 69fdcfe306 SOLR-7352: Synchronize CloudSolrStream EOF Tuple Map
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671547 13f79535-47bb-0310-9956-ffa450edef68
2015-04-06 15:12:44 +00:00
Shai Erera 2d15d935f0 SOLR-7336: Add State enum to Replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671240 13f79535-47bb-0310-9956-ffa450edef68
2015-04-04 07:02:20 +00:00
Noble Paul 9baabd177c SOLR-6615: Refactor code to use String constants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670813 13f79535-47bb-0310-9956-ffa450edef68
2015-04-02 04:08:05 +00:00
Varun Thacker ddfb4d9d00 Fix QueryResponse to deal with the expanded section when using the XMLResponseParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670569 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 06:55:06 +00:00
Shai Erera 208d0c79eb SOLR-7325: Change Slice state into enum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670566 13f79535-47bb-0310-9956-ffa450edef68
2015-04-01 05:42:47 +00:00
Noble Paul 72e8c75c29 SOLR-6924: The config API forcefully refreshes all replicas in the collection to ensure all are
updated

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 16:18:18 +00:00
Joel Bernstein c6a5e65bd5 SOLR-7082: Syntactic sugar for metric gathering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670176 13f79535-47bb-0310-9956-ffa450edef68
2015-03-30 18:56:47 +00:00
Joel Bernstein b51277fecf SOLR-7082: Editing Javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669554 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 12:19:15 +00:00
David Wayne Smiley ef0209189e SOLR-5911: term vector payload support
in schema & TermVectorComponent & LukeRequestHandler

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669492 13f79535-47bb-0310-9956-ffa450edef68
2015-03-27 02:01:38 +00:00
Shai Erera a044b12cf5 SOLR-7298: Fix Collections API SolrJ calls to not add name parameter when not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669426 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 20:18:14 +00:00
Noble Paul ad913e4013 SOLR-7226: Make /query/* jmx/* , requestDispatcher/*, <listener> <initParams> properties in solrconfig.xml editable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669368 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 16:39:14 +00:00
Alan Woodward 377c53e668 SOLR-1387: Add facet.contains and facet.contains.ignoreCase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669335 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 12:22:50 +00:00
Alan Woodward 203bbf504a SOLR-7203: Remove buggy no-op retries in HttpSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669313 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 10:42:22 +00:00
Shai Erera b741482d58 check coll==null in CollectionRef.toString()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669214 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 19:57:05 +00:00
Joel Bernstein e233f14f82 SOLR-7082: Streaming Aggregation for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669164 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 17:17:45 +00:00
Shai Erera d1c5ff0153 add toString() to CollectionRef
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669153 13f79535-47bb-0310-9956-ffa450edef68
2015-03-25 16:44:07 +00:00
Noble Paul f678ac5d9d SOLR-6673: MDC based logging of collection, shard, replica, core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668992 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 21:01:44 +00:00
Chris M. Hostetter 5ac2c238cf SOLR-6350: StatsComponent now supports Percentiles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668922 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 15:33:19 +00:00