Commit Graph

18074 Commits

Author SHA1 Message Date
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
Chris M. Hostetter 3231e204c4 SOLR-4952: TestIndexSearcher.testReopen needs fixed segment merging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511954 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 19:03:40 +00:00
Noble Paul 5a7ea774fd SOLR-5113 setting svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511715 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 11:54:19 +00:00
Noble Paul f7399ac9b8 SOLR-5113
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511633 13f79535-47bb-0310-9956-ffa450edef68
2013-08-08 09:06:34 +00:00
Chris M. Hostetter 131cd87bcf SOLR-5122: disble testEstimatedHitCounts until issue with inordered collection can be dealt with
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511539 13f79535-47bb-0310-9956-ffa450edef68
2013-08-07 23:48:20 +00:00
Chris M. Hostetter 1cd55ea231 Kill IndexReaderFactoryTest: the only thing it asserts is a lie. Move that (fixed) assertion to AlternateDirectoryTest where it's already true.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511142 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:52:08 +00:00
Chris M. Hostetter a4d0cd434f SOLR-4952: TestSolrDeletionPolicy2 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511138 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:26:50 +00:00
Chris M. Hostetter c19a5527d8 SOLR-4952: get SolrCoreCheckLockOnStartupTest using solrconfig.snippet.randomindexconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511134 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 22:13:40 +00:00
Chris M. Hostetter e778f261ad SOLR-4952: TestSolrDeletionPolicy1 can't directly use solrconfig.snippet.randomindexconfig.xml - but it can leverage the random sys props directly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511128 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:43:54 +00:00
Chris M. Hostetter b5152fcfc2 SOLR-4952: missed the repeater config used in TestReplicationHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511123 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 21:28:25 +00:00
Chris M. Hostetter eb104d2190 SOLR-5107: Fixed NPE when using numTerms=0 in LukeRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511064 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 18:26:27 +00:00
Chris M. Hostetter 8256f80523 SOLR-4952: ConvertedLegacyTest shouldn't assuming an absolute score now that we are randomizing merge policy settings, term stats may fluctuate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511044 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 17:23:52 +00:00
Robert Muir e375cfa331 LUCENE-5156: remove seek-by-ord from CompressingTermVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511009 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 15:50:50 +00:00
Chris M. Hostetter 74549edd2f SOLR-4952: fix DirectUpdateHandlerTest, it can't handle RandomMergePolicy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510853 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 04:45:02 +00:00
Chris M. Hostetter 80fb94c647 SOLR-4952: get TestReplicationHandler using solrconfig.snippet.randomindexconfig.xml. This also fixes NumericFieldsTest and TestBinaryField which were using the replication configs for no explicable reason, and since i needed to fix TestBinaryField anyway, i simplified it to use SolrJettyTestBase instead of it's own kludgy setup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510838 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 02:04:42 +00:00
Chris M. Hostetter c12875f84e SOLR-5118: beef up assertions in SolrIndexConfigTest, this allows us to remove TestPropInject and TestPropInjectDefaults -- neither of which were testing property injection (tested elsewhere) but were doing some basic assertions on the parsing & init of merge policy and merge scheduler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510830 13f79535-47bb-0310-9956-ffa450edef68
2013-08-06 00:38:10 +00:00
Chris M. Hostetter 6c8e6e00f3 SOLR-4952: use solrconfig.snippet.randomindexconfig.xml in solrconfig.xml and crazy-path-to-config.xml; this included removing some unneccessary checks for indexConfig settings that already have their own explicit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510802 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 23:17:39 +00:00
Chris M. Hostetter 26a914558b SOLR-2570: randomize more indexConfig settings in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510637 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 18:18:39 +00:00
Michael McCandless acaa4eab02 fix exc messages
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510617 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 17:35:04 +00:00
Noble Paul e021a1a7b3 updating CHANGES.txt regarding deprecation of shar.keys' param SOLR-5017
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510420 13f79535-47bb-0310-9956-ffa450edef68
2013-08-05 10:30:47 +00:00
Uwe Schindler 6465385110 SOLR-5113: Disable test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1510073 13f79535-47bb-0310-9956-ffa450edef68
2013-08-03 22:49:10 +00:00
Simon Willnauer 95b806b296 LUCENE-5152: Fix MemoryPostingsFormat to not modify borrowed BytesRef from FSTEnum
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509805 13f79535-47bb-0310-9956-ffa450edef68
2013-08-02 18:54:25 +00:00
Shai Erera 756892f037 some javadocs and comments improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509380 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 18:42:11 +00:00
Chris M. Hostetter 9f72a776bd SOLR-4953: Make XML Configuration parsing fail if an xpath matches multiple nodes when only a single value is expected.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509359 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 18:18:10 +00:00
Shai Erera 96c161f11f LUCENE-5155: add OrdinalValueResolver
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1509152 13f79535-47bb-0310-9956-ffa450edef68
2013-08-01 10:01:38 +00:00
Noble Paul e5045d5538 SOLR-4221 SOLR-4808 SOLR-5006 SOLR-5017 SOLR-4222
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508968 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 17:53:02 +00:00
Han Jiang 12b2b47477 clean up codes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508817 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 11:42:36 +00:00
Adrien Grand 1d603a9f87 LUCENE-5140: Fixed performance regression of span queries caused by LUCENE-4946.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508757 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 07:51:41 +00:00
Han Jiang e388e20c1d LUCENE-3069: introduce intersect() to TempFSTOrd
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508744 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 07:15:00 +00:00
Robert Muir ecf245459b LUCENE-5154: move test logging config to where it will actually work in solrj tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508721 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:58:17 +00:00
Robert Muir a879da2b73 LUCENE-5154: fix test to use getTempDir instead of CWD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508719 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:57:08 +00:00