Commit Graph

878 Commits

Author SHA1 Message Date
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