Commit Graph

4215 Commits

Author SHA1 Message Date
Noble Paul 37981de101 SOLR-4925 Collection create throws NPE when 'numShards' param is missing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492808 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 18:42:54 +00:00
Simon Willnauer b7763af7df LUCENE-5038: Fix test, useCompoundFile doesn't exists anymore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492770 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 17:23:53 +00:00
Simon Willnauer e83c3f7a8b LUCENE-5038: Refactor CompoundFile settings in MergePolicy and IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492701 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 15:11:14 +00:00
Mark Robert Miller af2128c683 SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492693 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 14:49:39 +00:00
Shalin Shekhar Mangar 14d7d11d59 SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally, if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the connection will not be closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492537 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 06:47:47 +00:00
Adrien Grand e021451d6c LUCENE-5042: Fix the n-gram tokenizers and filters.
This commit fixes n-gram tokenizers and filters so that they handle
supplementary characters correctly and adds the ability to pre-tokenize the
stream in tokenizers.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492185 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 13:17:49 +00:00
Steven Rowe fc4d7d3550 SOLR-4792: Skip target '-validate-maven-dependencies' in solr/webapp/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491970 13f79535-47bb-0310-9956-ffa450edef68
2013-06-11 21:25:02 +00:00
Mark Robert Miller eef4c01c99 fix script classpath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491470 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 14:40:18 +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
Mark Robert Miller 84b3a0e40b SOLR-4789: CoreAdminHandler should write core.properties files in discovery mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491446 13f79535-47bb-0310-9956-ffa450edef68
2013-06-10 13:39:34 +00:00
Mark Robert Miller d35702de9a SOLR-4805,SOLR-4843: SolreCore#reload should not call preRegister and publish a DOWN state to ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491310 13f79535-47bb-0310-9956-ffa450edef68
2013-06-09 22:51:21 +00:00
Steven Rowe b0aef6e46d SOLR-4893: Extend FieldMutatingUpdateProcessor.ConfigurableFieldNameSelector to enable checking whether a field matches any schema field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491102 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 23:52:47 +00:00
Robert Muir 92ec6ec337 SOLR-4792: stop shipping a war in 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1491031 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 19:08:17 +00:00
Robert Muir 290ae62a44 LUCENE-4933: collapse Exact/SloppySimScorer into SimScorer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490971 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 12:42:36 +00:00
Chris M. Hostetter d08b2810fd SOLR-4890: remove /non/existent/dir/yields/warning from example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490889 13f79535-47bb-0310-9956-ffa450edef68
2013-06-08 00:53:32 +00:00
Chris M. Hostetter d342f49051 SOLR-4906: fix UpdateRequestProcessorChain class javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1490782 13f79535-47bb-0310-9956-ffa450edef68
2013-06-07 18:56:46 +00:00
Steven Rowe f28d9b855e SOLR-4891: Fix corruption of BigInteger values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489914 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 15:27:31 +00:00
Steven Rowe a819fcbf8a SOLR-4891: JsonLoader should preserve field value types from the JSON content stream
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489676 13f79535-47bb-0310-9956-ffa450edef68
2013-06-05 00:47:43 +00:00
Chris M. Hostetter 9f5d970641 SOLR-4744: hackish attempt to get basic non cloud functionality to work again
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489222 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 23:01:20 +00:00
Shalin Shekhar Mangar 2456fe59c0 SOLR-4744: Update failure on sub shard is not propagated to clients by parent shard
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1489138 13f79535-47bb-0310-9956-ffa450edef68
2013-06-03 20:02:30 +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
Chris M. Hostetter e38d831c4f SOLR-4858: svn add missing test class, and remove nocommit that was overriding randomization of updateLog in SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488431 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 23:42:51 +00:00
Yonik Seeley b3acf03c7e SOLR-4858: increase ulog test coverage
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488365 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 19:40:51 +00:00
Yonik Seeley 145772accb SOLR-4858: call ulog.init on core reopen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1488349 13f79535-47bb-0310-9956-ffa450edef68
2013-05-31 18:37:24 +00:00
Uwe Schindler 7239a57a51 SOLR-4881: Fix DocumentAnalysisRequestHandler to correctly use EmptyEntityResolver to prevent loading of external entities like UpdateRequestHandler does
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487976 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 18:58:58 +00:00
Uwe Schindler fecb6fb0a2 SOLR-4877, LUCENE-5023: Removed SolrIndexSearcher#getDocSetNC()'s special case for handling TermQuery to prevent NullPointerException if reader does not have fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487914 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 16:22:29 +00:00
Shalin Shekhar Mangar 2c1af23df7 SOLR-4870: RecentUpdates.update() does not increment numUpdates loop counter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487897 13f79535-47bb-0310-9956-ffa450edef68
2013-05-30 15:34:21 +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
Stefan Matheis d4d127d5d1 SOLR-4867: Admin UI - setting loglevel on root throws RangeError (backport for 4.3.1)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487595 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 18:57:11 +00:00
Shalin Shekhar Mangar b9b4ded14c SOLR-4855: Move entry in change log to 4.3.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487552 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 17:16:30 +00:00
Shalin Shekhar Mangar f9a5dc2c88 SOLR-4855: DistributedUpdateProcessor doesn't check for peer sync requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 16:40:28 +00:00
Shawn Heisey a79ffdfeee SOLR-4868: fix inability to set root logger in Log4JWatcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487294 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 06:02:17 +00:00
Shalin Shekhar Mangar ee096e5cf8 SOLR-4863: Removed non-existent attribute sourceId from dynamic JMX stats to fix AttributeNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487236 13f79535-47bb-0310-9956-ffa450edef68
2013-05-29 04:55:13 +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
Chris M. Hostetter 277c65f9b9 additional examples of the switch parser inspired by a recent email thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487166 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 23:42:48 +00:00
Stefan Matheis 5ad879d348 SOLR-4867: Admin UI - setting loglevel on root throws RangeError
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487096 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 20:21:29 +00:00
Jan Høydahl d7f397056b SOLR-4785: Fixed bug with missing boost on toplevel query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486898 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 12:09:13 +00:00
Tommaso Teofili eee9bd713f SOLR-4865 - improved UIMA URP logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1486792 13f79535-47bb-0310-9956-ffa450edef68
2013-05-28 07:35:33 +00:00
Mark Robert Miller 2d716bfa97 SOLR-4745: Do not pass a SolrCore in ZkController.preRegister()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485835 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 19:35:52 +00:00
Mark Robert Miller 6edd7326fd SOLR-4814: If a SolrCore cannot be created it should remove any information it published about itself from ZooKeeper.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485831 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 19:17:46 +00:00
Erick Erickson db6899a0ed SOLR-4849, test failures due to windows pathing issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1485403 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:23:40 +00:00
Erik Hatcher 6a9fc2aa55 SOLR-4842: merge an additional test case from branch_4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484889 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 17:44:34 +00:00
Erik Hatcher 850edd0251 SOLR-4842: merge from branch_4x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484884 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 17:33:34 +00:00
Mark Robert Miller 2e716bad60 test logging: key by hashCode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1484795 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 13:23:03 +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
Shalin Shekhar Mangar 5c77220c72 Moving issues to 4.3.1 in change log before backport
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483661 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 06:15:38 +00:00
Koji Sekiguchi 420bb8c36e SOLR-4751: fix replication problem of files in sub directory of conf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483620 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 00:28:54 +00:00
Yonik Seeley 069387266e SOLR-4829: fix tlog leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1483561 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 20:49:59 +00:00