Commit Graph

18218 Commits

Author SHA1 Message Date
Mark Robert Miller d0bb1cc471 SOLR-5164: add relative solr.home testing to some tests, explicitly check for expected instanceDir handling with relative solr.home
SOLR-5099: explicity check for proper solrcore.properties creation
Speed up some tests by setting leaderVoteWait to 0

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514857 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 19:12:29 +00:00
Chris M. Hostetter d9ad5bfb76 make RandomMergePolicy log what MP it is wrapping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514815 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:41:44 +00:00
Steven Rowe 3c1ab20726 SOLR-5159: fix typo in CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514814 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:41:39 +00:00
Steven Rowe 6f6981a94e SOLR-5159: Manifest includes non-parsed maven variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514813 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:39:31 +00:00
Erick Erickson 55142ef165 SOLR-4718 Allow solr.xml to be stored in ZooKeeper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514800 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:16:02 +00:00
Chris M. Hostetter 3399d7ec73 SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514795 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 17:14:02 +00:00
Erick Erickson b8097e9e53 SOLR-5156 Provide a way to move the contents of a file to ZooKeeper with ZkCLI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514776 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 16:30:17 +00:00
Robert Muir 7a4f7c669b Merged /lucene/dev/trunk:r1514641-1514711
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514719 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 14:11:27 +00:00
Michael McCandless f7d2ac0b0d LUCENE-4583: IndexWriter no longer places a limit on length of DV binary fields (individual codecs still have their limits, including the default codec)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514669 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 12:04:58 +00:00
Erick Erickson fd9ae25cd1 SOLR-5164, Can not create a collection via collections API (cloud mode). Fixes SOLR-5099 too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514666 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 12:01:06 +00:00
Robert Muir 3be8ed1d10 LUCENE-5178: add 'missing' support to docvalues (simpletext only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514642 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 10:25:38 +00:00
Robert Muir 1c982a5f56 create branch
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5178@1514641 13f79535-47bb-0310-9956-ffa450edef68
2013-08-16 10:24:36 +00:00
Michael McCandless 51da0631c0 LUCENE-5152: make assert less costly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514520 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 22:42:54 +00:00
Chris M. Hostetter f02170a048 SOLR-5122: fix javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514494 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 21:07:16 +00:00
Chris M. Hostetter 1b3b9294cc SOLR-5122: Fixed bug in spellcheck.collateMaxCollectDocs. Eliminates risk of divide by zero, and makes estimated hit counts meaningful in non-optimized indexes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514402 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:50:30 +00:00
Chris M. Hostetter aad060e066 SOLR-4952: SolrCmdDistributorTest needs to force MergePolicy for consistent optimize() behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514377 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 17:04:48 +00:00
Robert Muir 286bb69c83 LUCENE-5166: also fix and test this case where tf > 1 within the passage for a term
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514367 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 16:52:15 +00:00
Han Jiang dd1070cd2b LUCENE-3069: API refactoring on BlockTerms dict
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1514253 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 13:15:46 +00:00
Uwe Schindler f4356a30fe LUCENE-5176: Reuse new AllDeletedFilterReader in TestAddIndexes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514183 13f79535-47bb-0310-9956-ffa450edef68
2013-08-15 07:01:25 +00:00
Chris M. Hostetter da18c280f0 Simple init logging of processor chains
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514053 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 21:23:15 +00:00
Robert Muir d686fd8f02 LUCENE-5176: remove _TestUtil.keepFullyDeletedSegments
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514052 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 21:20:04 +00:00
Chris M. Hostetter a5c0445b88 cleanup TestSolrCoreProperties so that it's less hackish and absurd -- and while we're at it, close the book on SOLR-4952
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513996 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 18:11:45 +00:00
Robert Muir 2ecb5843b0 SOLR-5144: add test that failed on 4.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513962 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:56:55 +00:00
Robert Muir fe938c64ed LUCENE-5173: add checkindex piece of LUCENE-5116, prevent 0 document segments completely
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513955 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:43:22 +00:00
Robert Muir 1f3159af08 SOLR-4764: When using NRT, just init the reader from IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513945 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 16:09:49 +00:00
Michael McCandless c74dda1495 LUCENE-5165: add SuggestStopFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513940 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 15:55:43 +00:00
Mark Robert Miller cec43e7d92 tests: clear more statics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513934 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 15:37:56 +00:00
Uwe Schindler 8376eddf50 LUCENE-5170: Remove deprecated code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513914 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 14:52:37 +00:00
Uwe Schindler 8bac549ce3 LUCENE-5170: Add getter for reuse strategy to Analyzer, make AnalyzerWrapper's reuse strategy configurable, fix strategy to be stateless
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513903 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 14:41:36 +00:00
Mark Robert Miller 97b418391f SOLR-5135: Harden Collection API deletion of /collections/$collection ZooKeeper node
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513864 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 13:11:14 +00:00
Mark Robert Miller b03231693d SOLR-5134: Fix CHANGES and close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513859 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 13:02:22 +00:00
Mark Robert Miller ea5e5616f0 SOLR-5134: Have HdfsIndexOutput extend BufferedIndexOutput.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513825 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 12:07:35 +00:00
Mark Robert Miller 2e12d5635e SOLR-5133: HdfsUpdateLog can fail to close a FileSystem instance if init is called more than once.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513822 13f79535-47bb-0310-9956-ffa450edef68
2013-08-14 11:57:20 +00:00
Chris M. Hostetter 6edd62d433 SOLR-4952: solrconfig.snippet.randomindexconfig.xml used in more configs, including eliminating TestPluginEnable and folding it into TestConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513691 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 23:20:31 +00:00
Yonik Seeley 07b5204a77 tests: disable FullSolrCloudDistribCmdsTest during investigation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513649 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 21:01:14 +00:00
Erick Erickson 70ff6392b4 SOLR-5141. lucene.IOUtils needs to be available for VelocityResopnseWriter in IntelliJ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513628 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 19:54:20 +00:00
Chris M. Hostetter 960e49b288 SOLR-4952: get all manged schema tests using solrconfig.snippet.randomindexconfig.xml - mainly by removing several solrconfig-*-managed-schema.xml files and using sys props in solrconfig-managed-schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513611 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:37:26 +00:00
Yonik Seeley 44e9caa1e1 docs: make javadoc happy with new package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513604 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 18:17:31 +00:00
Yonik Seeley 685139d964 tests: don't log expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513598 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 17:55:32 +00:00
Chris M. Hostetter 1c413be194 SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in the QueryElevation tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513586 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 16:30:34 +00:00
Uwe Schindler 7e15dcb8b3 LUCENE-5116: Simplify test to use MatchNoBits instead own impl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513487 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 13:45:55 +00:00
Han Jiang 134cfe0b29 merge missing dirs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1513364 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 06:33:29 +00:00
Noble Paul 2baecc2713 SOLR-5017 support for routeField in COmpositeId router also
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513356 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 05:49:17 +00:00
Han Jiang 8a71c44320 LUCENE-3069: merge trunk changes over
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1513336 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 04:06:18 +00:00
Chris M. Hostetter a0ab76a95c SOLR-4952: make TestConfig use solrconfig.snippet.randomindexconfig.xml - this involved moving some 'default' tests arround, prunning down solrconfig-termindex.xml, and renaming solrconfig-termindex.xml -> solrconfig-test-misc.xml since the mane 'termindex' made no sense for what it is used for
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513312 13f79535-47bb-0310-9956-ffa450edef68
2013-08-13 01:40:57 +00:00
Chris M. Hostetter 7ed9edb532 SOLR-5140: pin TestGroupingSearch to use LogDocMergePolicy for predictable 'unordered' results
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513297 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 23:40:12 +00:00
Yonik Seeley f28864213f SOLR-3076: block join parent and child queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513290 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 22:52:57 +00:00
Steven Rowe d4c20941c9 SOLR-5119: Managed schema problems after adding fields via Schema Rest API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513238 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:16:37 +00:00
Steven Rowe 7a42fbecbd fix typo: "seffkes"->"steffkes"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513235 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 20:11:39 +00:00
Robert Muir 1216f64e25 LUCENE-5166: PostingsHighlighter fails with IndexOutOfBoundsException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1513207 13f79535-47bb-0310-9956-ffa450edef68
2013-08-12 17:47:09 +00:00