Han Jiang
92021404d4
LUCENE-5138: remove executable attr from java files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507313 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 13:51:38 +00:00
Alan Woodward
30d15988b3
SOLR-5056: Further cleanup of ConfigSolr API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506020 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 12:53:31 +00:00
Alan Woodward
5a42052fba
SOLR-4914: Factor out core discovery and persistence logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Mark Robert Miller
6455dec1e0
SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Shalin Shekhar Mangar
dcbc79ce15
SOLR-4693: A "deleteshard" collections API that unloads all replicas of a given shard and then removes it from the cluster state. It will remove only those shards which are INACTIVE or have no range (created for custom sharding).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499655 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 05:04:21 +00:00
Alan Woodward
f38c5163cc
SOLR-4948: Tidy up CoreContainer construction logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498990 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:50:49 +00:00
Mark Robert Miller
e6497c1a9a
SOLR-4933: if shard split fails with 500, wait a while to see if it succeeds on a retry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498763 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:10:43 +00:00
Mark Robert Miller
e547a5c03a
SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497582 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:13:52 +00:00
Mark Robert Miller
b9e1537a7e
SOLR-4916: Add support to write and read Solr index files and transaction log files to and from HDFS.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497072 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 20:18:33 +00:00
Alan Woodward
450534ff3a
Revert 1496505
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496564 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 17:59:31 +00:00
Alan Woodward
f47bb580ee
SOLR-4948: Tidy up CoreContainer construction logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1496505 13f79535-47bb-0310-9956-ffa450edef68
2013-06-25 14:55:26 +00:00
Chris M. Hostetter
be9bf006c2
SOLR-4942: test improvements to randomize use of compound files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 06:00:18 +00:00
Mark Robert Miller
6b06ac1026
SOLR-4923: do not test if not sending to leaders first
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493861 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 17:58:07 +00:00
Mark Robert Miller
fc9c0a8f14
SOLR-4923: Commits to non leaders as part of a request that also contain updates can execute out of order.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493779 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 14:31:22 +00:00
Erick Erickson
05eb306423
SOLR-4910, improvements to persisting solr.xml and misc other fixes, see CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1493618 13f79535-47bb-0310-9956-ffa450edef68
2013-06-17 00:33:31 +00:00
Mark Robert Miller
4c57013878
SOLR-4224: Refactor JavaBinCodec input stream definition to enhance reuse.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491459 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:10:27 +00:00
Mark Robert Miller
5c052874e8
SOLR-4899: When reconnecting after ZooKeeper expiration, we need to be willing to wait forever, not just for 30 seconds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491449 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:41:57 +00:00
Chris M. Hostetter
0800ccd3c2
SOLR-4853: Fixed SolrJettyTestBase so it may be reused by end users
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489081 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 17:58:01 +00:00
Shawn Heisey
b4bf678713
SOLR-4228: fix maven test failure
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487602 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 19:21:14 +00:00
Shawn Heisey
a41bfba673
SOLR-4228: Add full ping functionality to SolrPing in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 01:46:19 +00:00
Shawn Heisey
946de09d26
SOLR-4048: improve and clean up findRecursive
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484386 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 07:39:55 +00:00
Shawn Heisey
927308b528
SOLR-4048: add findRecursive method to NamedList
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484135 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:16:18 +00:00
Mark Robert Miller
971fae640f
SOLR-4825: Port SolrLogFormatter to log4j
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483088 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 21:18:57 +00:00
Robert Muir
ca404e3ec0
SOLR-4448: Allow the solr internal load balancer to be more easily pluggable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1482600 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 21:29:52 +00:00
Mark Robert Miller
ce5f508ff5
SOLR-4234: Add support for binary files in ZooKeeper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1481675 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 00:30:25 +00:00
Yonik Seeley
72065147d7
SOLR-4798: use correct router during index splitting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1480383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 18:10:56 +00:00
James Dyer
7141cb35a7
SOLR-3240: add "spellcheck.collateMaxCollectDocs" for estimating collation hit-counts.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1479638 13f79535-47bb-0310-9956-ffa450edef68
2013-05-06 16:49:46 +00:00
Shalin Shekhar Mangar
429a056988
SOLR-4776: Solrj doesn't return 'between' count in range facets
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1477637 13f79535-47bb-0310-9956-ffa450edef68
2013-04-30 14:04:47 +00:00
Mark Robert Miller
79f996a31b
SOLR-4757: Change the example to use the new solr.xml format and core discovery by directory structure.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1476227 13f79535-47bb-0310-9956-ffa450edef68
2013-04-26 14:32:35 +00:00
Ryan McKinley
8795ba0c43
SOLR-4358: HttpSolrServer now supports forcing multipart requests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1469946 13f79535-47bb-0310-9956-ffa450edef68
2013-04-19 16:35:26 +00:00
Chris M. Hostetter
836cb113f1
SOLR-4487: HttpSolrServer now includes the true http status code in SolrExceptions that it throws
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468705 13f79535-47bb-0310-9956-ffa450edef68
2013-04-17 01:24:53 +00:00
Ryan McKinley
5fc7f74c8c
SOLR-4358: reverting sending the name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468680 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 23:31:10 +00:00
Ryan McKinley
4ee9cdff7a
SOLR-4358: HttpSolrServer sends the stream name and exposes useMultiPartPost
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1468571 13f79535-47bb-0310-9956-ffa450edef68
2013-04-16 19:26:12 +00:00
Shalin Shekhar Mangar
873b2308b6
SOLR-3755: A new collections api to add additional shards dynamically by splitting existing shards
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465661 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 15:16:31 +00:00
Mark Robert Miller
e0cd09fe00
SOLR-4667: Our logging configuration files should set ZooKeeper logging to WARN
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465531 13f79535-47bb-0310-9956-ffa450edef68
2013-04-08 02:39:01 +00:00
Robert Muir
609c2f2065
SOLR-4683: add BreakIterator config to PostingsSolrHighlighter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465249 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 14:17:40 +00:00
Robert Muir
57bf443834
SOLR-4675: Improve PostingsHighlighter integration
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465228 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 11:48:47 +00:00
Shalin Shekhar Mangar
9176726895
SOLR-4682: CoreAdminRequest.mergeIndexes can not merge multiple cores or indexDirs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1465196 13f79535-47bb-0310-9956-ffa450edef68
2013-04-06 05:58:18 +00:00
Mark Robert Miller
68a1ca91c5
SOLR-4664: ZkStateReader should update aliases on construction.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1464020 13f79535-47bb-0310-9956-ffa450edef68
2013-04-03 13:58:10 +00:00
Erick Erickson
aefecd26a4
SOLR-4656, additional parameters for limiting work when highlighting multivalued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463543 13f79535-47bb-0310-9956-ffa450edef68
2013-04-02 13:44:58 +00:00
Erick Erickson
932923ee4b
Fix for SOLR-4615, pull solr.properties out prior to deciding on the new mechanism
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463316 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 22:04:32 +00:00
Chris M. Hostetter
3d184a2452
SOLR-4622: deprecate hardcoded hostContext and hostPort defaults
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1463242 13f79535-47bb-0310-9956-ffa450edef68
2013-04-01 18:27:50 +00:00
Mark Robert Miller
b09717828d
SOLR-3706: add example/resources to solrj test classpath - without this, it's not finding a log4j config
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462260 13f79535-47bb-0310-9956-ffa450edef68
2013-03-28 18:56:07 +00:00
Mark Robert Miller
612b179d09
SOLR-3706: Ship setup to log with log4j.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1461587 13f79535-47bb-0310-9956-ffa450edef68
2013-03-27 14:09:38 +00:00
Uwe Schindler
55478afcb7
LUCENE-4808: Undo the workaround for compilation in Java 8, the bug is fixed in b82
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460039 13f79535-47bb-0310-9956-ffa450edef68
2013-03-22 22:41:55 +00:00
Robert Muir
1e656d42c5
SOLR-4606: set the random seed used to shuffle shards within tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457821 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:40:41 +00:00
Mark Robert Miller
dfc1718c4c
SOLR-4597: Because of Windows, we have to wait to delete the data dir after the SolrCore is closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457816 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:36:40 +00:00
Robert Muir
edc777e22e
SOLR-4607: use noggit 0.5 release jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457811 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 15:28:35 +00:00
Uwe Schindler
9a54942863
LUCENE-4747: Fix nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457747 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:07:24 +00:00
Uwe Schindler
6231597974
LUCENE-4747: Move to Java 7 in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
Mark Robert Miller
2d406a50b2
SOLR-4597: Additional work.
...
SOLR-4598: The Core Admin unload command's option 'deleteDataDir', should use the DirectoryFactory API to remove the data dir.
SOLR-4599: CachingDirectoryFactory calls close(Directory) on forceNew if the Directory has a refCnt of 0, but it should call closeDirectory(CacheValueValue).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457556 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 20:41:17 +00:00
Mark Robert Miller
4609e9017f
SOLR-4571: SolrZkClient#setData should return Stat object.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456727 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 00:04:22 +00:00
Mark Robert Miller
a9fd4c7a3f
SOLR-4574: The Collections API will silently return success on an unknown ACTION parameter.
...
SOLR-4576: Collections API validation errors should cause an exception on clients and otherwise act as validation errors with the Core Admin API.
SOLR-4577: The collections API should return responses (success or failure) for each node it attempts to work with.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456683 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 21:01:00 +00:00
Shalin Shekhar Mangar
8f92803353
SOLR-4297: Atomic update request containing null=true sets all subsequent fields to null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1456322 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 04:56:45 +00:00
Mark Robert Miller
c04f1ba800
SOLR-4566: revert
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455943 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 14:00:32 +00:00
Mark Robert Miller
ccb85cd5cd
SOLR-4566: Fix DocCollection to return all shards not just active shards.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455911 13f79535-47bb-0310-9956-ffa450edef68
2013-03-13 12:45:22 +00:00
Mark Robert Miller
a0ef70931c
SOLR-4554: There are some test fails because of a wait loop that causes lingering threads.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1454932 13f79535-47bb-0310-9956-ffa450edef68
2013-03-10 22:19:48 +00:00
Mark Robert Miller
09f4fa2191
SOLR-4497: Collection Aliasing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453687 13f79535-47bb-0310-9956-ffa450edef68
2013-03-07 05:52:23 +00:00
Robert Muir
fa0094035d
SOLR-4523: Show if fields have docvalues or highlighting offsets in admin UI
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451970 13f79535-47bb-0310-9956-ffa450edef68
2013-03-03 01:04:47 +00:00
Uwe Schindler
202d3af9d0
LUCENE-4808: Add workaround for a JDK 8 "class library bug" which is still under discussion and may *not* be fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1451584 13f79535-47bb-0310-9956-ffa450edef68
2013-03-01 13:12:16 +00:00
Mark Robert Miller
8f5a7b1232
cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450795 13f79535-47bb-0310-9956-ffa450edef68
2013-02-27 15:02:36 +00:00
Mark Robert Miller
d0d2ff9209
SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port combination can take over for a previous shard.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1450012 13f79535-47bb-0310-9956-ffa450edef68
2013-02-26 04:09:52 +00:00
Chris M. Hostetter
881c0b21eb
SOLR-4394: phase 2, promoted SSL randomization logic up to SolrJettyTestBase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447885 13f79535-47bb-0310-9956-ffa450edef68
2013-02-19 19:52:16 +00:00
Shalin Shekhar Mangar
be3ee82ece
SOLR-4414: Add 'state' to shards (default to 'active') and read/write them to ZooKeeper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1447336 13f79535-47bb-0310-9956-ffa450edef68
2013-02-18 15:41:40 +00:00
Mark Robert Miller
902e34af55
tests: improve some cloud tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446935 13f79535-47bb-0310-9956-ffa450edef68
2013-02-16 20:21:33 +00:00
Steven Rowe
e0454efd7c
SOLR-4462: downgraded Solrj httpcore dependency from 4.2.3 to 4.2.2, and added comments to solrj/ivy.xml describing versioning for httpcomponents httpmime and httpcore, based on httpclient version
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1446713 13f79535-47bb-0310-9956-ffa450edef68
2013-02-15 18:09:13 +00:00
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
Mark Robert Miller
672eeff8d2
SOLR-4087: Add MAX_DOC_FREQ option to MoreLikeThis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414841 13f79535-47bb-0310-9956-ffa450edef68
2012-11-28 17:53:06 +00:00
Mark Robert Miller
617028b3c1
avoid possible logging npe in race
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411932 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 23:50:39 +00:00
Mark Robert Miller
dad188820e
SOLR-3602: Update ZooKeeper to 3.4.5
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411527 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 03:36:14 +00:00
Mark Robert Miller
27181e53a0
* SOLR-4003: The SolrZKClient clean method should not try and clear zk paths that start with /zookeeper, as this can fail and stop the removal of further nodes. (Mark Miller)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408831 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 16:56:27 +00:00
Yonik Seeley
8d047adbb9
SOLR-3989: SolrZkClient constructor dropped exception cause when throwing a new RuntimeException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408510 13f79535-47bb-0310-9956-ffa450edef68
2012-11-13 00:03:58 +00:00
Mark Robert Miller
f902314d74
SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster restart, leader election would stall until timeout, waiting to see all of the replicas come up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408313 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 15:10:47 +00:00
Mark Robert Miller
267df1a190
SOLR-4067: ZkStateReader#getLeaderProps should not return props for a leader that it does not think is live.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408305 13f79535-47bb-0310-9956-ffa450edef68
2012-11-12 14:37:12 +00:00
Mark Robert Miller
e92475e10e
SOLR-4063: Allow CoreContainer to load multiple SolrCores in parallel rather than just serially.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1408088 13f79535-47bb-0310-9956-ffa450edef68
2012-11-11 19:18:03 +00:00
Robert Muir
25eab66662
try to fix the worst of the class summaries so that the first sentence is parsed correctly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406454 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 04:29:25 +00:00
Chris M. Hostetter
b6db7c76f1
SOLR-3904: progress adding package.html files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1406204 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 16:17:50 +00:00
James Dyer
3ea6657976
SOLR-4019: Log 503 stack traces unless from PingRequestHandler. Suppress logging some stack traces with ShowFileRequestHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1405893 13f79535-47bb-0310-9956-ffa450edef68
2012-11-05 17:39:30 +00:00
Chris M. Hostetter
fcee466184
More tests, written to try and demonstrate SOLR-4020
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404318 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 19:51:03 +00:00
Alan Woodward
85f92b37f3
SOLR-1972: Ignore metrics threads in JettyWebappTest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1404171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-31 14:34:42 +00:00
Alan Woodward
228ad7f439
SOLR-1972: Ignore metrics threads in SolrJ tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403667 13f79535-47bb-0310-9956-ffa450edef68
2012-10-30 11:19:32 +00:00
Alan Woodward
dac9a06854
SOLR-4004: Improve Javadoc for SolrPing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403109 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 22:08:09 +00:00
Mark Robert Miller
245133a3bd
raise test timeout
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1403033 13f79535-47bb-0310-9956-ffa450edef68
2012-10-28 16:13:30 +00:00
Mark Robert Miller
42f27adc1a
SOLR-3911: Make Directory and DirectoryFactory first class so that the majority of Solr's features work with any custom implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402613 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 18:38:59 +00:00
Mark Robert Miller
80b39a3ba7
SOLR-3995: Recovery may never finish on SolrCore shutdown if the last reference to a SolrCore is closed by the recovery process
...
SOLR-3994:Create more extensive tests around unloading cores.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402393 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 05:18:51 +00:00
Mark Robert Miller
a74ae3ab2a
remove sys out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402368 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 01:26:40 +00:00
Mark Robert Miller
1233f3611f
SOLR-3920: Fix server list caching in CloudSolrServer when using more than one collection list with the same instance.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1402360 13f79535-47bb-0310-9956-ffa450edef68
2012-10-26 00:30:03 +00:00
Mark Robert Miller
e1b693ddb2
SOLR-3933: Distributed commits are not guaranteed to be ordered within a request.
...
SOLR-3939: An empty or just replicated index cannot become the leader of a shard after a leader goes down.
SOLR-3971: A collection that is created with numShards=1 turns into a numShards=2 collection after starting up a second core and not specifying numShards.
SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1401798 13f79535-47bb-0310-9956-ffa450edef68
2012-10-24 17:52:15 +00:00
Dawid Weiss
53fd5c850d
Clean up fields after each test, static->instance scope.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1394382 13f79535-47bb-0310-9956-ffa450edef68
2012-10-05 06:51:59 +00:00
Chris M. Hostetter
8fbb2b627e
SOLR-3903: Fixed MissingFormatArgumentException in ConcurrentUpdateSolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393794 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 22:07:09 +00:00
Yonik Seeley
c98f935688
SOLR-3897: hl.preserveMulti to preserve all multiValued field values when highlighting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1393171 13f79535-47bb-0310-9956-ffa450edef68
2012-10-02 20:45:54 +00:00
David Wayne Smiley
15076ecf28
SOLR-2255 local-param support for pivot faceting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389680 13f79535-47bb-0310-9956-ffa450edef68
2012-09-25 01:56:33 +00:00
Uwe Schindler
c08962374e
LUCENE-4409: Improve ECJ-Linter (permgen, taskname) + fix whitespace bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389491 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 17:25:14 +00:00
Robert Muir
798fd49a76
LUCENE-4409: implement javadocs linting with eclipse ecj compiler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389188 13f79535-47bb-0310-9956-ffa450edef68
2012-09-24 02:56:46 +00:00
Robert Muir
f025322f81
fix all malformed javadocs (@code/deprecated/param/returns/throws with no args)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1389133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-23 19:54:23 +00:00
Uwe Schindler
37413e4ede
SOLR-3733: Fix NPE, now it seems to work - sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388150 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 18:13:28 +00:00
Uwe Schindler
be1dcd3b84
SOLR-3733: make field final...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388134 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:46:24 +00:00
Uwe Schindler
d8b3452432
SOLR-3733: More improvements: don't hang on the died threads until forever...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388133 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:41 +00:00
Robert Muir
024e22c873
fix broken links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388131 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:44:07 +00:00
Uwe Schindler
7071771000
SOLR-3733: fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388124 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:32:26 +00:00
Uwe Schindler
39757948fe
SOLR-3733: Fix crazy zookeeper test-only stuff by reflection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388122 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 17:31:19 +00:00
Robert Muir
8b6c905e7c
SOLR-3733: nuke this o.a.zookeeper package, Uwe your turn
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388105 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:32:14 +00:00
Robert Muir
2aa725773f
SOLR-3733: add links (some broken ones in documentation-lint still, but in general working)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388094 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 16:15:10 +00:00
Uwe Schindler
7405b9772b
SOLR-3733: First version of patch (without Robert's changes)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr3733@1388082 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 15:37:42 +00:00
Chris M. Hostetter
52d9fdb780
SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387824 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:57 +00:00
Robert Muir
c529308734
fix javadocs bugs found by my IDE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387823 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 00:17:50 +00:00
Yonik Seeley
9be371a198
SOLR-3815: preserve shard properties
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387747 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 20:42:04 +00:00
Yonik Seeley
7ae776e2d1
SOLR-3815: fix overseer.setShardLeader to not modify existing state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387354 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 20:48:09 +00:00
Erick Erickson
580b53efdd
Fixes for SOLR-3846 (very long tests on OS X for TestReplicationHandler)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1387099 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 11:40:13 +00:00
Yonik Seeley
8c5fc86a38
SOLR-3815: change clusterstate structure to add properties to slices
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386858 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 21:40:51 +00:00
Erick Erickson
ded01621a4
Fix for LUCENE-4362, ban tabs-indent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1386681 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 16:01:56 +00:00
Mark Robert Miller
f0185fb9d5
SOLR-3833: When a election is started because a leader went down, the new leader candidate should decline if the last state they published was not active.
...
SOLR-3836: When doing peer sync, we should only count sync attempts that cannot reach the given host as success when the candidate leader is syncing with the replicas - not when replicas are syncing to the leader.
SOLR-3835: In our leader election algorithm, if on connection loss we found we did not create our election node, we should retry, not throw an exception.
SOLR-3834: A new leader on cluster startup should also run the leader sync process in case there was a bad cluster shutdown.
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process - or if they all do not come up, N amount of time.
SOLR-3756: If we are elected the leader of a shard, but we fail to publish this for any reason, we should clean up and re trigger a leader election.
SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to shard inconsistency.
SOLR-3813: When a new leader syncs, we need to ask all shards to sync back, not just those that are active.
SOLR-3807: Currently during recovery we pause for a number of seconds after waiting for the leader to see a recovering state so that any previous updates will have finished before our commit on the leader - we don't need this wait for peersync.
SOLR-3837: When a leader is elected and asks replicas to sync back to him and that fails, we should ask those nodes to recovery asynchronously rather than synchronously.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1384923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 21:05:15 +00:00
Chris M. Hostetter
ee1e747c29
SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed by Collections passed in to setValue/setField, and defensively copy values from Collections passed to addValue/addField
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1383520 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 18:38:45 +00:00
Robert Muir
6d0060a45f
fix broken javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382777 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:59:27 +00:00
Yonik Seeley
b34c9a9683
SOLR-3815: separate ZkNodeProps from Replica, change properties from String values to Object values
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1382621 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 02:14:50 +00:00
Robert Muir
8eb52eb9ab
SOLR-3686: clean this up for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381835 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:59:22 +00:00
Robert Muir
8a72b10926
SOLR-3686: compile solrj/src/java only with its correct dependencies (tests still have the same classpath as before)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381834 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 00:57:24 +00:00
Robert Muir
ddda1b6089
SOLR-3686: fix solr/core and solr/solrj not to share a lib directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381792 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:47:01 +00:00
Steven Rowe
d3383239f8
LUCENE-4365: split maven modules into main/test sub-modules for the four modules with cyclic dependencies on the Lucene or Solr test-framework modules: lucene-core, lucene-codecs, solr-core, and solr-solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1381779 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 22:17:03 +00:00
Mark Robert Miller
678e35aa58
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380974 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 04:03:55 +00:00
Mark Robert Miller
278200cfaa
SOLR-3772,SOLR-3750: make optional, wait time configurable, default to off
...
SOLR-3782: A leader going down while updates are coming in can cause shard inconsistency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380299 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 17:14:25 +00:00
Yonik Seeley
7af7d1de48
SOLR-3755: shard splitting - create cores, use writers from cores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1380287 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 16:36:20 +00:00
Yonik Seeley
7754d1d105
SOLR-3755: basic shard splitting code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379195 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 22:31:56 +00:00
Mark Robert Miller
2fdd58398a
SOLR-3750: On session expiration, we should explicitly wait some time before running the leader sync process so that we are sure every node participates.
...
SOLR-3772: On cluster startup, we should wait until we see all registered replicas before running the leader process or if they all do not come up, N amount of time.
SOLR-3752: When a leader goes down, have the Overseer clear the leader state in cluster.json
SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure the local state matches what we can tell the request expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1379002 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 16:23:16 +00:00
Mark Robert Miller
e31ddf3554
use sendToLeaders rather than replicas != null to determine if we add repicas to end of the list
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378922 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:18:29 +00:00
Sami Siren
ae43103d15
reuse existing code, baseUrl and coreName can no longer be null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378512 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 12:06:03 +00:00
Sami Siren
fdc313d3bc
fix test, remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1378458 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 06:58:38 +00:00
Sami Siren
96767652d7
SOLR-3726 allow more flexibility in configuring solr http clients
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374964 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 10:32:52 +00:00
Yonik Seeley
84a8768b5d
SOLR-3715: fix FastOutputStream, FastWriter when buffer sizes can change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374480 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 00:15:04 +00:00
Uwe Schindler
5a940c12d8
Don't use IOUtils in SolrJ! Sorry, hope maven build did not start in this time frame *g*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374079 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:57:13 +00:00
Uwe Schindler
00167f1514
Fix bug in test by using a local file instead of HTTP URL. Also fix unclosed file in FileStream.getContentType(), remove dead code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374072 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 21:50:41 +00:00
Uwe Schindler
a59f38a03a
Better verbosity, also fix bug in while loop with char==0.
...
I have one explanation for this: Maybe Apaches SVN server returns something (like error message) that's not UTF8?
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1374022 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:53:45 +00:00
Robert Muir
2a83b58506
use assertEquals so we will see whats going on when this fails
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1373994 13f79535-47bb-0310-9956-ffa450edef68
2012-08-16 19:24:31 +00:00
Mark Robert Miller
d4b66af3b3
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372701 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 01:31:27 +00:00
Mark Robert Miller
2c31ae30e5
SOLR-3727: improve solrcloud close/shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372626 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 21:22:08 +00:00
Sami Siren
1d27c0364b
SOLR-3649: fix bug in JavabinLoader that caused deleteById(List<String> ids) to not work in SolrJ
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372346 13f79535-47bb-0310-9956-ffa450edef68
2012-08-13 09:56:33 +00:00
Dawid Weiss
cebfa0b9b9
LUCENE-3985: Upgrade to randomizedtesting 2.0.0. Added support for thread leak detection. Added support for suite timeouts. (Dawid Weiss)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1372068 13f79535-47bb-0310-9956-ffa450edef68
2012-08-12 11:23:11 +00:00
Yonik Seeley
932901bb01
SOLR-3715: remove sync around tlog serialization
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371379 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 18:53:19 +00:00
Mark Robert Miller
e528549a3b
still favor leaders with CloudSolrServer, but also fall back to replicas after leaders
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1370864 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Mark Robert Miller
fec289ee99
SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by default.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 22:03:42 +00:00
Mark Robert Miller
238c4274b6
SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each request.
...
SOLR-3708: Add hashcode to ClusterState so that structures built based on the ClusterState can be easily cached.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369465 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:22:45 +00:00
Mark Robert Miller
de3d41432c
rename CloudState to ClusterState
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369396 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 18:32:33 +00:00
Mark Robert Miller
7add2f7c62
LUCENE-3985: add close methods to Overseer and ConnectionManager and use them
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369236 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 22:34:08 +00:00
Mark Robert Miller
66dac680fe
assume that sometimes the zk state can be stale vs our watcher based state when checking our state matches zk state
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369189 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 20:03:16 +00:00
Mark Robert Miller
45030e76eb
SOLR-3639: Update ZooKeeper to 3.3.6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1369025 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 15:22:17 +00:00
Yonik Seeley
e397d26dea
SOLR-3154: add murmurhash3 that can work directly on a string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367800 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 22:08:32 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
Mark Robert Miller
6578d7f512
SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Mark Robert Miller
b1fb39754b
don't treat 404 special and lost the http response code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363330 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:49:55 +00:00
Mark Robert Miller
24dae70408
SOLR-3639: Update ZooKeeper to 3.3.5 for a variety of bug fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:26:47 +00:00
Mark Robert Miller
83e07fec09
SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller
e7d1278836
Add reload command to collections api - also improve tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Mark Robert Miller
46021d4575
SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
...
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir
33e06a219d
LUCENE-4199: dont use ioutils here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:15:52 +00:00
Robert Muir
aa13466422
LUCENE-4199: disallow deprecated jdk methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Robert Muir
123b645157
LUCENE-4199: fix remaining violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir
46cb8b9780
LUCENE-4199: fix more default locale/charset violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00
Robert Muir
9df919c5ba
LUCENE-4199: fix more charset/locale usages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Robert Muir
b6a4748f21
make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Michael McCandless
fccd1be5e7
escape javadoc generics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356522 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 23:43:49 +00:00
Robert Muir
ea4d4cf670
remove no-arg @return
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356469 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:28:43 +00:00
Mark Robert Miller
38fc03163a
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356435 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:43:52 +00:00
Mark Robert Miller
3bbbd0bea3
SOLR-3488: Added a Collection management API for SolrCloud.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1356313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 15:57:12 +00:00
Dawid Weiss
51c387731b
LUCENE-4181: Change the semantics of @Slow on tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355310 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 10:55:26 +00:00
Steven Rowe
fd16190940
LUCENE-4172: clean up redundant throws clauses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355069 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 16:39:25 +00:00
Mark Robert Miller
306081e328
SOLR-3582: Our ZooKeeper watchers respond to session events as if they are change events, creating undesirable side effects.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1355004 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 13:23:49 +00:00
Mark Robert Miller
1fc4347e41
SOLR-1770: Move the default core instance directory into a collection1 folder
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1354308 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 01:48:00 +00:00
Sami Siren
0cf9ac0833
SOLR-3558 change SnapPuller to use solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1353889 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 09:28:03 +00:00
Jan Høydahl
59313cd115
SOLR-3351: eDismax: ps2 and ps3 params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1352726 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 23:40:05 +00:00
David Wayne Smiley
f12b94ab86
SOLR-3313 Rename Query Type to Request Handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351932 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:23:07 +00:00
David Wayne Smiley
96d5d8e481
SOLR-2724 deprecate DefaultSearchField and defaultOperator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1351931 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 04:17:04 +00:00
Sami Siren
a440c1c1ad
SOLR-139 add solrj test that exercises field update and optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350464 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 05:33:30 +00:00
Sami Siren
53a1ce8d69
SOLR-3543 do not catch exceptions in JavaBinLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350199 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 11:37:42 +00:00
Robert Muir
6c459114c3
check that response code is 200 before comparing bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349979 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 18:22:40 +00:00
Sami Siren
7fe65fcbb8
SOLR-3540 set data dir for core0 so that tests don't clash
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349671 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:58:34 +00:00
Sami Siren
34082f1a44
SOLR-3541 add missing solrj dependencies to binary package
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349664 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 07:41:41 +00:00
Sami Siren
40c18680ab
SOLR-3532 add shutdown to SolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1349127 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 05:45:09 +00:00
Chris M. Hostetter
2ac3eb27c4
LUCENE-3949: fix license headers to not be javadoc style comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348980 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:26:18 +00:00
James Dyer
b232abb645
SOLR-3211: Allow parameter overrides when testing spellcheck collations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348936 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 17:17:04 +00:00
Erik Hatcher
680bc18340
Fix typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1348924 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 16:04:43 +00:00
Sami Siren
35c2cfdab4
SOLR-3511 refactor Overseer to use a queue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1347880 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 05:21:28 +00:00
Sami Siren
7eeef73f10
improve javadocs, remove unused constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346785 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 08:46:42 +00:00
James Dyer
ce20e7b133
SOLR-2993: fix test failures (SOLR-2993-fixes.patch)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346489 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 17:44:02 +00:00
Tommaso Teofili
71ccfc3a15
[SOLR-3464] - fixing javadoc for commit with softCommit parameter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346419 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 15:21:23 +00:00
James Dyer
c70cb208fa
SOLR-2993: ignore test (temp.)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346208 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 01:07:58 +00:00
James Dyer
848a7cc01b
SOLR-2993: revert r1346116
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346168 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 21:33:36 +00:00
James Dyer
050f6c7a3c
SOLR-2993: fix (2) for fail on TestSpellCheckResponse: ConjunctionSolrSpellChecker was not preserving original Token Freqs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346116 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 19:48:26 +00:00
James Dyer
649dfb6e79
SOLR-2993: fix (1) for fail on TestSpellCheckResponse
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1346088 13f79535-47bb-0310-9956-ffa450edef68
2012-06-04 19:01:31 +00:00
Sami Siren
872f71e0d9
SOLR-3480: move httpclient details into a utility class, improve javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1343690 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 12:01:24 +00:00
Sami Siren
fc48a07bfb
SOLR-3487: handle named lists in xml response
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1342553 13f79535-47bb-0310-9956-ffa450edef68
2012-05-25 09:57:46 +00:00
James Dyer
ec1649300c
SOLR-2585: Context-Sensitive Spelling Suggestions & Collations (spellcheck.alternativeTermCount & spellcheck.maxResultsForSuggest)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341894 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 15:27:29 +00:00
Tommaso Teofili
8c037c2115
[SOLR-3464] - added softCommit option to SolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1341658 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 22:00:08 +00:00
Dawid Weiss
4652d65f0b
LUCENE-4047: Cleanup of LuceneTestCase: moved blocks of initialization/ cleanup code into JUnit instance and class rules.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 18:47:45 +00:00
Yonik Seeley
9d70bf609b
SOLR-2824: parse query in fromCore for cross-core join
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1338231 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 14:46:01 +00:00
Yonik Seeley
015d8601c8
SOLR-2824: don't rewrite join subquery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1337955 13f79535-47bb-0310-9956-ffa450edef68
2012-05-13 18:08:28 +00:00
Ryan McKinley
800f5a54a6
SOLR-2857: add UpdateRequestHandler that handles xml,csv,json, and javabin
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335768 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 21:06:10 +00:00
Yonik Seeley
e35df0b58f
SOLR-139 SOLR-3178 : Updateable documents, optimistic locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1335642 13f79535-47bb-0310-9956-ffa450edef68
2012-05-08 17:00:33 +00:00
Christopher John Male
1538ebb339
LUCENE-2510: Moved deprecated ResourceLoader into solr-core to remove solrj dependency on lucene
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1334277 13f79535-47bb-0310-9956-ffa450edef68
2012-05-05 00:41:16 +00:00
Christopher John Male
a8beeff4e9
tidied some spelling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333753 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 03:44:55 +00:00
Christopher John Male
5898dc5a83
LUCENE-2510: Added bw compat support for ResourceLoader/Aware
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1333751 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 03:31:50 +00:00
Christopher John Male
d8898b662d
LUCENE-2510: Moved ResourceLoader/Aware into analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1332037 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 01:34:48 +00:00
Sami Siren
efcd62f311
SOLR-2020: use echoParams, remove SOP
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1331286 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 08:09:58 +00:00
Sami Siren
fcfa443d3c
SOLR-2020: fix another bug with param encoding with multipart request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330803 13f79535-47bb-0310-9956-ffa450edef68
2012-04-26 12:17:58 +00:00
Ryan McKinley
14560553b4
SOLR-3413: support multiple copies in return fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1330568 13f79535-47bb-0310-9956-ffa450edef68
2012-04-25 21:26:51 +00:00
Chris M. Hostetter
d2875edd99
SOLR-2690: New support for a "TZ" request param which overrides the TimeZone used when rounding Dates in DateMath expressions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329837 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:35:41 +00:00
Tommaso Teofili
b3241a23b3
[SOLR-3396] - avoid NPEs on appendMap method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329640 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 11:18:59 +00:00
Robert Muir
ab3f63d279
LUCENE-4011: fix most broken links in solr javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329235 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:44:03 +00:00
Robert Muir
6f0b19c7a7
fix HTML escaping in solrj javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329049 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 03:08:19 +00:00
Christopher John Male
a17404983b
LUCENE-4011: Fixed broken javadoc links in solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1329023 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 01:55:02 +00:00
Ryan McKinley
a583705403
SOLR-2020: don't send a null mime-type
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328539 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 23:44:30 +00:00
Ryan McKinley
728bf1a914
SOLR-2020: fix FormBodyPart - The 2nd param is the contentType, not the name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328536 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 22:41:43 +00:00
Sami Siren
e15f553903
SOLR-3380: add some more basic testing for HttpSolrServer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328332 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 11:39:35 +00:00
Sami Siren
5a61a06a4a
SOLR-2755: verify that passed parameters work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327838 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 06:16:46 +00:00
Sami Siren
85bb7984b7
SOLR-3139: remove sop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327836 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 06:01:34 +00:00
Sami Siren
fe98ebf7ec
SOLR-2020: restore internals to be much more like they used to be
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327635 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 19:19:20 +00:00
Sami Siren
0daa4b0aac
SOLR-3341: add more javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1327053 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 12:03:20 +00:00
Christopher John Male
a4cbd8a605
SOLR-3357: Added expected Class type to ResourceLoader.newInstance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326879 13f79535-47bb-0310-9956-ffa450edef68
2012-04-17 02:03:05 +00:00
Dawid Weiss
cf85aab1a0
LUCENE-3808: Switch LuceneTestCaseRunner to RandomizedRunner. Enforce Random sharing contracts. Enforce thread leaks.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1326351 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 14:41:44 +00:00
Sami Siren
91b6b379cd
SOLR-3139: send UpdateRequest.getParams() as HTTP request params
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325884 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 18:04:16 +00:00
Christopher John Male
649cad2a75
SOLR-3343: Moved non-shared utils out of solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1325094 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 01:32:29 +00:00
Ryan McKinley
e240c0f0fb
remove old javadoc comment (it is already in common)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1324899 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 18:08:23 +00:00
Chris M. Hostetter
bc700fa5aa
SOLR-3302: Upgraded SLF4j to version 1.6.4 (hossman)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1311558 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 02:34:24 +00:00
Steven Rowe
bb59b83358
LUCENE-3959: remove all @author tags from Lucene/Solr sources
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310622 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 22:29:35 +00:00
Ryan McKinley
81ddd8cbe2
SOLR-3329: Dropping getSourceID() from SolrInfoMBean and most of the svn:keywords
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1310219 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 08:13:15 +00:00
Robert Muir
2fe2e82584
LUCENE-1866: better RAT reporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1309248 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 05:03:53 +00:00
Robert Muir
e00a7dce89
nuke relics of fake noggit release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308886 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 13:08:02 +00:00
Robert Muir
86c7878963
svn:eolstyle=native
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308638 13f79535-47bb-0310-9956-ffa450edef68
2012-04-03 00:59:11 +00:00
Jan Høydahl
058179d177
SOLR-1052: Deprecate/Remove <indexDefaults> and <mainIndex> in favor of <indexConfig> in solrconfig.xml (trunk)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308608 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 22:55:37 +00:00
Robert Muir
73db5ff5fc
SOLR-2435: nuke confusing duplicate junit dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1308529 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 20:15:01 +00:00
Robert Muir
8f0d7cc135
LUCENE-3930: nuke jars from source tree and use ivy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307563 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 18:04:43 +00:00
Erick Erickson
b005bcb790
Fixes (documentation only) for SOLR-3297 and SOLR-3298
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307543 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 17:17:52 +00:00
Sami Siren
d46c69e9ad
deprecation cleaning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307347 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 10:21:29 +00:00
Sami Siren
42141717a3
remove deprecated api
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307319 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 09:03:09 +00:00
Yonik Seeley
95f80348f6
tests: ignore expected exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307194 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 01:08:11 +00:00
Yonik Seeley
6209a4123b
tests: increase connection timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1307123 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 21:39:30 +00:00
Sami Siren
b5f8deb795
SOLR-2020: migrate to Java client that uses Apache Http Components http client (4.x)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1306800 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 12:11:37 +00:00
Robert Muir
3a8241485d
SOLR-3112: rename abstract -Test to -TestCase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304455 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:43:30 +00:00
Robert Muir
c1cab4323a
SOLR-3112: license header on test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304449 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:37:18 +00:00
Robert Muir
2590469186
SOLR-3112: Fix tests not to write to src/test-files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1304441 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 15:32:44 +00:00
Robert Muir
a6fd306dfb
add missing license headers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303738 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 11:33:45 +00:00
Martijn van Groningen
a25cb028e1
SOLR-3052: Added jdocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303206 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 23:26:19 +00:00
James Dyer
255f763640
SOLR-2124: do not log stack trace for Service Disabled / 503
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1302970 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 16:18:11 +00:00
Erick Erickson
401924c273
Fix for SOLR-3236, javadoc only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1300168 13f79535-47bb-0310-9956-ffa450edef68
2012-03-13 14:56:29 +00:00
Ryan McKinley
29a1f13e35
SOLR-3209 -- sorry
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298659 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 23:59:34 +00:00
Ryan McKinley
2488497c69
StartSolrJetty now emulates java -jar start.jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298528 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:26:49 +00:00
Ryan McKinley
455ba2465f
SOLR-3209: FieldStatsInfo returns Object rather then Double
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298527 13f79535-47bb-0310-9956-ffa450edef68
2012-03-08 19:25:30 +00:00
Martijn van Groningen
d22b750992
SOLR-2898: Support grouped faceting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298186 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:51:18 +00:00
Dawid Weiss
1242fb0437
Fixing imports.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298156 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 22:10:00 +00:00
Ryan McKinley
a57f29a367
SOLR-3159: Upgrade example and tests to run with Jetty 8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1298108 13f79535-47bb-0310-9956-ffa450edef68
2012-03-07 20:49:28 +00:00
Ryan McKinley
5811b6229a
SOLR-141: Errors and Exceptions are formated by ResponseWriter.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297749 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 21:59:31 +00:00
Ryan McKinley
58e3736862
SOLR-3202: remove JSP support and the old admin UI
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1297578 13f79535-47bb-0310-9956-ffa450edef68
2012-03-06 17:04:19 +00:00