Commit Graph

17875 Commits

Author SHA1 Message Date
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
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
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
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
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
Uwe Schindler 91b24b9da3 LUCENE-5164: Remove deprecated stuff in trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512951 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 14:56:27 +00:00
Uwe Schindler e9e349b32b LUCENE-5164: Fix default chunk sizes in FSDirectory to not be unnecessarily large (now 8192 bytes); also use chunking when writing to index files. FSDirectory#setReadChunkSize() is now deprecated and will be removed in Lucene 5.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512937 13f79535-47bb-0310-9956-ffa450edef68
2013-08-11 14:27:02 +00:00
Robert Muir baea2a94a3 LUCENE-5160: move CHANGES entry to the correct version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512728 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 14:28:41 +00:00
Robert Muir 51314afdd4 LUCENE-5161: set sane default readChunkSizes, make the setter work, and test the chunking
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512723 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 14:24:42 +00:00
Yonik Seeley 0e332a923d fix comment typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512697 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 13:35:42 +00:00
Robert Muir 9cb38dd42a LUCENE-5159: prefix-code the sorted/sortedset value dictionaries in DiskDV
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512543 13f79535-47bb-0310-9956-ffa450edef68
2013-08-10 00:37:41 +00:00
Mark Robert Miller b2070fefbc SOLR-5121: zkcli usage help for makepath doesn't match actual command.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512435 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 18:32:03 +00:00
Adrien Grand e769865d37 LUCENE-5150: Better compression of dense sets with WAH8DocIdSet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512422 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 18:00:43 +00:00
Dawid Weiss 47c5d59d85 SOLR-4708: one more follow-up to a class that didn't extend from the base Solr test class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512322 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 14:32:48 +00:00
Uwe Schindler 57acbcfd00 SOLR-4679, SOLR-4908, SOLR-5124: Text extracted from HTML or PDF files using Solr Cell was missing ignorable whitespace, which is inserted by TIKA for convenience to support plain text extraction without using the HTML elements. This bug resulted in glued words.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512296 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 13:26:55 +00:00
Dawid Weiss 25bd977a3c SOLR-4708: a follow-up commit that disables the clustering component in tests. This is needed because core tests are executed before the contribs are compiled so certain classes are not yet available (unless you already have them locally). An alternative would be to compile everything before any tests are executed, but it seems that it'd add an extra unnecessary overhead to every build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512278 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 12:15:59 +00:00
Dawid Weiss 0fd1bed95b SOLR-4708: Enable ClusteringComponent by default in collection1 example.
The solr.clustering.enabled system property is set to 'true' by default.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512227 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 09:42:57 +00:00
Dawid Weiss b40f603f46 SOLR-5126: Update Carrot2 clustering to version 3.8.0, update Morfologik to version 1.7.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512203 13f79535-47bb-0310-9956-ffa450edef68
2013-08-09 08:39:21 +00:00
Grant Ingersoll 8177498c86 LUCENE-5160: check for -1 return conditions in file reads
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1512011 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 20:07:18 +00:00