Commit Graph

340 Commits

Author SHA1 Message Date
Chris M. Hostetter 9e767a667d SOLR-4394: Tests and example configs demonstrating SSL with both server and client certs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445971 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 23:04:38 +00:00
Chris M. Hostetter f16037ec2d SOLR-4451: SolrJ, and SolrCloud internals, now use SystemDefaultHttpClient under the covers -- allowing many HTTP connection related properties to be controlled via 'standard' java system properties. (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1445945 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 21:45:57 +00:00
Erick Erickson 1f7f80c697 Document-only fix for SOLR-4404 hopefully clarifying that it's OK to use LBHttpSolrServer in SolrCloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1444316 13f79535-47bb-0310-9956-ffa450edef68
2013-02-09 02:38:00 +00:00
Uwe Schindler ec8e1b9cdd LUCENE-4570: Use the Policeman Forbidden API checker, released separately from Lucene and downloaded via Ivy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1442507 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 09:15:35 +00:00
Mark Robert Miller 529af9a0bb tests: remove these annoying svn sub properties from config files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1440069 13f79535-47bb-0310-9956-ffa450edef68
2013-01-29 19:23:45 +00:00
Erick Erickson 23a338e22e Fix for SOLR-3926, thanks Eirik
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438977 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 22:20:16 +00:00
Erick Erickson 8cf0735393 Improved documentation, thanks Benson!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438891 13f79535-47bb-0310-9956-ffa450edef68
2013-01-26 13:19:37 +00:00
Mark Robert Miller 7d70f6190a SOLR-4043: Add ability to get success/failure responses from Collections API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438550 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 15:14:51 +00:00
Mark Robert Miller d776712255 SOLR-4266: HttpSolrServer does not release connection properly on exception when no response parser is used.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1434109 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 18:56:47 +00:00
Mark Robert Miller c0e1a701b8 SOLR-4308: Remove the problematic and now unnecessary log4j-over-slf4j.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1434020 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 16:24:22 +00:00
Shalin Shekhar Mangar 55484336a6 SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS command can be used to omit index specific information
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432901 13f79535-47bb-0310-9956-ffa450edef68
2013-01-14 12:44:45 +00:00
Robert Muir 735f1dcd3d remove wildcard imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1428910 13f79535-47bb-0310-9956-ffa450edef68
2013-01-04 15:00:44 +00:00
Mark Robert Miller 5065cdebd3 bring back interruptions on executor shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426791 13f79535-47bb-0310-9956-ffa450edef68
2012-12-29 17:42:23 +00:00
Uwe Schindler ba52cd4e03 Revert SOLR-1972
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426230 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 15:48:37 +00:00
Robert Muir 53caac2cc4 hack broken test to not waste hours of jenkins time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1426096 13f79535-47bb-0310-9956-ffa450edef68
2012-12-27 00:48:57 +00:00
Shalin Shekhar Mangar 460dec2c56 SOLR-4133: Cannot "set" field to null with partial updates when using the
standard RequestWriter

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1425448 13f79535-47bb-0310-9956-ffa450edef68
2012-12-23 10:01:08 +00:00
Shalin Shekhar Mangar 6adb14e6af SOLR-4134: Added missing @Test annotation on unit test method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424909 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:12:23 +00:00
Shalin Shekhar Mangar f4547f6a3b SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424906 13f79535-47bb-0310-9956-ffa450edef68
2012-12-21 13:01:08 +00:00
Chris M. Hostetter d34e50995a SOLR-4136: followup: fix getBaseUrlForNodeName to never including trailing slash when using the root context, and harden generateNodeName to not trust the caller as far as leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1424755 13f79535-47bb-0310-9956-ffa450edef68
2012-12-20 23:26:08 +00:00
Mark Robert Miller a8bc1ef02a don't interrupt
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1423748 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 03:22:07 +00:00
Mark Robert Miller f5b5d3e17f SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Mark Robert Miller 679dbf00b9 SOLR-4203: tweak how delete is handled so this test passes on windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422608 13f79535-47bb-0310-9956-ffa450edef68
2012-12-16 16:08:36 +00:00
Mark Robert Miller 307ebd17cb SOLR-4199: When doing zk retries due to connectionloss, rather than just retrying for 2 minutes, retry in proportion to the session timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422391 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 22:23:07 +00:00
Yonik Seeley 43f36a5750 SOLR-2592: add additional level in clusterstate.json for collection properties
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421499 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 20:33:59 +00:00
Mark Robert Miller 59feed03d6 while waiting for solr, retry on exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421085 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 06:52:25 +00:00
Mark Robert Miller 38d16dc7b7 SOLR-4140: Allow access to the collections API through CloudSolrServer without referencing an existing collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421071 13f79535-47bb-0310-9956-ffa450edef68
2012-12-13 03:21:11 +00:00
Chris M. Hostetter 50407282a7 Fix SolrCloud behavior when using "hostContext" containing "_" or"/" characters. This fix also makes SolrCloud more accepting of hostContext values with leading/trailing slashes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420497 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 00:26:09 +00:00
Mark Robert Miller e8d2289a3f SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420362 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:49:29 +00:00
Yonik Seeley 5b04be1195 SOLR-2592: avoid splitting composite router hash domains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420338 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 19:21:12 +00:00
Yonik Seeley c02c9dd262 SOLR-2592: cleanups - remove unneeded range info, rename getLeaderProps to getLeaderRetry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420284 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 17:02:13 +00:00
Mark Robert Miller 0b7e234a69 SOLR-4124: change copyDirectory call to apache util
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420248 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 16:17:45 +00:00
Shai Erera e2f54df3ca fix missing Overrides
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
Mark Robert Miller ef21415d6c SOLR-4124: You should be able to set the update log directory with the CoreAdmin API the same way as the data directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419720 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 20:19:53 +00:00
Yonik Seeley 6f6211d310 SOLR-4118: Fix replicationFactor to align with industry usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419689 13f79535-47bb-0310-9956-ffa450edef68
2012-12-10 19:29:24 +00:00
Yonik Seeley 4a8408ceea SOLR-2592: fix implicit router to return found slice, test querying via shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1419019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 16:54:01 +00:00
Yonik Seeley 7eb16a69a5 SOLR-2592: deleteByQuery routing support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418814 13f79535-47bb-0310-9956-ffa450edef68
2012-12-09 05:09:24 +00:00
Yonik Seeley 6a11fd8db6 SOLR-2592: realtime-get support
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418762 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 22:00:15 +00:00
Yonik Seeley 27e2737ab2 finish removing nocommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418695 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 15:50:58 +00:00
Uwe Schindler 217f8b076b Remove the nocommit failing all Jenkins builds! The Exception message is crazy enough *g*
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418625 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 08:33:16 +00:00
Grant Ingersoll 10bb87d0bf minor tweak to log message to know the event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418428 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 18:44:54 +00:00
Grant Ingersoll a8117d275d minor tweak to log message to know the event
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418427 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 18:44:44 +00:00
Yonik Seeley c82f4f61a6 SOLR-2592: fix composite id router for full-range
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418337 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 14:47:34 +00:00
Yonik Seeley c08e5eaf20 SOLR-2592: fix composite id router slice selection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418116 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 22:36:52 +00:00
Yonik Seeley 5cb909b11f SOLR-2592: fix shifting by 32 bits in compositeId router
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418100 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:51:32 +00:00
Yonik Seeley b81dc76340 SOLR-2592: add hash router tests, fix compositeId bit specification parsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418093 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 21:32:17 +00:00
Yonik Seeley ff17839ed6 SOLR-2592: refactor routers to separate public classes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418043 13f79535-47bb-0310-9956-ffa450edef68
2012-12-06 19:50:30 +00:00
Robert Muir f5fdf9362f null static field for GC in base test class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417545 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 17:29:59 +00:00
Yonik Seeley e34b5ea98e SOLR-2592: delegate query-time shard selection to collection router
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416744 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 02:01:02 +00:00
Yonik Seeley 91a788e871 SOLR-2592: refactor doc routers, use implicit router when implicity creating collection, use collection router to find correct shard when indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416216 13f79535-47bb-0310-9956-ffa450edef68
2012-12-02 18:00:11 +00:00
Yonik Seeley 1cee959d6b SOLR-2592: progress - introduce DocCollection, add properties for collections, add a router collection property, add some builtin routers, rename HashPartitioner to DocRouter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416025 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 17:13:26 +00:00