Commit Graph

845 Commits

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