Commit Graph

3678 Commits

Author SHA1 Message Date
Mark Robert Miller 1696206de6 SOLR-6943: HdfsDirectoryFactory should fall back to system props for most of it's config if it is not found in solrconfig.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651373 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 15:12:46 +00:00
David Wayne Smiley c0707926df SOLR-6904: remove deprecated spatial Circle & Rect syntax
FYI these weren't used often and were replaced with supported syntaxes in v4.3.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651351 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 14:17:18 +00:00
Noble Paul 2b1d34dfd9 SOLR-6770 Optimize tests to avoid duplicate RE[BST calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651308 13f79535-47bb-0310-9956-ffa450edef68
2015-01-13 09:05:23 +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
Timothy Potter c36180cdf8 SOLR-6952: bin/solr create action should copy configset directory instead of reusing an existing configset in ZooKeeper by default; commit also includes fix for SOLR-6933 - create alias
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651231 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 23:33:34 +00:00
Anshum Gupta 68cf1ca825 SOLR-6923: AutoAddReplicas also consults live_nodes to see if a state change has happened
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651221 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 22:53:38 +00:00
Gregory Chanan 847f870e75 SOLR-6963: Upgrade hadoop version to 2.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651212 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 22:07:42 +00:00
Joel Bernstein d385c653c2 SOLR-6581: Efficient DocValues support and numeric collapse field implementations for Collapse and Expand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651087 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 13:40:34 +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
Erik Hatcher 221cbaad10 fix SimplePostToolTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651040 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 08:50:31 +00:00
Erik Hatcher ae4734f4cf SOLR-6959: standardize XML content-type
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651027 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 02:36:30 +00:00
Erik Hatcher 1636450d22 SOLR-6959: Elaborate on URLs being POSTed to
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1651015 13f79535-47bb-0310-9956-ffa450edef68
2015-01-12 00:33:47 +00:00
Mark Robert Miller 5ddea27113 SOLR-6957: Raise timeout.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650984 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 23:04:21 +00:00
Mark Robert Miller fdb0af9bca SOLR-6951: Add basic testing for test ObjectReleaseTracker.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650916 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 16:49:14 +00:00
Mark Robert Miller c8888cd115 tests: raise timeout - trips sometimes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650905 13f79535-47bb-0310-9956-ffa450edef68
2015-01-11 15:33:23 +00:00
Mark Robert Miller d97b1cef28 SOLR-6950: Ensure TransactionLogs are closed with test ObjectReleaseTracker.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650781 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 18:09:14 +00:00
Mark Robert Miller 5e8eb5cd46 SOLR-6324: Set finite default timeouts for select and update.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650768 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 16:58:36 +00:00
Mark Robert Miller 8213fe8a0a SOLR-6793: ReplicationHandler does not destroy all of it's created SnapPullers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650764 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 16:12:39 +00:00
Noble Paul f7bbdc339e SOLR-6787 enable autocommit maxDocs=1 for .system collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650729 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 10:32:42 +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
Erik Hatcher 0aac930251 SOLR-6098: fix a couple of post.jar mentions that did not have -Dc on them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650525 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 13:34:54 +00:00
Noble Paul 8d7681e72c SOLR-6787 A simple class to mask a handler defined in same path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650448 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 06:52:07 +00:00
Chris M. Hostetter 26019792c4 SOLR-6643: Fix error reporting & logging of low level JVM Errors that occur when loading/reloading a SolrCore
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650350 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 18:38:57 +00:00
Robert Muir ec43ca9fd8 LUCENE-6165: Change merging APIs from LeafReader to CodecReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650301 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 14:53:03 +00:00
Noble Paul 1c1c2a57cd SOLR-6787 more logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650251 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 11:06:37 +00:00
Noble Paul 11460d0be3 SOLR-6787 commit right away instead of waiting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650212 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 06:33:28 +00:00
Erick Erickson 759441eccd SOLR-6925: Back out changes having to do with SOLR-5287 (editing configs from admin UI)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650208 13f79535-47bb-0310-9956-ffa450edef68
2015-01-08 05:15:46 +00:00
Noble Paul 980c1e42f1 SOLR-6365 path /update/** should match /update as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650125 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 17:41:01 +00:00
Timothy Potter 812e0c6e6f SOLR-6918: No need to log exceptions (as warn) generated when creating MBean stats if core is shutting down
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650123 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 17:35:20 +00:00
Noble Paul c2712551be SOLR-6365 last commit caused regression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650064 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 14:24:31 +00:00
Noble Paul 3b988de804 SOLR-6787 hardening tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650030 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 10:49:39 +00:00
Noble Paul b7ddac884e SOLR-6533 implicit requesthandlers were not exposed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650000 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 07:08:00 +00:00
Noble Paul 88eb9719fa SOLR-6365 bug fix matching wrong name when it is a shorter prefix of path
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649996 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 06:10:49 +00:00
Robert Muir b10d20a122 LUCENE-6158: IW.addIndexes(IndexReader...) -> IW.addIndexes(LeafReader...)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649989 13f79535-47bb-0310-9956-ffa450edef68
2015-01-07 02:52:57 +00:00
Mark Robert Miller 90dd4ab345 SOLR-6766: Expose HdfsDirectoryFactory Block Cache statistics via JMX.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649939 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 20:29:17 +00:00
Shalin Shekhar Mangar 76fa1005db SOLR-6801: Use static random initialized with random.seed and use it in Collections.shuffle to make forbidden-api checks pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649877 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 17:17:15 +00:00
Noble Paul 82b4fedcea SOLR-6801 addressing test failures, SOLR-6607 supporting all initArgs for requesthandlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649821 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 15:11:12 +00:00
Adrien Grand cdb651976e LUCENE-5702: Move comparators to a per-leaf API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649818 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 15:03:19 +00:00
Shalin Shekhar Mangar 75f6dd52e4 SOLR-6897: Throw fatal error if nrtMode is present in solrconfig on 6.0. Added note to upgrade section.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649816 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 14:50:54 +00:00
Shalin Shekhar Mangar 258f3b152e SOLR-6897: Fix wrong assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649814 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 14:46:49 +00:00
Shalin Shekhar Mangar e13e0de583 SOLR-6897: Nuke non-NRT mode from code and configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649810 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 14:28:08 +00:00
Erick Erickson 14c8880729 SOLR-6666: Dynamic copy fields are considering all dynamic fields, causing a significant performance impact on indexing documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649657 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 20:50:39 +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
Noble Paul de4f26978f SOLR-6770 Added testcase for standalone mode and fixed a reload bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649551 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 15:44:57 +00:00
Noble Paul ddb6b38b88 SOLR-6770 wrong file name in standalone mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649542 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 15:13:46 +00:00
Michael McCandless 41fcc722ff LUCENE-6119: CMS dynamically rate limits IO writes of each merge depending on incoming merge rate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649532 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 14:28:28 +00:00
Noble Paul c8545d6dbf SOLR-6533 , changed the node name from solrConfig to config. handle empty command list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649486 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 09:18:10 +00:00
Erik Hatcher b5a484fe1f SOLR-6908: Minor corrections to SimplePostTool -help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649442 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 22:31:13 +00:00
Erik Hatcher d693013c2c SOLR-6908: Minor corrections to SimplePostTool -help
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649438 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 22:18:01 +00:00
Noble Paul 136f38c8c6 SOLR-6787 more logging to trace errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649349 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 15:07:24 +00:00
Noble Paul 81ce259cf5 SOLR-6801 increase wait times to address failures http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-MacOSX/1989/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649345 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 14:50:26 +00:00
Erik Hatcher c0b2330827 SOLR-6735: Make CloneFieldUpdateProcessorFactory null safe
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649323 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 12:48:21 +00:00
David Wayne Smiley 8fd247cc0e SOLR-6797: spatial distanceUnits=degrees|kilometers|miles
units=degrees is now deprecated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649243 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 20:09:36 +00:00
Timothy Potter c96668e207 SOLR-6874: There is a race around SocketProxy binding to it's port the way we setup JettySolrRunner and SocketProxy.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649154 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 00:20:46 +00:00
Shalin Shekhar Mangar c2d9d1c602 SOLR-6905: Test pseudo-field retrieval in distributed search
This closes #122.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649110 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 20:08:16 +00:00
Erick Erickson 6791a405b4 SOLR-6906: Fix typo bug in DistributedDebugComponentTest.testCompareWithNonDistributedRequest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649106 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 20:02:45 +00:00
Adrien Grand 972e64f7c7 LUCENE-6148: Accountable.getChildResources returns a Collection.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649074 13f79535-47bb-0310-9956-ffa450edef68
2015-01-02 16:25:16 +00:00
Erick Erickson 362ddae754 SOLR-6483, Refactor some methods in MiniSolrCloudCluster tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648923 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 19:19:12 +00:00
Robert Muir 9fadf77120 LUCENE-6146: Replaced Directory.copy() with Directory.copyFrom()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648851 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 15:15:13 +00:00
Noble Paul 94a23da9c2 SOLR-6787 changed the schema of blob store. now, the id is blobName/version and not the md5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648836 13f79535-47bb-0310-9956-ffa450edef68
2015-01-01 12:47:22 +00:00
Timothy Potter 93e19a3148 SOLR-6761: Ability to ignore commit and optimize requests from clients when running in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648775 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 20:32:42 +00:00
Alan Woodward 259604ec24 SOLR-6895: Fix rename error in AliasIntegrationTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648750 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 17:38:25 +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
Noble Paul 5444b1f45a SOLR-6801 more tests , SOLR-6770 refactored code around
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648689 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 12:25:08 +00:00
Noble Paul 3da26b7dca SOLR-6792 added javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648654 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 04:51:42 +00:00
Timothy Potter e18538cc4b SOLR-5810: basic paged nav support for cloud graph panel for many collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648621 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 22:38:50 +00:00
Erik Hatcher 0ff1e75b74 SOLR-6779 (fix /browse on schemaless example) and several other related fixes and cleanups including remove /browse from test configs where it isn't needed, adjusting /browse definition to be valid and not an inappropriate copy of techproducts, fixed /update/extract indexing with data_driven_schema_configs configset, and fixed indexing of solr(-to-solr) example DIH indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648456 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 00:50:57 +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
Alan Woodward 3a857ad958 SOLR-6896: Drop SolrJettyRunner max idle time to 200ms to speed up tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648387 13f79535-47bb-0310-9956-ffa450edef68
2014-12-29 16:33:13 +00:00
Noble Paul e9395306b7 SOLR-6770 changed command names to set, update
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647962 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 12:27:35 +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
Erick Erickson 0c6151e4bc SOLR-6860: Re-enable REBALANCELEADERS for 5.1. going to let this bake in trunk only until 5.0 is cut
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647849 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 21:55:05 +00:00
Tomas Eduardo Fernandez Lobbe bc8a596303 SOLR-6864: Improved tests, added useColdSearcher test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647836 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 19:51:51 +00:00
Noble Paul ed0f198480 SOLR-6770 fixing test failures http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2013/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647829 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 18:50:31 +00:00
Timothy Potter 007a6a1610 SOLR-6397: zkcli script put/putfile should allow overwriting an existing znode's data
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647828 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 18:44:02 +00:00
Timothy Potter 1a494d6384 SOLR-6855: bin/solr -e dih launches, but has some path cruft issues preventing some of the imports don't work
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647825 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 18:32:21 +00:00
Steven Rowe d0a7f224e9 SOLR-6879: Have an option to disable autoAddReplicas temporarily for all collections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647811 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 15:55:45 +00:00
Shalin Shekhar Mangar aec7811b66 SOLR-6885: Add core name to RecoveryThread name
This closes #117.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647799 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 14:48:28 +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
Noble Paul 566ddf3fbd SOLR-6770 Add/edit param sets and use them in requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647748 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 08:51:08 +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
Timothy Potter 7204caba96 SOLR-6867: SolrCLI should check for existence before creating a new core/collection, more user-friendly error reporting (no stack trace), and the ability to pass a directory when using bin/solr to create a core or collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647726 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 04:00:49 +00:00
Mark Robert Miller 8622f61f12 SOLR-6729: createNodeSet.shuffle=(true|false) support for /admin/collections?action=CREATE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647654 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 19:26:29 +00:00
Shalin Shekhar Mangar 6f74593cb6 SOLR-6882: Misspelled collection API actions in ReplicaMutator exception messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647553 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 11:40:52 +00:00
Shalin Shekhar Mangar d5a8bcf01d SOLR-6883: CLUSTERPROP API switch case does not call break
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647551 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 11:34:39 +00:00
David Wayne Smiley 75bc69dcce SOLR-6680: refactor DefaultSolrHighlighter.TermOffsetsTokenStream (from term vectors) to avoid buffering the token.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647481 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 04:27:47 +00:00
Anshum Gupta 9a9c1bde04 SOLR-6868: Try to fix the failing test and also a part of the SolrJ collection API test refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647472 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 02:52:07 +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
Mark Robert Miller fa1f4467f4 SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times out after 30 milliseconds instead of 30 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647460 13f79535-47bb-0310-9956-ffa450edef68
2014-12-23 01:16:12 +00:00
Noble Paul f75adf5956 SOLR-6801 fixing test failure http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-MacOSX/2008/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647287 13f79535-47bb-0310-9956-ffa450edef68
2014-12-22 11:05:49 +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
Noble Paul a9f6aaaee1 SOLR-6801 addressing test failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647034 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 18:43:53 +00:00
Robert Muir 1f431a14f6 remove broken javadocs. please do not add broken javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647022 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 17:30:15 +00:00
Mark Robert Miller 3d70e67002 SOLR-6801: Fix formatting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647018 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 16:49:50 +00:00
Noble Paul ce7da69d2c NPE in tests http://jenkins.thetaphi.de/job/Lucene-Solr-5.x-Linux/11610/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646989 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 14:31:02 +00:00
Noble Paul c2c72f5f02 SOLR-6801 Load RequestHandler from blob store
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646964 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 12:21:10 +00:00
Tomas Eduardo Fernandez Lobbe d4f03f72ae SOLR-6864: Fix test race condition, make test wait for warming in TestIndexSearcher
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646918 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 06:18:37 +00:00
Erick Erickson ec5364fa51 SOLR-6859: Disable REBALANCELEADERS for 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646904 13f79535-47bb-0310-9956-ffa450edef68
2014-12-20 00:17:48 +00:00
Alan Woodward 8079368b8b SOLR-6718: coreRootDirectory should be resolved against SOLR_HOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646660 13f79535-47bb-0310-9956-ffa450edef68
2014-12-19 10:05:14 +00:00
Tomas Eduardo Fernandez Lobbe 869ac14ac4 SOLR-6864: Support registering searcher listeners in SolrCoreAware.inform(SolrCore) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646577 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 23:24:30 +00:00
Anshum Gupta 57bfad4861 SOLR-6523: Fixing the test. Removing the unwanted check and calls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646567 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 23:06: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
Shalin Shekhar Mangar 85ccfa8b22 Compare canonical paths instead of absolute paths
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646492 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 17:15:10 +00:00
Shalin Shekhar Mangar 2950159a2c SOLR-6554: Fix work queue handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646474 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 15:13:41 +00:00
Noble Paul 9ac8383fb7 SOLR-6787 refactored a method out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646418 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 09:40:46 +00:00
Noble Paul e23993550e SOLR-6365 lazy loaded components did not have initParams applied
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646401 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 08:25:32 +00:00
Noble Paul 5a876e47ad SOLR-6626 NPE when the filed values are null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1646388 13f79535-47bb-0310-9956-ffa450edef68
2014-12-18 06:34:35 +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 7e4449010e SOLR-6849: And really fix it this time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645895 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 10:11:59 +00:00
Anshum Gupta 9f8520d3a9 SOLR-6852: SimplePostTool no longer defaults to collection1, also there's no default update URL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645866 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 07:17:39 +00:00
Alan Woodward 4c76f8d13d SOLR-6849: Fix another @Slow test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645712 13f79535-47bb-0310-9956-ffa450edef68
2014-12-15 18:25:53 +00:00
Robert Muir 765403b2af LUCENE-6104: simplify internals of Lucene50NormsProducer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645711 13f79535-47bb-0310-9956-ffa450edef68
2014-12-15 18:03:05 +00:00
Alan Woodward 199610cd78 SOLR-6849: Fix @Slow test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645695 13f79535-47bb-0310-9956-ffa450edef68
2014-12-15 16:49:09 +00:00
David Wayne Smiley 85a43a77a9 SOLR-6827: DateRangeField support for facet.range, exclusive ranges, DateMath
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645383 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 04:55:26 +00:00
David Wayne Smiley 0ddb7567f1 LUCENE-5648: spatial NumberRangePrefixTree refactorings, mostly:
* rename NRPT.LevelledValue -> UnitNRShape, NRPT.NRShape -> SpanUnitsNRShape, both subclass new NRPT.NRShape marker class; make all 3 public and use these types in method signatures as appropriate.
* remove NRPT pass-through convenience methods on NRPTStrategy (not needed; maintenance burden)
* re-order some factory/parsing methods in NRPT to keep together at the top
* UnitNRShape implements Comparable, and both NRShape implements Cloneable
* improve randomized test to pick better random calendars
* more docs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645381 13f79535-47bb-0310-9956-ffa450edef68
2014-12-14 04:33:01 +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
Shalin Shekhar Mangar c186cbfcbc SOLR-6604: SOLR-6812: Fix NPE with distrib.singlePass=true and expand component. Increased test coverage of expand component with docValues.
This closes #98.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645098 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 00:05:00 +00:00
Steven Rowe 980c23f498 SOLR-6844: Rename ConfigSolr.getZkHostPort(), which actually returns the Solr port, to .getSolrHostPort()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645034 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 19:05:02 +00:00
Shalin Shekhar Mangar b1083b2a32 Fixed typo in comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644911 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 14:53:43 +00:00
Noble Paul 8d2fded1df SOLR-6626 NPE in FieldMutatingUpdateProcessor when indexing a doc with
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644865 13f79535-47bb-0310-9956-ffa450edef68
2014-12-12 12:33:28 +00:00
Chris M. Hostetter 1612359297 SOLR-6834: hard fail if checkIntegrityAtMerge is used in 6.0 (trunk only, not for backport)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644759 13f79535-47bb-0310-9956-ffa450edef68
2014-12-11 20:45:07 +00:00
Chris M. Hostetter 05945a9490 SOLR-6834: Warn if checkIntegrityAtMerge is configured
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644707 13f79535-47bb-0310-9956-ffa450edef68
2014-12-11 17:21:47 +00:00
Noble Paul fc061ed8a2 SOLR-6787 removing the dependency on zk jar for post.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644489 13f79535-47bb-0310-9956-ffa450edef68
2014-12-10 17:32:25 +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 5929d5b436 SOLR-6633 field name changed from _src to _src_ by populafr demand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644100 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 16:13:58 +00:00
Noble Paul 3a102c548a SOLR-6787 API to manage blobs in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1644095 13f79535-47bb-0310-9956-ffa450edef68
2014-12-09 15:58:32 +00:00
Michael McCandless 0c28951031 LUCENE-6097: make abort/waitForMerges private
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643891 13f79535-47bb-0310-9956-ffa450edef68
2014-12-08 19:18:48 +00:00
Anshum Gupta 778e1b31ab SOLR-6755: Adding a try/catch block and extra logging to get more details when this test fails next
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643013 13f79535-47bb-0310-9956-ffa450edef68
2014-12-02 21:50:19 +00:00
Yonik Seeley 564aed06e9 SOLR-6776: only clear changesSinceCommit on a hard commit so tlog will still be flushed on a softCommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642946 13f79535-47bb-0310-9956-ffa450edef68
2014-12-02 16:46:05 +00:00
Timothy Potter 7ff7ab4a31 SOLR-6732: back compat support needed in trunk and 5x to support upgrades from 4.10.1 to 5x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642917 13f79535-47bb-0310-9956-ffa450edef68
2014-12-02 15:41:58 +00:00
Shalin Shekhar Mangar 9d4bd1f350 SOLR-6796: distrib.singlePass does not return correct set of fields for multi-fl-parameter requests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642873 13f79535-47bb-0310-9956-ffa450edef68
2014-12-02 14:04:35 +00:00
Shalin Shekhar Mangar 25bbac4a0d SOLR-6795: distrib.singlePass returns score even though not asked for
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642774 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 22:44:11 +00:00
Michael McCandless e989394fb2 LUCENE-6084: add reasonable IndexOutput.toString
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642761 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 21:21:38 +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 608a61cd5c SOLR-6554: Moved performance test factors into constants
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642708 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 16:32:36 +00:00
Shalin Shekhar Mangar 2339bd0218 SOLR-6554: Refactored Overseer to improve reuse and put batching logic inside ZkStateWriter. Added a new ZkStateWriterTest.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642693 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 14:37:04 +00:00
Mark Robert Miller 193c1be0b4 SOLR-6752: Buffer Cache allocate/lost metrics should be exposed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642689 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 14:29:29 +00:00
Noble Paul 56d7da62ba SOLR-6476 removing othe vestiges of config REST APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642660 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 09:59:15 +00:00
Noble Paul f317f12f87 SOLR-6476 refactored bulk schema APIs and other read REST APIs to use standard RequestHandler mechanism
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642641 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 08:02:05 +00:00
David Wayne Smiley a371f353f5 SOLR-6510: add tests for collapse on docvalues
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642620 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 02:39:18 +00:00
David Wayne Smiley 015eacf293 SOLR-6680: DefaultSolrHighlighter: avoid CachingTokenFilter when not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642510 13f79535-47bb-0310-9956-ffa450edef68
2014-11-30 04:23:57 +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 918b2280a8 SOLR-6554: Removed one-liner methods and unused methods from overseer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642443 13f79535-47bb-0310-9956-ffa450edef68
2014-11-29 16:08:05 +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 46e8f846c5 LUCENE-6080: remove some deprecations from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642374 13f79535-47bb-0310-9956-ffa450edef68
2014-11-28 23:05:14 +00:00
Noble Paul aee51c5eb0 SOLR-6607 /config path should show overridden requesthandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642151 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 13:42:32 +00:00
Noble Paul 4fab579c2a SOLR-6607 Managing requesthandlers through API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642141 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 13:16:22 +00:00
Mark Robert Miller 99b935a881 SOLR-6454: Suppress EOFExceptions in SolrDispatchFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642138 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 13:11:31 +00:00
Timothy Potter 6abb23b22b SOLR-3619: Fix NPE during unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642017 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 03:22:56 +00:00
Mark Robert Miller 8eae2c82e3 SOLR-6459: Fix passing the wrong queue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641996 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 01:43:19 +00:00
Timothy Potter 2656c3bdb8 SOLR-3619: clone configsets when starting examples or creating cores instead of using configsets directly; selectively clone the server directory when creating node1 for the cloud example; fix script error reporting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641961 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 23:12:08 +00:00
Tomas Eduardo Fernandez Lobbe d5f8b17e3f SOLR-5864: Remove previous SolrCore as parameter on reload
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641819 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 14:15:37 +00:00
Noble Paul 9184a44687 SOLR-6792 deprecate AdminHandlers, Clean up solrconfig.xml of unnecessary plugin definitions, implicit registration of /replication, /get and /admin/* handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641790 13f79535-47bb-0310-9956-ffa450edef68
2014-11-26 10:27:53 +00:00
David Wayne Smiley f39a0e5786 SOLR-6784: BBoxField's 'score' mode should have been optional.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641670 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 18:49:08 +00:00
Alan Woodward 5dbff1d1c1 SOLR-6763: Shard leader elections should not persist across ZK session expiry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641590 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 11:49:36 +00:00
Alan Woodward 63867cb7ce SOLR-6751: Analysis errors should return BAD_REQUEST, not SERVER_ERROR
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641586 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 11:42:31 +00:00
David Wayne Smiley f60f243b17 SOLR-6781: Bugfix- BBoxField didn't support dynamic fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641522 13f79535-47bb-0310-9956-ffa450edef68
2014-11-25 03:43:39 +00:00
Shalin Shekhar Mangar 5f34b81536 SOLR-6754: ZkController.publish doesn't use the updateLastState parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641354 13f79535-47bb-0310-9956-ffa450edef68
2014-11-24 10:17:40 +00:00
Robert Muir 773ed71e5a LUCENE-6068: LeafReader.fields never returns null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641239 13f79535-47bb-0310-9956-ffa450edef68
2014-11-23 18:35:20 +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 509dcf87f9 SOLR-6459: Normalize logging of operations in Overseer and log current queue size.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641218 13f79535-47bb-0310-9956-ffa450edef68
2014-11-23 16:40:30 +00:00
Noble Paul d22f5bf7b1 SOLR-6533 fixing test failures http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/4445
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641020 13f79535-47bb-0310-9956-ffa450edef68
2014-11-22 01:13:46 +00:00
Noble Paul 6b91456f73 SOLR-6533 fixing test failures http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/11645
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640909 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 12:50:23 +00:00
Uwe Schindler 0f35178bee LUCENE-5950: These 2 hacks are still needed to make the whole thing to compile in Eclipse's compiler (IDE)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640874 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 08:10:23 +00:00
Noble Paul c54d9a8f7f SOLR-6533 Added a testcase for config reload, hardened watching for changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640857 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 06:04:47 +00:00
Ryan Ernst 8a24e56be5 LUCENE-5950: Remove ecj hacks no longer necessary with current ecj settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640843 13f79535-47bb-0310-9956-ffa450edef68
2014-11-21 00:34:48 +00:00
Ryan Ernst 5e17f315d4 LUCENE-5950: Move to Java 8 as minimum Java version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640833 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 22:47:21 +00:00
Mark Robert Miller 318c2bf853 SOLR-3774: Solr adds RequestHandler SolrInfoMBeans twice to the JMX server.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640623 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 19:45:39 +00:00
Timothy Potter 7c5ea7648b SOLR-6762: use collection.configName parameter instead of configSet when creating a collection
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640598 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 17:03:31 +00:00
Noble Paul 58d913b6e5 SOLR-6365 "implicit requesthandler (specifiedin code) takes lower precedence over <initParams>"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640594 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 16:47:19 +00:00
Mark Robert Miller 570058d937 SOLR-6747: Add an optional caching option as a workaround for SOLR-6586.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640582 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 16:04:41 +00:00
Robert Muir bf6287116a LUCENE-6064: throw exception instead of doing nothing, when sorting/grouping etc on misconfigured field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640464 13f79535-47bb-0310-9956-ffa450edef68
2014-11-19 02:09:25 +00:00
Anshum Gupta eaf211db6a SOLR-6755: Fix the test to always return 2 parsedqueries i.e. have more 2 shards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640416 13f79535-47bb-0310-9956-ffa450edef68
2014-11-18 20:12:36 +00:00
Michael McCandless fdeb323243 LUCENE-6004: don't highlight LookupResult.key from AnalyzingInfixSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639798 13f79535-47bb-0310-9956-ffa450edef68
2014-11-14 22:04:05 +00:00
Erik Hatcher b3061b0493 Remove incorrect prefix on some log messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639382 13f79535-47bb-0310-9956-ffa450edef68
2014-11-13 16:35:15 +00:00
Michael McCandless 8047006d11 LUCENE-6060: remove IndexWriter.unlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1639329 13f79535-47bb-0310-9956-ffa450edef68
2014-11-13 14:10:06 +00:00
Shalin Shekhar Mangar 6639fc546a SOLR-6721: ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica in local map before writing to ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637986 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 21:52:24 +00:00
Noble Paul 6ecca6c553 SOLR-6579 SnapPuller Replication blocks clean shutdown of tomcat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637879 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 14:51:55 +00:00
Uwe Schindler 8251f8dbf8 LUCENE-5953: Revert changes to SnapShooter, just remove useless locking. The tests now pass more often, because snapshot directory does not disappear suddenly (its created explicitely before file copying
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637743 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 21:20:13 +00:00
Uwe Schindler 28b0bc6c32 LUCENE-5953: Remove obsolete locking
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637688 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 15:31:15 +00:00
Uwe Schindler c429f437f0 LUCENE-5953: Restructure Directory and LockFactory APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637665 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 12:18:03 +00:00
Michael McCandless b7059e7628 LUCENE-6049: don't throw exc writing segment if document hit non-aborting exc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637524 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 08:24:13 +00:00
Shalin Shekhar Mangar 39e7625798 SOLR-6715: Fix javadoc warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637299 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 06:56:33 +00:00
Shalin Shekhar Mangar 4905248879 SOLR-6715: ZkSolrResourceLoader constructors accept a parameter called 'collection' but it should be 'configName'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637296 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 06:39:26 +00:00
Gregory Chanan 3e5a59c20a SOLR-6698: Solr is not consistent wrt ZkCredentialsProvider / ZkCredentialProvider
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637016 13f79535-47bb-0310-9956-ffa450edef68
2014-11-06 00:25:58 +00:00
Joel Bernstein 7cd68fe196 SOLR-6684 Fix-up /export JSON
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636986 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 22:18:27 +00:00
Tomas Eduardo Fernandez Lobbe a741d433d0 SOLR-6704: Added unit tests that uncovered TrieDateField bug in branch 4.10.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636980 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 22:04:08 +00:00
Shalin Shekhar Mangar ba0c5980fe SOLR-6685: ConcurrentModificationException in Overseer Status API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636875 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 14:22:43 +00:00
Noble Paul 5567f629fb SOLR-6533
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636863 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 12:51:05 +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
Anshum Gupta 2c8de2f35c SOLR-6248: Fixing an exception in case of missing qf
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636784 13f79535-47bb-0310-9956-ffa450edef68
2014-11-05 00:21:42 +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
Michael McCandless ba56e75704 LUCENE-6046: add maxDeterminizedStates to determinize to prevent exhausting CPU/RAM when the automaton is too difficult to determinize
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636716 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 20:03:10 +00:00
Shalin Shekhar Mangar 2380e375a0 SOLR-2927: Solr does not unregister all mbeans upon exception in constructor causing memory leaks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636603 13f79535-47bb-0310-9956-ffa450edef68
2014-11-04 15:21:12 +00:00
Shalin Shekhar Mangar 2e0eea7346 SOLR-6591: Ignore overseer operations for collections with stateFormat > 1 if the parent ZK path doesn't exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636400 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 17:30:04 +00:00
Shalin Shekhar Mangar 06510acbab Fix assert
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636379 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 16:11:22 +00:00
Noble Paul 19a2ea8679 SOLR-6365
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636330 13f79535-47bb-0310-9956-ffa450edef68
2014-11-03 11:57:00 +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
Michael McCandless 17ab4645d5 LUCENE-6041: remove FieldInfo.isIndex/hasDocValues sugar APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1636166 13f79535-47bb-0310-9956-ffa450edef68
2014-11-02 19:03:11 +00:00
Michael McCandless 6bf44e9439 LUCENE-6039: NO -> NONE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635861 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 20:48:22 +00:00
Michael McCandless bc41d58cd3 LUCENE-6039: cutover to IndexOptions.NO/DocValuesType.NO instead of null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635790 13f79535-47bb-0310-9956-ffa450edef68
2014-10-31 15:10:08 +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
Timothy Potter 967172f78d SOLR-6631: Part deux - refactor LatchChildWatcher to LatchWatcher that takes an optional EventType during construction to only release the latch when a specific event type is received.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635573 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 18:19:46 +00:00
Joel Bernstein 0a27b98333 SOLR-6584 Export handler causes bug in prefetch with very small indexes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635539 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 16:44:11 +00:00
Adrien Grand 347e4447eb LUCENE-6025: Add BitSet.prevSetBit and cut over the join module to this API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635531 13f79535-47bb-0310-9956-ffa450edef68
2014-10-30 16:06:17 +00:00
Anshum Gupta d7a1423439 SOLR-6248: Changing the format of mlt query parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635329 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 23:10:17 +00:00
Tomas Eduardo Fernandez Lobbe d49fb2f7ec Fixed SimpleQParserPlugin javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635223 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 17:45:27 +00:00
Noble Paul 6ae76082e6 SOLR-6610
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635163 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:56:49 +00:00
Timothy Potter cb0b53eaac Backout fix for SOLR-6631 as things like create collection are hanging now
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635155 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 14:46:29 +00:00
Timothy Potter e3f636a276 SOLR-6631: DistributedQueue spinning on calling zookeeper getChildren()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635131 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 13:38:15 +00:00
Shalin Shekhar Mangar 0e165d33ad Fix NPE on nightly tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1635067 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 08:37:18 +00:00
Anshum Gupta a5ba0b84f7 SOLR-6248: MoreLikeThis QParser that works in standalone/cloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634937 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 18:12:31 +00:00
Chris M. Hostetter 7ac4cf6303 SOLR-6655: fix forbidden API for real this time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634912 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 16:50:25 +00:00
Shalin Shekhar Mangar aee9727bec SOLR-6655: Use root locale in String.format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634830 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 09:58:53 +00:00
Erik Hatcher 7e41222b64 SOLR-6655: SimplePostTool now features -Dhost, -Dport, and -Dc (for core/collection) parameters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634765 13f79535-47bb-0310-9956-ffa450edef68
2014-10-28 02:48:36 +00:00
Shalin Shekhar Mangar 516ae95878 SOLR-6591: Do not batch updates for different stateFormats together
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634684 13f79535-47bb-0310-9956-ffa450edef68
2014-10-27 20:56:41 +00:00
Timothy Potter 14d27294e9 SOLR-6650: disabled by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634621 13f79535-47bb-0310-9956-ffa450edef68
2014-10-27 17:52:04 +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
Timothy Potter 23eb9cbfcc SOLR-6650: Add optional slow request logging at WARN level; this closes #101
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634086 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 16:21:59 +00:00
Shalin Shekhar Mangar 716b4acc74 SOLR-6651: Don't log found twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634060 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 14:07:51 +00:00
Shalin Shekhar Mangar 13e8aa61fc SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634057 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 13:56:51 +00:00
Adrien Grand c179a9bf94 LUCENE-6021: Make SparseFixedBitSet and FixedBitSet share a common "BitSet" interface.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1634012 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 07:32:19 +00:00
Robert Muir dbe6c7ff05 LUCENE-5969: remove 4.x back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633998 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 04:48:13 +00:00
Robert Muir ff50c35fc2 LUCENE-5969: finish porting rest of codec to 5.0 features
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633991 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 02:43:41 +00:00
Jan Høydahl 7c3703a5b2 SOLR-6647: Bad error message when missing resource from ZK when parsing Schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633969 13f79535-47bb-0310-9956-ffa450edef68
2014-10-23 22:15:03 +00:00
Shalin Shekhar Mangar 7fa2cea91c SOLR-6224: Post soft-commit callbacks are called before soft commit actually happens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633676 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 18:48:42 +00:00
Shalin Shekhar Mangar 4ed9b12033 SOLR-6524: Collections left in recovery state after node restart because recovery sleep time increases exponentially between retries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633655 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 17:19:03 +00:00
Adrien Grand 9e9812cbb0 LUCENE-5441: Decouple (Sparse)FixedBitSet from DocIdSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633628 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 14:19:19 +00:00
Timothy Potter 6d6ed37027 SOLR-6641: SystemInfoHandler should include the zkHost the node is using (when running in solrcloud mode)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633621 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 14:07:38 +00:00
Robert Muir 533249e67d merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5969@1633538 13f79535-47bb-0310-9956-ffa450edef68
2014-10-22 05:44:17 +00:00
Jan Høydahl 6d27591ab5 SOLR-6573: Updated after comments from Hoss, now also supports value parsed from localParam "v=", using rb.getQparser().getLocalParams()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633395 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 15:13:07 +00:00
Noble Paul c445d40b80 SOLR-6633 changed package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633394 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 15:12:55 +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
Michael McCandless 8f9f8a3252 LUCENE-6013: remove IndexableFieldType.indexed and FieldInfo.indexed (it's redundant with IndexOptions != null)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633296 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 07:32:38 +00:00
Shalin Shekhar Mangar 58fe66dba7 SOLR-6530: Protect against NPE when there are no live replicas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633276 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 06:10:18 +00:00
Jan Høydahl c1bdf27d97 SOLR-6573: QueryElevationComponent now works with localParams in the query
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633223 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 20:47:50 +00:00
Robert Muir eee7825cef LUCENE-5969: move old postings back compat to backward-codecs, cleanup PBF related stuff, add segment headers, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5969@1633196 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 18:25:52 +00:00
Anshum Gupta 788d519b89 SOLR-6623: Fixing NPE in StoredFieldsShardResponseProcessor when using timeAllowed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633053 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 06:10:08 +00:00
Erick Erickson 72df721236 SOLR-5992: add removeregex as an atomic update operation, Thanks Vitaliy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633019 13f79535-47bb-0310-9956-ffa450edef68
2014-10-19 22:45:31 +00:00
Noble Paul 7644a6def6 SOLR-6551
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632756 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 11:19:01 +00:00
Robert Muir c9e2d7bead LUCENE-5969: fix tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5969@1632706 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 00:19:30 +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
Noble Paul c4f4d6efab SOLR-6476 error message fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632525 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 09:35:35 +00:00
Tomas Eduardo Fernandez Lobbe fa6fc130a4 SOLR-6151: Improved TestReplicationHandlerBackup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632449 13f79535-47bb-0310-9956-ffa450edef68
2014-10-17 00:07:07 +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
Chris M. Hostetter d8146460f0 LUCENE-5961: Fix the exists() method for FunctionValues returned by many ValueSoures to behave properly when wrapping other ValueSources which do not exist for the specified document
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632414 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 19:05:20 +00:00
Adrien Grand e1b7594cd0 LUCENE-6010: Remove dead code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632305 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 13:41:08 +00:00
Noble Paul 6a790d5b25 SOLR-6307
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632259 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 09:41:43 +00:00
Michael McCandless 78e445ce57 LUCENE-6006: remove unnecessary FieldInfo.normType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632120 13f79535-47bb-0310-9956-ffa450edef68
2014-10-15 16:58:30 +00:00
Gregory Chanan 8ecb8f5c88 SOLR-6624: Spelling mistakes in the Java source
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631924 13f79535-47bb-0310-9956-ffa450edef68
2014-10-14 23:43:59 +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
Chris M. Hostetter 269545dd91 SOLR-6540 Fix NPE from strdist() func when doc value source does not exist in a doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631555 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 21:19:47 +00:00
Chris M. Hostetter d0dd912bba SOLR-6485: remove useless javadocs that are broken and violate precommit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631554 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 21:16:34 +00:00
Timothy Potter 58a145fbba SOLR-6511: fix back compat issue when reading existing data from ZK
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631439 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 15:35:35 +00:00
Noble Paul 1fb3769a89 SOLR-6485 added javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631426 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 14:48:04 +00:00
Noble Paul 5e61a97033 SOLR-6476 change the error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631420 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 14:37:55 +00:00
Noble Paul 9a9444a642 SOLR-6476 refactored to get the Operation class outside
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631397 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 14:01:25 +00:00
Shalin Shekhar Mangar 5f002f0f66 Use diamond operator
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631375 13f79535-47bb-0310-9956-ffa450edef68
2014-10-13 13:06:32 +00:00
Anshum Gupta 67bff82e65 SOLR-5986: Removing a todo that was introduced with a prior commit. It doesn't make any sense now as partialResults are now returned in all cases where timeAllowed kicks in
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1631145 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 04:16:00 +00:00
Anshum Gupta 3f603bdd87 SOLR-5986: Fix tests and start returning partial results in case of ExitingReaderException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630583 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 20:07:46 +00:00
Shalin Shekhar Mangar e7f194c1dc SOLR-6605: Make ShardHandlerFactory maxConnections configurable (This closes #99)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630532 13f79535-47bb-0310-9956-ffa450edef68
2014-10-09 16:47:11 +00:00
Shalin Shekhar Mangar 791ccec5c0 SOLR-6545: Query field list with wild card on dynamic field fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630169 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 16:36:03 +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
Timothy Potter 1979ac573d SOLR-6157: re-enable this test to see if it runs consistently on Jenkins (beast passed 20/20)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1630140 13f79535-47bb-0310-9956-ffa450edef68
2014-10-08 15:23:44 +00:00
Timothy Potter 511996c5ba SOLR-6511: keep track of the node that created the leader-initiated recovery znode, helpful for debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629966 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 19:35:12 +00:00
Adrien Grand 3f99989544 LUCENE-5996: Collections.shuffle(List) is now a forbidden API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629920 13f79535-47bb-0310-9956-ffa450edef68
2014-10-07 16:22:39 +00:00
Anshum Gupta c3c3f29a7d SOLR-6597: Removed SolrIndexConfig parameter from one of the SolrIndexSearcher constructor, where it was never really used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629772 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 21:54:58 +00:00
Timothy Potter d308344af8 SOLR-6511: Better handling of ZooKeeper related exceptions when deciding to start the leader-initiated recovery nag thread
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629720 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 17:50:49 +00:00
Timothy Potter ac7621e607 SOLR-6592: Avoid waiting for the leader to see the down state if that leader is not live.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629719 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 17:50:00 +00:00
Noble Paul e8afe4f5c5 SOLR_-6590
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629624 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 12:16:42 +00:00
Robert Muir 35160fd56a LUCENE-5969: Lucene 5.0 codec, round two
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629499 13f79535-47bb-0310-9956-ffa450edef68
2014-10-05 14:01:13 +00:00
Noble Paul c1fb329601 SOLR-6585
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629433 13f79535-47bb-0310-9956-ffa450edef68
2014-10-04 18:01:03 +00:00
Robert Muir 59a2b79deb merge trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5969@1629403 13f79535-47bb-0310-9956-ffa450edef68
2014-10-04 15:08:32 +00:00
Chris M. Hostetter 72c3b1bdc9 SOLR-5986: comment out failing assertion in TestDistributedSearch until anshum can review/fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629329 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 21:55:24 +00:00
Tomas Eduardo Fernandez Lobbe 26c9773c6c SOLR-6587: Correct exception thrown on bad collection configuration in SolrCloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629305 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 20:16:59 +00:00
Timothy Potter c44e4ee0ff SOLR-6249: support re-establishing a new watcher on the managed schema znode after zk session expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629229 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 15:28:41 +00:00
Shalin Shekhar Mangar bc573db32f SOLR-6530: Reopen the socket proxy after test finishes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629107 13f79535-47bb-0310-9956-ffa450edef68
2014-10-03 03:41:01 +00:00
Anshum Gupta 8a004bc63d SOLR-6564: Fix failing CloudExitableDirectoryReader test in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629062 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 20:30:41 +00:00
Erick Erickson 8091ab7838 SOLR-6577: The ability to add or change arbitrary replica properties must not allow the system properties to be changed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1629033 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 18:15:13 +00:00
Shalin Shekhar Mangar 14a98ba5d5 SOLR-6530: Commits under network partitions can put any node in down state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628945 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 11:31:16 +00:00
Shalin Shekhar Mangar 88f7e7c687 SOLR-6564: Fix failing SolrInfoMBeanTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628927 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 10:34:46 +00:00
Adrien Grand 322b697b03 LUCENE-5984: Remove ChainedFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628923 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 10:20:26 +00:00
Anshum Gupta 359ab18b75 SOLR-6564: Fix failing ExitableDirectoryReader tests for Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628872 13f79535-47bb-0310-9956-ffa450edef68
2014-10-02 00:58:50 +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
Noble Paul c48f927d10 SOLR-6476
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628747 13f79535-47bb-0310-9956-ffa450edef68
2014-10-01 15:58:15 +00:00
Noble Paul 041ea20853 SOLR-6476
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628734 13f79535-47bb-0310-9956-ffa450edef68
2014-10-01 15:20:48 +00:00
Adrien Grand 8f96faf3d3 LUCENE-5938: Add a new sparse fixed bit set and remove ConstantScoreAutoRewrite.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628402 13f79535-47bb-0310-9956-ffa450edef68
2014-09-30 11:52:23 +00:00
Timothy Potter 41f65776d3 SOLR-6511: adjust test logic to account for timing issues in zk session expiration scenario.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628203 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 15:19:13 +00:00
Timothy Potter 975f1b5bff SOLR-6249: Schema API changes return success before all cores are updated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628181 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 13:41:04 +00:00
Robert Muir 24005cdcc5 LUCENE-5969: fix compile/javadocs, tighten up backwards codecs, add more safety to 5.x fields/vectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5969@1628070 13f79535-47bb-0310-9956-ffa450edef68
2014-09-28 14:36:00 +00:00
Anshum Gupta bf85362347 SOLR-6564: Fix failing ExitableDirectoryReader test in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627678 13f79535-47bb-0310-9956-ffa450edef68
2014-09-25 23:17:07 +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
Timothy Potter 3f31f26d3d SOLR-6511: Fencepost error in LeaderInitiatedRecoveryThread; refactor HttpPartitionTest to resolve jenkins failures.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627347 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 15:21:47 +00:00
Noble Paul 16c4a3cd91 SOLR-6453
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627343 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 15:14:16 +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
Ryan Ernst 83cbdfda3d LUCENE-5569: Rename more locations in test classes and comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627258 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 08:47:38 +00:00
Noble Paul 19cd9a06fd diabling the test till it is resolved SOLR-6347
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627215 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 04:32:27 +00:00
Noble Paul e943f4e1e4 diabling the test till it is resolved SOLR-6347
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627214 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 04:26:23 +00:00
Robert Muir 1f7d89668e LUCENE-5969: Add Lucene50Codec (infos, dv, norms)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627187 13f79535-47bb-0310-9956-ffa450edef68
2014-09-24 00:59:50 +00:00
Ryan Ernst 85bf318173 LUCENE-5569: *AtomicReader/AtomicReaderContext have been renamed to *LeafReader/LeafReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627178 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 23:51:55 +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
Shalin Shekhar Mangar cc2baddb76 Add collection name to the error message logged in OCP
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627078 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 16:11:41 +00:00
Robert Muir 1dd2ecb282 LUCENE-5969: move bumping default codec/dv/pf in tests to TestUtil methods, put blocktreeords in rotation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626921 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 00:52:39 +00:00
Chris M. Hostetter 34890299da SOLR-6354: stats.field can now be used to generate stats over the numeric results of arbitrary functions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626856 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 17:45:53 +00:00
Timothy Potter 8a69b1d6cb SOLR-6484: SolrCLI's healthcheck action needs to check live nodes as part of reporting the status of a replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626823 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 16:33:56 +00:00
Timothy Potter 05a55f9786 SOLR-6481: CLUSTERSTATUS action should consult /live_nodes when reporting the state of a replica
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626818 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 16:17:16 +00:00
Timothy Potter e8e49968c9 SOLR-6233: Minor refactorings provided by Steve Davids.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626802 13f79535-47bb-0310-9956-ffa450edef68
2014-09-22 15:11:20 +00:00
Michael McCandless f8a74cb587 LUCENE-5952: better error messages when version fails to parse; use simpler string tokenizer; don't check major versions at such a low level
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626550 13f79535-47bb-0310-9956-ffa450edef68
2014-09-21 09:44:11 +00:00
Anshum Gupta 6824f9b401 SOLR-6544: Fix extra iterations and unwanted arguments in helper methods in DeleteReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626328 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 20:59:15 +00:00
Uwe Schindler 2d67a3d0c4 Fix broken Javascript making jtidy fail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626232 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 14:23:54 +00:00
Shalin Shekhar Mangar 17d39200df Escape tag name in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626227 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 14:22:19 +00:00
Noble Paul 3d9b888f0f SOLR-5473 use zk.clean() instead of zk.delete()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626131 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 06:30:17 +00:00
Noble Paul f16af7afc0 SOLR-6365 <paramSet> renamed to <initParams>
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626045 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 18:45:46 +00:00
Shalin Shekhar Mangar 442f787693 SOLR-6115: Fix enum usage in DeleteReplicaTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625897 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 07:03:57 +00:00
Shalin Shekhar Mangar 237478f09b SOLR-6115: Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and CollectionHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625891 13f79535-47bb-0310-9956-ffa450edef68
2014-09-18 05:43:04 +00:00
Uwe Schindler 7978fccfb0 SOLR-6519: Also allow "single" for HDFS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625731 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 18:36:11 +00:00
Uwe Schindler 6dddd1d6b2 SOLR-6519: Add back "single" lock factory type to StandardDirectoryFactory (to prevent test randomization from failing). Should be discussed in separate issue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625724 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 18:29:22 +00:00
Uwe Schindler 1866163a72 SOLR-6519: Make DirectoryFactory#create() take LockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625644 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 16:30:46 +00:00
Erick Erickson c004edbb7a SOLR-6482: Omitted tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625441 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 00:49:55 +00:00
Yonik Seeley 21bb022d62 SOLR-5302: move analytics component to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625331 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 15:29:54 +00:00
Robert Muir e73e624af5 LUCENE-5949: Add Accountable.getChildResources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625275 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 13:26:55 +00:00
Chris M. Hostetter a0e0d79233 SOLR-6507: Fixed several bugs involving stats.field used with local params
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625163 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 21:00:32 +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
Uwe Schindler 0dcd2f3e65 SOLR-6518: CachingDirectoryFactory subclasses must init directory with NoLockFactory, because the real lock factory gets set later via injectLockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624928 13f79535-47bb-0310-9956-ffa450edef68
2014-09-15 00:49:27 +00:00
Uwe Schindler 3bb1cfb449 Don't use a SimpleFSLockFactory for RAMDirectoryFactory in Solr (fails tests in trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624924 13f79535-47bb-0310-9956-ffa450edef68
2014-09-14 23:26:17 +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 ef634712ca SOLR-5473 removed unused APi, logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624770 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 17:40:59 +00:00
Chris M. Hostetter 4517445467 SOLR-5473, SOLR-5474, SOLR-5810 ... NO SVN KEYWORDS! ! !
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624650 13f79535-47bb-0310-9956-ffa450edef68
2014-09-12 21:12:20 +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
Joel Bernstein 96b166ed06 SOLR-6323: changed overank combined query elevation test.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624394 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 21:13:32 +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
Joel Bernstein 22986445fe SOLR-6323: ReRankingQParserPlugin should handle paging beyond number reranked
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624303 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 14:34:44 +00:00
Robert Muir bb0256f260 LUCENE-5925: use rename instead of segments_N fallback/segments.gen
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624194 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 05:04:06 +00:00
Noble Paul f91b957e52 SOLR-6499
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624181 13f79535-47bb-0310-9956-ffa450edef68
2014-09-11 02:08:13 +00:00
Tomas Eduardo Fernandez Lobbe e51bce7c68 SOLR-6452: StatsComponent's stat 'missing' will work on fields with docValues=true and indexed=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624091 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 18:36:27 +00:00
Uwe Schindler 031fc7d167 Merged revision(s) 1624073 from lucene/dev/branches/branch_4x:
LUCENE-5934: Fix backwards compatibility for 4.0 indexes.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624089 13f79535-47bb-0310-9956-ffa450edef68
2014-09-10 18:21:16 +00:00
Chris M. Hostetter 92f5ad5ea3 SOLR-6493: Fix fq exclusion via ex local param in multivalued stats.field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1623884 13f79535-47bb-0310-9956-ffa450edef68
2014-09-09 23:00:04 +00:00
Erick Erickson 7fbd55f679 SOLR-6187: facet.mincount ignored in range faceting using distributed search
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1623429 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 16:34:23 +00:00
Uwe Schindler 434c1fa913 Fix test to abort, if filesystem does not support non-readable directories (e.g., windows).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622999 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 11:24:08 +00:00
Noble Paul 35aa8a4a45 SOLR-6471 removing unused logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622781 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 20:04:37 +00:00
Noble Paul 6386f1760f SOLR-6471
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622773 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 19:44:45 +00:00
Erick Erickson 5af7459462 SOLR-5322: core discovery can fail w/NPE and no explanation if a non-readable directory exists
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622745 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 17:31:34 +00:00
Timothy Potter f15d6e2b21 SOLR-5098: Support adding field types to managed schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622724 13f79535-47bb-0310-9956-ffa450edef68
2014-09-05 15:33:51 +00:00
Chris M. Hostetter f9a2d653b9 SOLR-5814: CoreContainer reports incorrect & missleading path for solrconfig.xml when there are loading problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622569 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 22:07:28 +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
James Dyer 305d6829a7 SOLR-6297: Fix for Distributed WordBreakSolrSpellChecker
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622476 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 13:57:05 +00:00
Chris M. Hostetter 320f2d1884 SOLR-6024: Fix StatsComponent when using docValues=true multiValued=true (bug only on 4x trunk commit is just test changes demonstrating correct behavior)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622386 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 00:19:56 +00:00
Noble Paul 8306b8a464 SOLR-6365 refactoring and cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622384 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 00:16:31 +00:00
Erick Erickson ee45c14565 SOLR-4580: fix a second problem with stripChroot call
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622339 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 19:51:49 +00:00
Chris M. Hostetter 1eafd0fa43 SOLR-4406: Fix RawResponseWriter to respect 'base' writer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622321 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 19:18:20 +00:00
Mark Robert Miller c52d04197a SOLR-4580: fix strip chroot call.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622319 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 19:15:40 +00:00
Noble Paul fbb8dc76e3 SOLR-6365 NPE bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622168 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 06:10:17 +00:00
Noble Paul 9d05bbfad4 SOLR-6365 multiparamset bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622156 13f79535-47bb-0310-9956-ffa450edef68
2014-09-03 00:35:29 +00:00
Steven Rowe d88b031c89 SOLR-5097: Schema API: Add REST support for adding dynamic fields to the schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622135 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 21:25:05 +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
Robert Muir 7e69874ea5 LUCENE-5915: remove pulsing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621961 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 11:24:24 +00:00
Robert Muir def0ff7983 LUCENE-5858: trunk->branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621957 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 11:02:42 +00:00
Noble Paul 533477efa5 Upgrade Noggit and allow flexible JSON input SOLR-6445
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621934 13f79535-47bb-0310-9956-ffa450edef68
2014-09-02 07:04:51 +00:00
Robert Muir b33100c590 LUCENE-5858: remove conditionals around codec features
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621828 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 15:26:09 +00:00
Robert Muir 704b3fb091 LUCENE-5858: remove remaining unnecessary SuppressCodecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 15:01:49 +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
Timothy Potter 0fc0002f30 SOLR-6443: Disable test that fails on Jenkins until we can determine the problem.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621207 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 21:14:06 +00:00
Timothy Potter f911e03e31 SOLR-6444: Disable test that still fails in Jenkins sometimes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621206 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 21:13:01 +00:00
Timothy Potter f20a9e70bb SOLR-6444: Use distrib=false to ensure real-time get request only hits the replica we're testing for proper recovery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621181 13f79535-47bb-0310-9956-ffa450edef68
2014-08-28 19:03:18 +00:00
Timothy Potter 37af344a04 SOLR-6443: don't close the zk client from the test, possible fix for jenkins failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620946 13f79535-47bb-0310-9956-ffa450edef68
2014-08-27 17:21:27 +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
Chris M. Hostetter 1cd1d47d37 ensure test closes the infoStream it opens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620691 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 18:49:41 +00:00
Ryan Ernst f566386416 LUCENE-5900: More Version cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620509 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 05:19:34 +00:00
Mark Robert Miller e7835ba433 SOLR-6428: Occasional OverseerTest#testOverseerFailure fail due to missing election node.
SOLR-5596: OverseerTest.testOverseerFailure - leader node already exists.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620319 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 13:08:29 +00:00
Mark Robert Miller 50228a76c1 SOLR-6427: HdfsCollectionsAPIDistributedZkTest can fail because it tries to use an hdfs location with the file system based spellchecker which results in it trying to write to an illegal filesystem location.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620303 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 12:18:28 +00:00
Uwe Schindler 489e0373cd Fix forbiddena-apis failure
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620269 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 07:37:53 +00:00
Mark Robert Miller 40eb48bcf3 SOLR-5596: Raise zk client timeout for mock objects.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620247 13f79535-47bb-0310-9956-ffa450edef68
2014-08-25 00:06:04 +00:00
Mark Robert Miller 2bb99e83fa SOLR-6425: If you using the new global hdfs block cache option, you can end up reading corrupt files on file name reuse.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620236 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:26:33 +00:00
Mark Robert Miller c4ef611991 tests: raise connection timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620203 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 21:57:53 +00:00
Mark Robert Miller 62b916cc1f SOLR-6424: Fix test for new default.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620197 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 21:47:50 +00:00
Mark Robert Miller 9b6fa3c109 tests: harden
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620194 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 21:38:34 +00:00
Mark Robert Miller c4679dcd47 SOLR-6424: The hdfs block cache BLOCKCACHE_WRITE_ENABLED is not defaulting to false like it should.
May be related to the SOLR-6423 fail.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620181 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 20:02:09 +00:00
Steven Rowe 0d64c19d18 SOLR-5776: suppress ssl for this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620176 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 19:12:26 +00:00
Mark Robert Miller acee95a8d7 SOLR-6419: The ChaosMonkey tests should use fewers jetty instances on non nightly runs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620167 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 17:36:38 +00:00
Mark Robert Miller ed813910c9 SOLR-6403: TransactionLog replay status logging.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620166 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 17:34:47 +00:00
Mark Robert Miller 8450b95c70 SOLR-6418: ChaosMonkeySafeLeaderTest is to slow on non nightly runs sometimes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620162 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 17:14:18 +00:00
Mark Robert Miller ae086e8103 SOLR-6417: OpenCloseCoreStressTest should be much faster on non nightly runs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620152 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 16:46:16 +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 b673157d2f SOLR-6413: Speed up TriLevelCompositeIdRoutingTest for non nightly runs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620142 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 14:49:05 +00:00
Mark Robert Miller b7617e4685 SOLR-6412: Speed up OverseerRolesTest for non nightly runs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620140 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 14:40:21 +00:00
Joel Bernstein 81d38f9a90 SOLR-6407: SortingResponseWriter String sorting broken on single segment indexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620029 13f79535-47bb-0310-9956-ffa450edef68
2014-08-23 14:08:56 +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 aad543ee1e SOLR-6402: Only exit the thread loop on a KeeperException if it's expiration.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619792 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 13:05:25 +00:00
Joel Bernstein 2d7427dd07 SOLR-5244: Exporting Full Sorted Result Sets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619783 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 12:40:39 +00:00
Mark Robert Miller 8154a8086a SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619641 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 01:20:18 +00:00
Mark Robert Miller 93b33b5fdb SOLR-4895: An error should be returned when a rollback is attempted in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619637 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 00:11:00 +00:00
Michael McCandless 4a485d6877 LUCENE-5889: add commit method to AnalyzingInfixSuggester
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619635 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 00:07:15 +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 8e69f04527 SOLR-6089: When using the HDFS block cache, when a file is deleted, it's underlying data entries in the block cache are not removed, which is a problem with the global block cache option.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619427 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:03:29 +00:00
Mark Robert Miller e681856c55 SOLR-6268: HdfsUpdateLog has a race condition that can expose a closed HDFS FileSystem instance and should close it's FileSystem instance if either inherited close method is called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619402 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 14:16:07 +00:00
Anshum Gupta 8af2ef5345 SOLR-6391: Improve message for CREATECOLLECTION failure due to missing numShards
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619263 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 23:20:28 +00:00
Mark Robert Miller cdd0fe7f8d SOLR-6393: TransactionLog replay performance on HDFS is very poor.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619200 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 18:46:27 +00:00
Chris M. Hostetter cac2292ce0 SOLR-6178: backout deprecation until we have a diff default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619172 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 17:31:08 +00:00