Commit Graph

1232 Commits

Author SHA1 Message Date
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
Ramkumar Aiyengar f15330c32d SOLR-7245: Temporary ZK election or connection loss should not stall indexing due to LIR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668274 13f79535-47bb-0310-9956-ffa450edef68
2015-03-21 14:13:17 +00:00
Yonik Seeley 695a0f0af0 SOLR-7217: autodetect POST body for curl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667457 13f79535-47bb-0310-9956-ffa450edef68
2015-03-18 05:56:13 +00:00
Shalin Shekhar Mangar 8d64c08c1a SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Yonik Seeley 3dc5ed33c5 SOLR-7214: JSON Facet API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Shalin Shekhar Mangar 5caf937f26 SOLR-7109: Indexing threads stuck during network partition can put leader into down state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666825 13f79535-47bb-0310-9956-ffa450edef68
2015-03-15 18:40:50 +00:00
Joel Bernstein ce47eee2f4 SOLR-7225: ParallelStream chooses workers incorrectly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665565 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 14:25:53 +00:00
Joel Bernstein 9563a30751 SOLR-7082: Streaming Aggregation for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665391 13f79535-47bb-0310-9956-ffa450edef68
2015-03-10 01:38:57 +00:00
Noble Paul 91de592387 SOLR-7209: cleaned formatting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665342 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 20:23:08 +00:00
Noble Paul 00005759ba SOLR-7209: /update/json/docs carry forward fields from previous records
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665341 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 20:21:48 +00:00
Alan Woodward 4fbb2b36e8 SOLR-7125: Call process() before trying to upload/download configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665254 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 15:01:56 +00:00
Alan Woodward 68d180346a SOLR-7201: HttpSolrClient can handle collection parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665199 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 11:54:45 +00:00
Alan Woodward a8fd826f4a SOLR-4044: CloudSolrClient.connect() can take a timeout parameter to wait for the cluster
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665174 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 10:31:48 +00:00
Alan Woodward a43843701d SOLR-7155: Add optional collection parameter to all SolrClient methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664310 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 11:29:24 +00:00
Alan Woodward 739e9b489d SOLR-7179: Stop using sysprops to configure test jettys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Alan Woodward d7eefdd7a7 SOLR-7151: SolrClient query methods throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Noble Paul 63a6080c82 SOLR-7130: remove the special entry from response after reading, so that tests don't see them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 19:53:17 +00:00
Noble Paul 925ad53f97 SOLR-7130: formatting mistakes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662546 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 19:42:13 +00:00
Alan Woodward 46ede7622e SOLR-7166: Encapsulate JettySolrRunner config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Noble Paul f511424d43 SOLR-7130: Make stale state notification work without failing the requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662439 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 13:04:28 +00:00
Alan Woodward 8e0ce8dd0b SOLR-7158: Fix zk upload on Windows systems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662205 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 12:29:56 +00:00
Alan Woodward 732f9aeecc SOLR-7145: SolrRequest is now parametrized by its response type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662198 13f79535-47bb-0310-9956-ffa450edef68
2015-02-25 11:14:02 +00:00
Alan Woodward 1fdf68d482 SOLR-7125: Don't upload dotfiles
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661506 13f79535-47bb-0310-9956-ffa450edef68
2015-02-22 18:22:40 +00:00
Alan Woodward df3471a1b4 SOLR-7125: Add note to javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660925 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 16:22:06 +00:00
Alan Woodward f013c438ee SOLR-7125: Allow upload and download of configs via CloudSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Erick Erickson 6d68694ce5 SOLR-7032: Clean up tests remnanat of old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 04:11:48 +00:00
Shalin Shekhar Mangar d0a220ed00 SOLR-6956: Log collection name as well as live nodes size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660104 13f79535-47bb-0310-9956-ffa450edef68
2015-02-16 12:54:24 +00:00
Noble Paul 74387f8d68 SOLR-1945: Add support for child docs in DocumentObjectBinder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659845 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 19:04:22 +00:00
Timothy Potter 429588097c SOLR-6832: Queries be served locally rather than being forwarded to another replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1659748 13f79535-47bb-0310-9956-ffa450edef68
2015-02-14 02:37:34 +00:00
Noble Paul 5c6d796fca formatting fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658932 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 11:25:24 +00:00
Tomas Eduardo Fernandez Lobbe 78e1153dcb SOLR-7019: Support changing field key when using interval faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658860 13f79535-47bb-0310-9956-ffa450edef68
2015-02-11 01:42:13 +00:00
David Wayne Smiley ac50da1613 SOLR-7005: New facet.heatmap on spatial RPT fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658614 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 02:31:02 +00:00
Robert Muir 12b30db6ce LUCENE-4797: fix remaining html violations, engage linter in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand 87b7393360 LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Noble Paul 2eaad8e89b SOLR-5890: Delete silently fails if not sent to shard where document was
added

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658486 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:00:25 +00:00
Shalin Shekhar Mangar b3f57c8343 Remove debug printf statements that I had left in accidentally
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657515 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 10:28:24 +00:00
Shalin Shekhar Mangar 118a826378 SOLR-7072: Multiple mlt.fl does not work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657493 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 08:36:11 +00:00
Mark Robert Miller 97e0a1c8ad SOLR-6880: Remove this assert that can fail tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1656090 13f79535-47bb-0310-9956-ffa450edef68
2015-01-30 18:46:49 +00:00
Noble Paul 7121dbc494 SOLR-7059: Using paramset with multi-valued keys leads to a 500. SolrParams need an aray instead of a list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655541 13f79535-47bb-0310-9956-ffa450edef68
2015-01-29 07:40:32 +00:00
Noble Paul a28edac7a9 SOLR-6854 Stale cached state in CloudSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655289 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 13:02:58 +00:00
Alan Woodward 92491f2472 SOLR-6954: Remove deprecated SolrClient.shutdown() method from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655277 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 12:28:18 +00:00
Alan Woodward 3018576b67 SOLR-6954: SolrClient implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Noble Paul 74d54410f9 SOLR-7039 First collection created with stateFormat=2 writes to clusterstate.json also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655032 13f79535-47bb-0310-9956-ffa450edef68
2015-01-27 13:21:24 +00:00
Shalin Shekhar Mangar ff4e2c66e0 SOLR-6449: Add first class support for Real Time Get in Solrj
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654420 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 22:25:34 +00:00
Erick Erickson 7fda449473 SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Noble Paul 8c7f42d6f8 SOLR-6521 use abs() to handle -ve hash
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653921 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 15:55:21 +00:00
Noble Paul 02dfdd3202 SOLR-6521 use murmurhash because hashCode can give -ve val
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653862 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 14:00:40 +00:00
Noble Paul 1eda04b2cf SOLR-6521 CloudSolrServer should synchronize cache cluster state loading
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653822 13f79535-47bb-0310-9956-ffa450edef68
2015-01-22 12:11:57 +00:00
Shalin Shekhar Mangar 0961e4179d SOLR-7014: Collapse identical catch branches in try-catch statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653665 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 21:39:15 +00:00
Alan Woodward 344be1a6b1 SOLR-6976: Remove methods and classes deprecated in 4.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Anshum Gupta 99f0278068 SOLR-7004: Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that is supposed to set the collection action
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653343 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 19:23:47 +00:00
Alan Woodward 7df1a77cc7 SOLR-6840: Fix multicore example tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653073 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 18:43:44 +00:00
Alan Woodward e61cd9654b SOLR-6840: Remove support for old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Mark Robert Miller a6b2647c92 SOLR-6931: We should do a limited retry when using HttpClient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651767 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 18:38:20 +00:00
Noble Paul 71f698c543 SOLR-6937 don't replace periods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651646 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 12:56:41 +00:00
Noble Paul 684c7375d9 SOLR-6937 In schemaless mode ,replace spaces and special characters with underscore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651587 13f79535-47bb-0310-9956-ffa450edef68
2015-01-14 08:02:43 +00:00
Mark Robert Miller 10b501395b SOLR-6880: Remove this assert that can fail various tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651394 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 15:58:35 +00:00
Gregory Chanan a4e089e662 SOLR-6915: SaslZkACLProvider and Kerberos Test Using MiniKdc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651264 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 02:03:58 +00:00
Anshum Gupta 6d7fdf9f3f SOLR-6496: LBHttpSolrClient stops retrying after the timeAllowed threshold is met
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651236 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:52:10 +00:00
David Wayne Smiley 1f2d431273 SOLR-6916: hl.payloads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651076 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 13:30:15 +00:00
Mark Robert Miller b870aed9b9 SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown in tests and regular code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:33:04 +00:00
Mark Robert Miller 1e53aae81b SOLR-6839: Direct routing with CloudSolrServer will ignore the Overwrite document option.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650422 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 23:49:07 +00:00
Mark Robert Miller bba930a5b3 SOLR-6880: Harden ZkStateReader to expect that getCollectionLive may return null as it's contract states.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649945 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 20:53:49 +00:00
Andrzej Bialecki 037b72a00c SOLR-6830 Upgrade Woodstox and StAX.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649857 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 16:15:58 +00:00
Shalin Shekhar Mangar a41b9954d1 SOLR-4839: Upgrade to Jetty 9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649552 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 15:45:58 +00:00
Alan Woodward 4a6d85790a SOLR-6895: Remove SolrServer classes from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648710 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:49:20 +00:00
Alan Woodward ef809a0f10 SOLR-6895: Deprecate SolrServer classes and replace with SolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648697 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:05:48 +00:00
Uwe Schindler 2f429ab914 Fixed a typo in various solrconfig.xml files. This closes #120
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648511 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 11:47:15 +00:00
Anshum Gupta 05e5d89bf7 SOLR-6899: Make CollectionAdminRequest.action setter protected instead of public
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648451 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 00:19:25 +00:00
Anshum Gupta 74e318cabd SOLR-6448: SolrJ support for all Collection API calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648446 13f79535-47bb-0310-9956-ffa450edef68
2014-12-29 23:37:04 +00:00
Erick Erickson 1417ef1f60 SOLR=6691: REBALANCELEADERS needs to change the leader election queue. Going to let this bake in trunk until 5.0 is cut
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647857 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 22:55:36 +00:00
Steven Rowe 975dbe134e LUCENE-6134: fix typos: wether->whether, neccessary->necessary, initalize->initialize, specifed->specified, etc. (thanks Ahmet Arslan\!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647795 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 14:33:59 +00:00
Steven Rowe 2189b7a761 LUCENE-6134: fix typos: it's->its, its->it's, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Anshum Gupta 658c73d6c3 SOLR-6881: Add split.key support for SPLITSHARD via SolrJ.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647462 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 01:30:41 +00:00
Anshum Gupta 73a6fca890 SOLR-1632: Distributed IDF, finally.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647253 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 07:05:34 +00:00
Anshum Gupta bacef57576 SOLR-6523: Provide SolrJ support for specifying stateFormat while creating Collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646558 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 22:27:38 +00:00
Anshum Gupta 82a09ecd3e SOLR-5922: Add support for adding core properties to SolrJ Collection Admin Request calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646350 13f79535-47bb-0310-9956-ffa450edef68
2014-12-17 22:33:39 +00:00
Alan Woodward 010bf8d77d SOLR-6849: RemoteSolrException should report its source host
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645622 13f79535-47bb-0310-9956-ffa450edef68
2014-12-15 11:06:09 +00:00
Erick Erickson 2d93746254 SOLR-6826: fieldType capitalization is not consistent with the rest of case-sensitive field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645349 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 20:49:03 +00:00
Timothy Potter f8da9b85ca SOLR-6773: Remove the multicore example as the DIH and cloud examples illustrate multicore behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644461 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 15:46:35 +00:00
Noble Paul 98b1b7064b SOLR-6633 changing the field name from \_src to \_src\_
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644135 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 18:05:06 +00:00
Chris M. Hostetter 1d57269643 SOLR-6780: Fixed a bug in how default/appends/invariants params were affecting the set of all keys found in the request parameters, resulting in some key=value param pairs being duplicated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642727 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 18:09:56 +00:00
Shalin Shekhar Mangar 83299a07e3 SOLR-6554: Add a ClusterState.copyWith method which accepts a collection directly instead of a map of collections and use it throughout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642466 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 19:24:58 +00:00
Shalin Shekhar Mangar 2b0ecdbf47 SOLR-6554: Speed up overseer operations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642437 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 15:53:11 +00:00
Robert Muir 6c634c2920 LUCENE-6074: symlink jars on unix/os X systems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641236 13f79535-47bb-0310-9956-ffa450edef68
2014-11-23 18:00:11 +00:00
Mark Robert Miller 31e3f8fd89 SOLR-3774: Fix test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640756 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 15:25:42 +00:00
Mark Robert Miller 7cd7552a4b SOLR-6570: Run SolrZkClient session watch asynchronously.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640566 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 14:52:56 +00:00
Noble Paul d32a68961b SOLR-6706
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636900 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 15:41:08 +00:00
Noble Paul 30db71bbde SOLR-6533,SOLR-6654
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636862 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 12:38:06 +00:00
Chris M. Hostetter 7e07a9c578 SOLR-6351: Stats can now be nested under pivot values by adding a 'stats' local param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636772 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 23:09:41 +00:00
Erick Erickson 7702efb849 SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636226 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 01:52:39 +00:00
Timothy Potter 05ad610074 SOLR-3619: Rename 'example' dir to 'server'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635666 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 04:30:52 +00:00
Shalin Shekhar Mangar b422645bde SOLR-6591: ZkStateReader.updateClusterState should refresh cluster state for watched collections
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634554 13f79535-47bb-0310-9956-ffa450edef68
2014-10-27 14:51:08 +00:00
Shalin Shekhar Mangar 08c6f54346 SOLR-6591: Overseer can use stale cluster state and lose updates for collections with stateFormat > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634243 13f79535-47bb-0310-9956-ffa450edef68
2014-10-25 19:20:28 +00:00
Noble Paul 996bf1412b added an asMap() method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634047 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 12:59:58 +00:00
Shalin Shekhar Mangar 232c2ec167 SOLR-6295: Fix child filter query creation to never match parent docs in SolrExampleTests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633679 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 19:00:49 +00:00
Noble Paul de911858d9 SOLR-6633
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633390 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 14:53:04 +00:00
Noble Paul 606901c6d5 SOLR-6632
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632751 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 10:58:29 +00:00
Erick Erickson f1759bc6ad CollectionsAPI call REBALANCELEADERS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632594 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 14:50:14 +00:00
Steven Rowe 38f182593a LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Shalin Shekhar Mangar 22ac7a0bce SOLR-4715: Fixing precommit and removing incorrect javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632164 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 18:50:59 +00:00
Shalin Shekhar Mangar 46bdcca89e SOLR-4715: Add CloudSolrServer constructors which accept a HttpClient instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632049 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 14:09:31 +00:00
Noble Paul 048d0e7bf4 SOLR-6617
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631649 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 07:21:26 +00:00
Shalin Shekhar Mangar 169b0a41cf SOLR-5852: Add CloudSolrServer helper method to connect to a ZK ensemble
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631409 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 14:23:24 +00:00
Gregory Chanan 2da8697230 SOLR-6609: queryParams not respected for single-stream UpdateRequests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630576 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:00:32 +00:00
Shalin Shekhar Mangar d5191d5674 SOLR-6603: LBHttpSolrServer - lazily allocate skipped-zombie-servers list. (This closes #97)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 05:32:06 +00:00
Erick Erickson aa5227c99f SOLR-6513: Add a collectionsAPI call BALANCESLICEUNIQUE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630143 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 15:28:42 +00:00
Tomas Eduardo Fernandez Lobbe 4244b5f82d SOLR-6589: Test is fixed by the commit in SOLR-6590
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629923 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 16:34:49 +00:00
Tomas Eduardo Fernandez Lobbe 74ca91be6c SOLR-6589: Ignoring testExampleConfig until there is a fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629517 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 17:56:14 +00:00
Erick Erickson aa2f8bad25 SOLR-6512: Add a collections API call to add/delete arbitrary properties to a specific replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628773 13f79535-47bb-0310-9956-ffa450edef68
2014-10-01 16:57:49 +00:00
Gregory Chanan d1499bffa3 SOLR-6565: SolrRequest support for query params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627898 13f79535-47bb-0310-9956-ffa450edef68
2014-09-26 22:04:14 +00:00
Anshum Gupta b820bf78f3 SOLR-5986: Add an ExitableDirectoryReader in Lucene and use that to support exiting of long running queries in Solr.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627622 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 19:42:07 +00:00
Gregory Chanan fe0c5d68f5 SOLR-6543: Give HttpSolrServer the ability to send PUT requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627460 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 06:04:05 +00:00
Noble Paul defaa27e69 SOLR-6485
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627340 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 14:47:37 +00:00
Timothy Potter 52a787e311 SOLR-6550: Provide simple mechanism for passing additional metadata / context about a server-side SolrException back to the client-side
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627154 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 20:29:14 +00:00
Noble Paul e096d4ae93 related to the failures seen here SOLR-6347
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627122 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 19:19:57 +00:00
Steven Rowe 07dec8cab8 SOLR-5474 Fix NPE in tests (some more)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626602 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 16:02:00 +00:00
Noble Paul 346e8f52bd SOLR-5474 NPE in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626534 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 07:01:23 +00:00
Erick Erickson e381b67e93 SOLR-6482: Add an onlyIfDown flag for DELETEREPLICA collections API command
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624930 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 03:08:05 +00:00
Robert Muir 3eb66fb19c LUCENE-5945: Full cutover to Path api from java.io.File
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624784 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 21:46:29 +00:00
Noble Paul 3525a56010 SOLR-6514
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624717 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 08:51:39 +00:00
Steven Rowe 125feae224 SOLR-6508: SolrSchemalessExampleTests -> SolrSchemalessExampleTest (removed trailing 's' blocking execution under Ant); example-schemaless solr home is now copied to a temp dir before executing the tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624616 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 19:00:39 +00:00
Noble Paul 7888a43541 split clusterstate.json SOLR-5473, SOLR-5474, SOLR-5810
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624556 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 14:11:17 +00:00
Shalin Shekhar Mangar 34a47e66ca SOLR-6501: Binary Response Writer does not return wildcard fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624370 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 19:40:04 +00:00
Noble Paul db577f5962 SOLR-6457
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622820 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 23:58:10 +00:00
Noble Paul ae797c0e18 SOLR-6457
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622817 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 23:40:05 +00:00
Robert Muir 3604769c3a LUCENE-5906: Use Files.delete everywhere instead of File.delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622506 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 15:56:25 +00:00
Anshum Gupta 7b378be2f8 SOLR-6073: Deprecate helper methods for CollectionsAPI SolrJ calls. Move towards using builder design for the calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622121 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 21:00:31 +00:00
Noble Paul 367df46c7d SOLR-6365: specify appends, defaults, invariants outside of the request handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621414 13f79535-47bb-0310-9956-ffa450edef68
2014-08-30 02:53:26 +00:00
Mark Robert Miller a61a530190 SOLR-4580: Support for protecting content in ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621294 13f79535-47bb-0310-9956-ffa450edef68
2014-08-29 12:30:53 +00:00
Shalin Shekhar Mangar 6f1c5de38f SOLR-6437: Managed schema is not enabled with /update/json and /update/json/docs request handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620768 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 00:37:48 +00:00
Ryan Ernst 2e7acd8f73 LUCENE-5901:Replaced all occurences of LUCENE_CURRENT with LATEST for luceneMatchVersion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620718 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 20:00:51 +00:00
Mark Robert Miller 3f4ae2dafb SOLR-6426: SolrZkClient clean can fail due to a race with children nodes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620245 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 00:03:27 +00:00
Shawn Heisey f695231df7 SOLR-6390: CloudSolrServer constructor improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620146 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 16:08:25 +00:00
Mark Robert Miller bcddb85bca SOLR-6405: Update comment around retry pause padding.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619892 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 18:35:10 +00:00
Mark Robert Miller 9f4144e8e2 SOLR-6405: Remove unnecessary attemptCount > 0 check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619879 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 18:13:21 +00:00
Mark Robert Miller f06d3bf977 SOLR-6405: ZooKeeper calls can easily not be retried enough on ConnectionLoss.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619810 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 14:02:06 +00:00
Mark Robert Miller 277136452a SOLR-6400: SolrCloud tests are not properly testing session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619612 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 22:29:12 +00:00
Mark Robert Miller f25288764a SOLR-5656: Add autoAddReplicas feature for shared file systems.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617919 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 12:32:27 +00:00
Chris M. Hostetter 910d467a93 SOLR-2894: Distributed query support for facet.pivot
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617789 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:23:53 +00:00
James Dyer b5e18c6ccb SOLR-3029: Spellcheck response format changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617572 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 19:40:10 +00:00
Noble Paul f6d0fe58ed SOLR-6304 wildcard fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617424 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:00:55 +00:00
Noble Paul 6caeac6c2c SOLR-6304 JsonLoader should be able to flatten an input JSON to multiple docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617287 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 14:07:38 +00:00
Uwe Schindler 498915a824 SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617218 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 08:07:00 +00:00
Ryan Ernst 872bd9145c LUCENE-5871: Remove Version from IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Tomas Eduardo Fernandez Lobbe ca8dd2347c SOLR-6283: Add support for Interval Faceting in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616628 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 23:27:19 +00:00
Mark Robert Miller 6aeceaeb86 SOLR-6261: Run ZooKeeper watch event callbacks in parallel to the ZooKeeper event thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614244 13f79535-47bb-0310-9956-ffa450edef68
2014-07-29 03:04:35 +00:00
Robert Muir 2080ddc885 LUCENE-5593: speed up javadocs generation in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Erick Erickson 2d1056e06f SOLR-6216: Better faceting for multiple intervals on DV fields. Thanks Tomas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612889 13f79535-47bb-0310-9956-ffa450edef68
2014-07-23 17:43:23 +00:00
Mark Robert Miller f94f4952a7 SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612585 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 15:02:43 +00:00
Steven Rowe a0bc0c3d80 SOLR-6257: More than two "!"-s in a doc ID throws an ArrayIndexOutOfBoundsException when using the composite id router.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611934 13f79535-47bb-0310-9956-ffa450edef68
2014-07-19 17:48:53 +00:00
Timothy Potter e0af29f9e3 SOLR_6136: fix minor issues found by precommit checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610902 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 02:18:38 +00:00
Timothy Potter 14e015dff7 SOLR-6136: Fix spin lock in blockUntilFinished (which eats CPU unnecessarily) using wait/notify and add a unit test for ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610856 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 21:29:01 +00:00
Shalin Shekhar Mangar 7087d374fe SOLR-6245: Socket and Connection configuration are ignored in HttpSolrServer when passing in HttpClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610683 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 13:28:14 +00:00
Shalin Shekhar Mangar 4173acfd04 SOLR-6240: Fix infinite recursion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610035 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:56:57 +00:00
Shalin Shekhar Mangar 92782a07db SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610033 13f79535-47bb-0310-9956-ffa450edef68
2014-07-12 19:55:00 +00:00
Shalin Shekhar Mangar e6ce493374 Added a null check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1608615 13f79535-47bb-0310-9956-ffa450edef68
2014-07-07 21:33:38 +00:00
Noble Paul 2f28cc16e0 reverting SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607587 13f79535-47bb-0310-9956-ffa450edef68
2014-07-03 11:13:35 +00:00
Noble Paul af18eeed89 SOLR-5473 one state.json per collection , SOLR-5474 support for one json per collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607418 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 16:50:32 +00:00
Shalin Shekhar Mangar e15ff59929 SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields and skip GET_FIELDS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607360 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 13:22:14 +00:00
Noble Paul 51412938e5 SOLR-6048 the assert was not really failing the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1602138 13f79535-47bb-0310-9956-ffa450edef68
2014-06-12 12:18:21 +00:00
Shalin Shekhar Mangar 4f09e4d781 SOLR-6146: Close zk before setting interrupt status
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601905 13f79535-47bb-0310-9956-ffa450edef68
2014-06-11 14:20:02 +00:00
Shalin Shekhar Mangar 386d11c563 SOLR-6146: Incorrect configuration such as wrong chroot in zk server address can cause CloudSolrServer to leak resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601621 13f79535-47bb-0310-9956-ffa450edef68
2014-06-10 12:37:41 +00:00
Chris M. Hostetter db538d864c SOLR-5285: Added a new [child ...] DocTransformer for optionally including Block-Join decendent documents inline in the results of a search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1601028 13f79535-47bb-0310-9956-ffa450edef68
2014-06-06 22:44:02 +00:00
Shalin Shekhar Mangar a627b55bcd SOLR-6116: Refactor DocRouter.getDocRouter to accept routerName as a String
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598212 13f79535-47bb-0310-9956-ffa450edef68
2014-05-29 07:26:35 +00:00
Dawid Weiss 4c29d60c62 Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Joel Bernstein 1b9c63fc9d SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1597775 13f79535-47bb-0310-9956-ffa450edef68
2014-05-27 13:19:15 +00:00
Shalin Shekhar Mangar 988df83885 SOLR-6108: Add support for 'addreplica' Collection API in SolrJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596819 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 11:50:31 +00:00
Dawid Weiss cf5a0caeb6 LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Timothy Potter 195317786c SOLR-5468: report replication factor that was achieved for an update request if requested by the client application.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596092 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 23:04:55 +00:00
Anshum Gupta c3692aa73d SOLR-5681: Make the OverseerCollectionProcessor multi-threaded
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596089 13f79535-47bb-0310-9956-ffa450edef68
2014-05-19 22:40:41 +00:00
Timothy Potter eb3beb2d70 SOLR-5495: Hardening recovery scenarios after the leader receives an error trying to forward an update request to a replica.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593312 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 15:48:26 +00:00
Joel Bernstein 50c69361e2 SOLR-6035: CloudSolrServer directUpdate routing should use getCoreUrl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1593174 13f79535-47bb-0310-9956-ffa450edef68
2014-05-08 03:13:25 +00:00
Noble Paul 2ce57608ee revert SOLR-5473 , SOLR-5474
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591253 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 11:24:06 +00:00
Shalin Shekhar Mangar b2a01a6504 SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and StreamingUpdateSolrServer with ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590410 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 16:05:30 +00:00
Steven Rowe 61ed64ed8e SOLR-6006: Separate test and compile scope dependencies in the Solrj ivy.xml file, so that the derived Maven dependencies get filled out properly in the Solrj POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589937 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 06:12:45 +00:00
Mark Robert Miller bbad949644 SOLR-5776: *sigh* Revert this for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588406 13f79535-47bb-0310-9956-ffa450edef68
2014-04-18 02:56:48 +00:00
Mark Robert Miller e2fb46a51e SOLR-5776: Enabled SSL tests can easily exhaust random generator entropy and block.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588388 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 23:20:27 +00:00
Mark Robert Miller 050342b8a4 SOLR-5868: HttpClient should be configured to use ALLOW_ALL_HOSTNAME hostname verifier to simplify SSL setup.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1588312 13f79535-47bb-0310-9956-ffa450edef68
2014-04-17 17:28:01 +00:00
Mark Robert Miller b0cdbe2242 SOLR-5987: Add "collection" to UpdateParams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587918 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 14:24:48 +00:00
Shai Erera 50e53475ef fix javadocs errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587893 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 12:41:06 +00:00
Noble Paul 3cb0a855a0 SOLR-5473: Make one state.json per collection , SOLR-5474: Have a new mode for SolrJ to support stateFormat=2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587834 13f79535-47bb-0310-9956-ffa450edef68
2014-04-16 08:37:26 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Shalin Shekhar Mangar a9e04127df SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1584083 13f79535-47bb-0310-9956-ffa450edef68
2014-04-02 16:31:47 +00:00
Joel Bernstein e081587dea SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583802 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 21:37:05 +00:00
Shalin Shekhar Mangar ca71f2f8d0 SOLR-5880: Fix test failure when n=1. Make it at least 2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583721 13f79535-47bb-0310-9956-ffa450edef68
2014-04-01 15:50:12 +00:00
Uwe Schindler 6750845f9b LUCENE-5560: Followup: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler 2f8192f3c5 LUCENE-5560: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller a44e0a82ba SOLR-5934: LBHttpSolrServer exception handling improvement and small test improvements.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583213 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 22:04:58 +00:00
Mark Robert Miller 6bf76b1015 SOLR-5914: Polish up createTempDir calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Shalin Shekhar Mangar 3944c63ba4 SOLR-5466: A new List collections and cluster status API which clients can use to read collection and shard information instead of reading data directly from ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582734 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 12:54:47 +00:00
Mark Robert Miller 48c5ea550f SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Uwe Schindler 61c6ee3ce8 SOLR-5914: Fix missing close on Reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582549 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 23:49:03 +00:00
Mark Robert Miller 6afdd45556 SOLR-5914: Solr tests should use dataDir for tmp files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Dawid Weiss 688addbd50 Branch for solr5914
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller b7b0643115 SOLR-5914: Cleanup and fix Solr's test cleanup code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Alan Woodward 1dba8a6f6b SOLR-5903: SolrCore implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581360 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 14:46:19 +00:00
Mark Robert Miller 69aee41967 SOLR-5880: Try syncing solrj test solr.xml up with core test solr.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580922 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 17:16:05 +00:00
Alan Woodward 0e8d8fefae SOLR-4478: Allow cores to use configurations specified outside their instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580814 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 10:54:51 +00:00
Mark Robert Miller 7422c1e1ee SOLR-5884: Name executor threads and use execturo shutdown rather than shutdownNow.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580739 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 04:51:53 +00:00
Mark Robert Miller 7095d0178f SOLR-5884: When recovery is cancelled, any call to the leader to wait to see the replica in the right state for recovery should be aborted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580714 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 03:05:04 +00:00
Mark Robert Miller 38e4a746e2 SOLR-5880: Revert last commit - confused the stack trace - instead, @BadApple this test method for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580674 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:30:07 +00:00
Mark Robert Miller c4b14c5863 tests: fix test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580669 13f79535-47bb-0310-9956-ffa450edef68
2014-03-24 00:09:11 +00:00
Mark Robert Miller 76ab559958 SOLR-5874: Unsafe cast in CloudSolrServer's RouteException. Change RouteException to handle Throwable rather than Exception.
SOLR-5899: CloudSolrServer's RouteResponse and RouteException should be publicly accessible.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580550 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 17:46:23 +00:00
Shalin Shekhar Mangar c263c714ce SOLR-5749: A new Overseer status collection API exposes overseer queue sizes, timing statistics, success and error counts and last N failures per operation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1580463 13f79535-47bb-0310-9956-ffa450edef68
2014-03-23 07:22:28 +00:00
Mark Robert Miller 9994f6d7a1 tests: suppress SSL for all SolrExampleTests for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579651 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 15:06:18 +00:00
Noble Paul a2e34dd518 SOLR-5715 CloudSolrServer should choose URLs that match _route_
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579584 13f79535-47bb-0310-9956-ffa450edef68
2014-03-20 10:39:56 +00:00
Mark Robert Miller 1109c1275b SOLR-5883: Many tests do not shutdown SolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Alan Woodward 7e8e19b7c0 SOLR-5858, SOLR-4812: Allow queryparser to be defined for highlight query, and edismax and dismax to be used for this purpose
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578800 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 09:46:48 +00:00
Anshum Gupta 6ea3907374 SOLR-5876: Fix self-calling createCollection(..) function.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1578775 13f79535-47bb-0310-9956-ffa450edef68
2014-03-18 07:28:29 +00:00
Jan Høydahl 2c7fe979af SOLR-5863: Asserts wrong way around in TestSolrXml and a few other classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577539 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 14:04:39 +00:00
Noble Paul b2022c05d0 SOLR-5837 remove .equals from Solr doc objects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577491 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 11:44:40 +00:00
Anshum Gupta 0371c620d3 SOLR-5477: Async execution of OverseerCollectionProcessor tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1577444 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 08:01:18 +00:00
Steven Rowe 979230aca4 SOLR-5653: Create a RestManager to provide REST API endpoints for reconfigurable plugins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576939 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 21:52:49 +00:00
Robert Muir 3b67b17493 LUCENE-5512: remove redundant typing (diamond operator) in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Mark Robert Miller 54e1003047 SOLR-5837: Clean up issue: Add hashCode/equals to SolrDocument, SolrInputDocument and SolrInputField for testing purposes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576004 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 17:10:04 +00:00
Noble Paul 85b7575a86 SOLR-5265 Add backward compatibility tests to JavaBinCodec's format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575932 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 13:02:56 +00:00
Noble Paul babbd07ed1 SOLR-5837 Added .equals method for SolrDocument, SolrInputDocument and SolrInputField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575886 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 10:18:42 +00:00
Erick Erickson 4bfbd583d3 SOLR-5825, Separate http request creation and execution in SolrJ. Thanks Steve.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1575576 13f79535-47bb-0310-9956-ffa450edef68
2014-03-08 17:36:29 +00:00
Mark Robert Miller 3e2a817539 Fix javadoc spelling.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1574577 13f79535-47bb-0310-9956-ffa450edef68
2014-03-05 17:20:36 +00:00
Joel Bernstein f48d27f241 SOLR-5720: Add ExpandComponent to expand results collapsed by the CollapsingQParserPlugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573589 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 15:45:59 +00:00
Mark Robert Miller aba8b8ae3c SOLR-5761: HttpSolrServer has a few fields that can be set via setters but are not volatile.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573442 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:35:45 +00:00
Mark Robert Miller a42db70dec SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when streamDeletes is true that should be tucked into the if statement below it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573438 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 04:22:26 +00:00
Mark Robert Miller 9441f0d4ce SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller 254324f5a6 SOLR-5799: Add assert to new test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573419 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:58:45 +00:00
Mark Robert Miller 57e5bfc8f2 SOLR-5799: Add TestRetryUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573416 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 01:52:13 +00:00
Mark Robert Miller a828f6ff05 SOLR-5799: Fix impl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573401 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 23:09:13 +00:00
Mark Robert Miller 5d7c4f5361 tests: raise zk connect timeout when building zk for tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573257 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 04:40:02 +00:00
Mark Robert Miller f1cddb92ee SOLR-5799: When registering as the leader, if an existing ephemeral registration exists, wait a short time to see if it goes away.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573242 13f79535-47bb-0310-9956-ffa450edef68
2014-03-02 00:27:25 +00:00
Mark Robert Miller baa8987cff SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572974 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 15:44:14 +00:00
Mark Robert Miller d98ee29e8e SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572408 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 02:23:20 +00:00
Mark Robert Miller 4d975ea3a9 tests: some doc improvements around SuppressSSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:34:41 +00:00
Mark Robert Miller f502acd52d SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572275 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 21:38:48 +00:00
Mark Robert Miller 4effc2135b tests: enable test - no JIRA issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572143 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:23:25 +00:00
Mark Robert Miller ff0a6b3450 tests: enable test, supress ssl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572136 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 16:20:47 +00:00
Robert Muir 00e339395e SOLR-5775: disable constantly failing solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572036 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 12:55:22 +00:00
Mark Robert Miller c408c5258e SOLR-5770: All attempts to match a SolrCore with it's state in clusterstate.json should be done with the CoreNodeName.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571349 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 17:04:16 +00:00
Noble Paul 79e9707ce7 SORL-5609 Don't let cores create slices/named replicas , SOLR-5130 addReplica Collections API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571264 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 12:31:30 +00:00
Shalin Shekhar Mangar 55426d5070 SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY stage gets all fields. Requests with fl=id or fl=id,score are now single-pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571152 13f79535-47bb-0310-9956-ffa450edef68
2014-02-24 05:43:23 +00:00
Uwe Schindler 955282775c SOLR-5764: Fix recently added tests to not use absolute paths to load test-files, use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce to not duplicate test resources and fix dependencies among them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570898 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 20:02:13 +00:00
Noble Paul 225459815c SOLR-5762 broke backward compatibility of Javabin format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570793 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 06:19:16 +00:00
Mark Robert Miller 42f445b035 tests: remove this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570001 13f79535-47bb-0310-9956-ffa450edef68
2014-02-20 00:06:21 +00:00
Mark Robert Miller b3044d6a04 SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see the latest aliases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569603 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:58:16 +00:00
Benson Margulies 36b2f2512b LUCENE-5449: Rename _TestUtil to TestUtil.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569597 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 01:38:33 +00:00
Mark Robert Miller c95e1f4969 SOLR-5727: LBHttpSolrServer should only retry on Connection exceptions when sending updates. Affects CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568857 13f79535-47bb-0310-9956-ffa450edef68
2014-02-16 23:29:23 +00:00
Mark Robert Miller 0b023e5236 SOLR-5718: Make LBHttpSolrServer zombie checks non-distrib and non-scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568394 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:47:21 +00:00
Mark Robert Miller 43ab8b9ef2 SOLR-5731: The actual catch and loging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568354 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 17:02:53 +00:00
Mark Robert Miller f8a0cae647 SOLR-5721: ConnectionManager can become stuck in likeExpired.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568337 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 15:36:00 +00:00
Mark Robert Miller 98810d1f54 SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Mark Robert Miller cf3bef28fc SOLR-5649: Clean up some minor ConnectionManager issues.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 21:16:45 +00:00
Noble Paul ce3b4becb4 SOLR-5609 Reverting accidental commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567014 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:55:48 +00:00
Noble Paul 1588fd5f5a SOLR-5476 added testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567012 13f79535-47bb-0310-9956-ffa450edef68
2014-02-11 08:46:07 +00:00
Mark Robert Miller f5a1519069 SOLR-3854: Allows the test harness to perform two-way SSL handshakes, the two-way SSL will now be randomly selected during test runs. Also, cleaned up some of the code by breaking out the SSLConfig into a separate class. Also try and address failing the statics retained check.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566515 13f79535-47bb-0310-9956-ffa450edef68
2014-02-10 06:08:37 +00:00
Mark Robert Miller de6514e214 SOLR-3854: SSL support for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
Shalin Shekhar Mangar e4ed871c5e SOLR-5659: Add test for compositeId ending with a separator char
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565572 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 08:13:47 +00:00
Shalin Shekhar Mangar 459aca19a2 SOLR-5644: SplitShard does not handle not finding a shard leader well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565555 13f79535-47bb-0310-9956-ffa450edef68
2014-02-07 07:03:22 +00:00
Mark Robert Miller fd85c3623b SOLR-5702: Log config name found for collection at info level.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565399 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 19:01:51 +00:00
Shalin Shekhar Mangar 95610a8c58 SOLR-4227: Wrap XML RequestWriter's OutputStreamWriter in a BufferedWriter to avoid frequent converter invocations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565099 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 07:50:17 +00:00
Mark Robert Miller 3b43c10bd1 SOLR-5672: Add logParamsList parameter to support reduced logging. Closes #23.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565072 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 05:08:11 +00:00
Mark Robert Miller 8b4ea8885e SOLR-5678: SolrZkClient should throw a SolrException when connect times out rather than a RuntimeException.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565056 13f79535-47bb-0310-9956-ffa450edef68
2014-02-06 03:01:36 +00:00
Shalin Shekhar Mangar aba50169d0 SOLR-5530: Remove empty throws clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564720 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:59:37 +00:00
Shalin Shekhar Mangar 315263e31f SOLR-5530: Fix forbidden-api-check failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564712 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:41:07 +00:00
Shalin Shekhar Mangar e262c75e81 SOLR-5530: Added a NoOpResponseParser for SolrJ which puts the entire raw response into an entry in the NamedList
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564709 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 11:03:26 +00:00
Noble Paul 732f295c4f SOLR-5610 New Collectio API called CLUSTERPROP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563876 13f79535-47bb-0310-9956-ffa450edef68
2014-02-03 13:16:12 +00:00
Robert Muir 584fda3bdf LUCENE-5410: add fuzzy and near to SimpleQueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563558 13f79535-47bb-0310-9956-ffa450edef68
2014-02-02 02:57:02 +00:00
Shalin Shekhar Mangar 7b7a1b5592 SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563392 13f79535-47bb-0310-9956-ffa450edef68
2014-02-01 11:12:59 +00:00
Mark Robert Miller c0ae2fa0c1 SOLR-5676: SolrCloud updates rejected if talking to secure ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1563189 13f79535-47bb-0310-9956-ffa450edef68
2014-01-31 17:39:03 +00:00
Shalin Shekhar Mangar fa2423a2ec SOLR-5673: HttpSolrServer doesn't set own property correctly in setFollowRedirects
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562898 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 17:16:00 +00:00
Shalin Shekhar Mangar d5a8bdd767 SOLR-5658: Removing System.out.println in JavaBinUpdatedRequestCodec added for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562836 13f79535-47bb-0310-9956-ffa450edef68
2014-01-30 14:20:28 +00:00
Noble Paul 6849fe3286 SOLR-5476 tests were failing earlier
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1562434 13f79535-47bb-0310-9956-ffa450edef68
2014-01-29 13:17:27 +00:00
Mark Robert Miller cb8b1cd32b SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1561497 13f79535-47bb-0310-9956-ffa450edef68
2014-01-26 14:51:55 +00:00
Mark Robert Miller a9670cc6e7 SOLR-5658: commitWithin and overwrite are not being distributed to replicas now that SolrCloud uses javabin to distribute updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1560859 13f79535-47bb-0310-9956-ffa450edef68
2014-01-24 00:53:06 +00:00
Mark Robert Miller 1941777fdc SOLR-5577: Protect against NPE race with close - spotted by Greg Chanan
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559844 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 22:25:44 +00:00
Mark Robert Miller f698963775 SOLR-5643: ConcurrentUpdateSolrServer will sometimes not spawn a new Runner thread even though there are updates in the queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559620 13f79535-47bb-0310-9956-ffa450edef68
2014-01-20 02:59:59 +00:00
Mark Robert Miller 3b5b96a3ef SOLR-5577: Harden leaking Timer thread.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1559587 13f79535-47bb-0310-9956-ffa450edef68
2014-01-19 21:20:58 +00:00
Mark Robert Miller a8b5fe376a SOLR-4260: If in blockUntilFinished and there are no Runners running and the queue is not empty, start a new Runner.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558996 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:36:26 +00:00
Mark Robert Miller 7a85486551 SOLR-4260: Guard against NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558985 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 02:06:31 +00:00
Mark Robert Miller 5cacfe37f7 SOLR-4260: ConcurrentUpdateSolrServer#blockUntilFinished can return before all previously added updates have finished. This could cause distributed updates meant for replicas to be lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558978 13f79535-47bb-0310-9956-ffa450edef68
2014-01-17 01:48:41 +00:00
Noble Paul 359d41adf5 SOLR-5476 Overseer Role for nodes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558760 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 11:25:57 +00:00
Mark Robert Miller cb23c8ba3c SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Mark Robert Miller dd8dd70360 SOLR-5577: timer thread should be run as daemon
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557136 13f79535-47bb-0310-9956-ffa450edef68
2014-01-10 14:42:16 +00:00
Joel Bernstein 23ae54b652 SOLR-5541: Allow QueryElevationComponent to accept elevateIds and excludeIds as http parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556903 13f79535-47bb-0310-9956-ffa450edef68
2014-01-09 18:14:58 +00:00
Mark Robert Miller 4f72365ba2 SOLR-5615: Deadlock while trying to recover after a ZK session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556572 13f79535-47bb-0310-9956-ffa450edef68
2014-01-08 16:35:17 +00:00
Chris M. Hostetter 5efc4132f1 SOLR-5463: new 'cursorMark' request param for deep paging of sorted result sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556036 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 21:15:45 +00:00
Mark Robert Miller 277728236b SOLR-5577: don't start timer thread on expiration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1556002 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 19:55:12 +00:00
Uwe Schindler 2e6b894036 LUCENE-5372: Replace StringBuffer by StringBuilder, where possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555645 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 23:04:09 +00:00
Mark Robert Miller ba5ab6faa7 SOLR-5577: don't start timer thread in constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555610 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 18:49:31 +00:00
Mark Robert Miller e8b46f76a7 SOLR-5577: fix possible race on canceling timer on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555204 13f79535-47bb-0310-9956-ffa450edef68
2014-01-03 19:06:22 +00:00
Mark Robert Miller 9b5c2e254b SOLR-5586: All ZkCmdExecutor's should be initialized with the zk client timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554101 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 23:52:58 +00:00
Mark Robert Miller 3b4a1c2c5f SOLR-5583: ConcurrentUpdateSolrServer#blockUntilFinished may wait forever if the executor service is shutdown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554053 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 18:58:18 +00:00
Mark Robert Miller 419d644f40 SOLR-5577: Don't start a timer on disconnect if we are already closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553981 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 00:14:01 +00:00
Mark Robert Miller 9a5c901fd6 SOLR-5442: Move CHANGES entry to 4.6.1
SOLR-5445: Move CHANGES entry to 4.6.1

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553942 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 22:18:24 +00:00
Mark Robert Miller cd9e1129ec SOLR-5577: Likely ZooKeeper expiration should not slow down updates a given amount, but instead cut off updates after a given time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553912 13f79535-47bb-0310-9956-ffa450edef68
2013-12-28 20:49:13 +00:00
Noble Paul 97d3e2d546 SOLR-5525 use hasCollection()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553095 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 11:44:21 +00:00
Mark Robert Miller e7d67c783b SOLR-5552: Leader recovery process can select the wrong leader if all replicas for a shard are down and trying to recover as well as lose updates that should have been recovered.
SOLR-5569 A replica should not try and recover from a leader until it has published that it is ACTIVE. 
SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster state says no other SolrCore's are active. 

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553031 13f79535-47bb-0310-9956-ffa450edef68
2013-12-22 21:16:52 +00:00
Mark Robert Miller 136a2c7190 SOLR-5562: ConcurrentUpdateSolrServer constructor ignores supplied httpclient.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552691 13f79535-47bb-0310-9956-ffa450edef68
2013-12-20 14:56:07 +00:00
Alan Woodward d22cffebb7 SOLR-5555: CloudSolrServer and LBHttpSolrServer shouldn't throw MUE from constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550824 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 19:47:06 +00:00
Mark Robert Miller 5b0ae51d63 SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest sets the alias name and the collections to alias to the same value.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550548 13f79535-47bb-0310-9956-ffa450edef68
2013-12-12 21:57:39 +00:00
Noble Paul 60a881a00b SOLR-5525
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549552 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 11:22:29 +00:00
Mark Robert Miller c7a3b96893 SOLR-5532: SolrJ Content-Type validation is too strict for some webcontainers / proxies.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548659 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 19:01:03 +00:00