Commit Graph

17930 Commits

Author SHA1 Message Date
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
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
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
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
Simon Willnauer 1a84b76403 LUCENE-5146: AnalyzingSuggester sort order doesn't respect the actual weight
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508382 13f79535-47bb-0310-9956-ffa450edef68
2013-07-30 10:45:38 +00:00
Uwe Schindler 82a5f35c20 SOLR-5082: The encoding of URL-encoded query parameters can be changed with the "ie" (input encoding) parameter, e.g. "select?q=m%FCller&ie=ISO-8859-1". The default is UTF-8. To change the encoding of POSTed content, use the "Content-Type" HTTP header
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 23:24:22 +00:00
Mark Robert Miller 0036ab6eca tweak connect timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508191 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 19:40:08 +00:00
Shai Erera 72cf725675 remove TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508178 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 18:54:33 +00:00
Michael McCandless 9196c5fa97 evil up this test a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508162 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 18:23:29 +00:00
Robert Muir 02a2f383b2 LUCENE-5127: FixedGapTermsIndex should use monotonic compression
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508147 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:34:52 +00:00
Robert Muir a16d24160f unbreak jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1508137 13f79535-47bb-0310-9956-ffa450edef68
2013-07-29 17:08:38 +00:00