Commit Graph

18062 Commits

Author SHA1 Message Date
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
Robert Muir 598e546bf4 LUCENE-5154: fix test to use getTempDir instead of CWD
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508717 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 03:56:01 +00:00
Han Jiang 004e4b75bc refactor & cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508710 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 02:04:37 +00:00
Han Jiang f957c7648c LUCENE-3069: add TempFSTOrd, with FST index + specialized block
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3069@1508705 13f79535-47bb-0310-9956-ffa450edef68
2013-07-31 01:42:24 +00:00
Chris M. Hostetter a3bcddbb1c SOLR-5094: Fix order of setup in TestJmxIntegration so MBean server is running before Solr init. Also fixes SOLR-4418
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508661 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 21:58:54 +00:00
Shai Erera a3b8cb3d8e LUCENE-5153: Allow wrapping Reader from AnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508622 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:45:08 +00:00
Robert Muir e579cc68ea fix test not to generate nullreaders > 10, since it always asserts bulk reads from that position
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508604 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 20:19:15 +00:00
Chris M. Hostetter c78b4f80bb SOLR-4951: Better randomization of MergePolicy in Solr tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508521 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 16:57:37 +00:00
Erick Erickson 460a1be8a9 SOLR-5087, CoreAdminHandler.handleMergeAction generating NullPointerException. Thanks Patrick
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508476 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 14:51:56 +00:00
Simon Willnauer 4d29e7e20e LUCENE-5149: CommonTermsQuery should allow minNrShouldMatch for high & low freq terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508453 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 14:08:14 +00:00
Shai Erera 6ec978de46 LUCENE-5151: Associations aggregators enter an infinite loop if some documents have no category associations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508440 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 13:53:38 +00:00
Adrien Grand 2c5856cf25 LUCENE-5145: AppendingPackedLongBuffer and added suport for bulk get operations to the Appending*Buffers.
Introduced bulk retrieval to AbstractAppendingLongBuffer
classes, for faster retrieval. Introduced a new variant,
AppendingPackedLongBuffer which solely relies on PackedInts as a backend.
This new class is useful where people have non-negative numbers with a
uniform distribution over a fixed (limited) range. Ex. facets ordinals. To
distinguish it from AppendingPackedLongBuffer, delta based
AppendingLongBuffer was renamed to AppendingDeltaPackedLongBuffer Fixed an
Issue with NullReader where it didn't respect it's valueCount in bulk gets.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508423 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 12:42:39 +00:00
Michael McCandless 3bff59a588 allow -1 from Fields.size()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508418 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 12:34:16 +00:00