Commit Graph

4501 Commits

Author SHA1 Message Date
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
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 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
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
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
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
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
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
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
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
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
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
Uwe Schindler 2902c40cfd SOLR-5083: Move JDK-1.0-style hidden classes into inner classes of SolrRequestParsers (to prevent uptodate javac bugs)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507742 13f79535-47bb-0310-9956-ffa450edef68
2013-07-27 23:15:10 +00:00
David Wayne Smiley bd455f46da SOLR-2345: geodist support for RPT
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507409 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 19:37:14 +00:00
Han Jiang 92021404d4 LUCENE-5138: remove executable attr from java files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507313 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 13:51:38 +00:00
Steven Rowe 9e24e586bc Add tradmmark signs in generated documentation pages for Lucene and Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507224 13f79535-47bb-0310-9956-ffa450edef68
2013-07-26 09:00:27 +00:00
James Dyer e4cba1525b SOLR-4489: fix StringIndexOutOfBoundsException in SpellCheckComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1507042 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 16:04:03 +00:00
David Wayne Smiley 47bf70812b LUCENE-5118: multiplier to spatial makeDistanceValueSource
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506632 13f79535-47bb-0310-9956-ffa450edef68
2013-07-24 17:20:10 +00:00
Alan Woodward 30d15988b3 SOLR-5056: Further cleanup of ConfigSolr API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1506020 13f79535-47bb-0310-9956-ffa450edef68
2013-07-23 12:53:31 +00:00
Chris M. Hostetter a17ba3674e improve TestXIncludeConfig to also check entity includes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1505747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-22 17:55:08 +00:00
Steven Rowe fbfd8a9d4f SOLR-5037: The CSV loader now accepts field names that are not in the schema.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504747 13f79535-47bb-0310-9956-ffa450edef68
2013-07-19 02:14:59 +00:00
Chris M. Hostetter 8928d3d351 SOLR-5048: fail the build if the example solrconfig.xml files do not have an up to date luceneMatchVersion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504570 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 17:57:48 +00:00
Chris M. Hostetter 026c9523bd SOLR-5049: use '5.0' as luceneMatchVersion in all example solrconfig.xml files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504566 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 17:44:04 +00:00
Michael McCandless 97fb0209ce LUCENE-5030: FuzzySuggester can optionally measure edits in Unicode code points instead of UTF8 bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504490 13f79535-47bb-0310-9956-ffa450edef68
2013-07-18 14:36:34 +00:00
Mark Robert Miller dbbc4261b7 SOLR-4990: Beef up BasicHdfsTest and rename it to StressHdfsTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504236 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 19:14:16 +00:00
Stefan Matheis fefa4517c9 SOLR-5044: Admin UI - Note on Core-Admin about directories while creating core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1504026 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 07:22:10 +00:00
Stefan Matheis f15074e704 SOLR-3633 - web UI reports an error if CoreAdminHandler says there are no SolrCores
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503853 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 19:54:52 +00:00
Michael McCandless 360452940e LUCENE-5114: remove unused useCache param
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503805 13f79535-47bb-0310-9956-ffa450edef68
2013-07-16 17:44:10 +00:00
Erick Erickson 97bc5ffe55 Moved SOLR-5039 to proper section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503335 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 16:53:23 +00:00
Shalin Shekhar Mangar 69049b99fa SOLR-4997: Skip log recovery for sub shard leaders only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503328 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 16:47:48 +00:00
Steven Rowe 3c43636281 SOLR-4894: fix error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503275 13f79535-47bb-0310-9956-ffa450edef68
2013-07-15 14:45:37 +00:00
Shalin Shekhar Mangar e5fc7da2a2 SOLR-4997: Call commit before checking shard consistency
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1503019 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 18:41:40 +00:00
Erick Erickson 5513f48c87 fix for SOLR-5039, admin/schema browser displaying -1 for unique terms on multiValued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502959 13f79535-47bb-0310-9956-ffa450edef68
2013-07-14 11:41:45 +00:00
David Wayne Smiley d2a2cc12dc SOLR-5034: A facet.query that parses or analyzes down to a null Query would throw a NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502730 13f79535-47bb-0310-9956-ffa450edef68
2013-07-13 00:05:10 +00:00
Uwe Schindler 40968cf653 LUCENE-5107: Properties files by Lucene are now written in UTF-8 encoding, Unicode is no longer escaped. Reading of legacy properties files with \u escapes is still possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 17:10:22 +00:00
Alan Woodward bc645837a2 SOLR-4914: Close input streams as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502507 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 10:50:31 +00:00
Uwe Schindler fbee7ef942 Refactor forbidden-apis a bit to make it easier to add new signatures, no need to have so many files slowing down the build; add Properties file rules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502493 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 09:35:40 +00:00
Uwe Schindler 50ae2f9d8a Fix warnings in forbidden-apis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502484 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:57:56 +00:00
Alan Woodward 8b0a481fd3 SOLR-4914: Use Properties.store(OutputStream, String) for back compatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502481 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:55:04 +00:00
Alan Woodward 3f8064c90a SOLR-4914: Close OutputStreamWriter properly, use System.getProperty("line.separator") instead of \n
Fixes Windows test failures.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502468 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 08:25:36 +00:00
Shalin Shekhar Mangar 506a7924e1 SOLR-4997: The splitshard api doesn't call commit on new sub shards before switching shard states. Multiple bugs related to sub shard recovery and replication are also fixed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502458 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:32:13 +00:00
Alan Woodward 5a42052fba SOLR-4914: Factor out core discovery and persistence logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Grant Ingersoll aade0000a6 SOLR-5010: single field handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502247 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 15:31:58 +00:00
Alan Woodward 417f1ba3b4 SOLR-5028,SOLR-5029: Fix ShardHandlerFactory creation and persistence
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502231 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 14:15:35 +00:00
Uwe Schindler 748cb61e82 SOLR-4916: Fix bugs & usage of NullIndexOutput
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502167 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 09:34:36 +00:00
Steven Rowe b2bc345a60 SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Yonik Seeley 90d792dd1d tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502006 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 21:19:26 +00:00
Yonik Seeley 884ed33b39 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501978 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:43:41 +00:00
Yonik Seeley 020d816f42 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501967 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:28:01 +00:00
Yonik Seeley 9a77cfbba0 tests: ignore expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501950 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 20:06:06 +00:00
Yonik Seeley ed9d17b991 tests: use json utility method for single quoted json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501941 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:54:21 +00:00
Yonik Seeley 8607f3b76e tests: add regex capability to JSON test format
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501933 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:34:56 +00:00
Mark Robert Miller 7d1e3ba363 SOLR-5018: The Overseer should avoid publishing the state for collections that do not exist under the /collections zk node.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501916 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 19:06:27 +00:00
Mark Robert Miller 6455dec1e0 SOLR-4943: Add a new system wide info admin handler that exposes the system info that could previously only be retrieved using a SolrCore.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501898 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 18:28:00 +00:00
Erik Hatcher c3bc304aaf SOLR-4991: Register QParserPlugins as SolrInfoMBeans
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501863 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 17:27:08 +00:00
Yonik Seeley 7f1765f1fa tests: use single quoted json for readability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501809 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:54:35 +00:00
Mark Robert Miller 2310ab22f0 SOLR-5026: org.apache.solr.store.blockcache.BlockDirectoryTest.testRandomAccessWrites would pass a 0 to random#next on 0 file size
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501781 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 15:05:52 +00:00
Grant Ingersoll f007cde66d SOLR-5010: switch to lists for copy fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501715 13f79535-47bb-0310-9956-ffa450edef68
2013-07-10 10:55:38 +00:00
Yonik Seeley 4617b8da89 tests: don't log expected exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501498 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 19:50:34 +00:00
Yonik Seeley fd914505ea SOLR-5020: add DelegatingCollector.final()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501376 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 16:54:55 +00:00
Uwe Schindler 2734af0c56 SOLR-5022: Make it possible to disable HDFS tests on ANT command line (so ASF Jenkins can use it). Windows is disabled by default, too.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501278 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 14:08:48 +00:00
Steven Rowe e52e98e2f7 Add Lucene 4.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501091 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 05:12:38 +00:00
Steven Rowe 8ad221ee8e SOLR-5010: tweak CHANGES.txt entry to refer to full copyFields creation capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501054 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 03:46:11 +00:00
Grant Ingersoll 450854e0c5 SOLR-5010: clean up plus POST support on schema/copyfields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501047 13f79535-47bb-0310-9956-ffa450edef68
2013-07-09 02:24:39 +00:00
Robert Muir 20a6de0241 SOLR-5012: optimize search with filter when filterCache is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1501004 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 23:05:58 +00:00
Yonik Seeley 5b257ac4df SOLR-5019: don't modify original filter list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500903 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 19:39:42 +00:00
Uwe Schindler f092795fe9 LUCENE-5097: Analyzer now has an additional tokenStream(String fieldName, String text) method, so wrapping by StringReader for common use is no longer needed. This method uses an internal reuseable reader, which was previously only used by the Field class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500862 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 17:55:48 +00:00
Grant Ingersoll 33d014f3aa SOLR-5010: add copy field support to the REST API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500737 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 14:00:23 +00:00
Shalin Shekhar Mangar 6e638c8460 SOLR-4978: Time is stripped from datetime column when imported into Solr date field if convertType=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500666 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:30:40 +00:00
Shalin Shekhar Mangar e98616b8f1 SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time is empty
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500652 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:11:58 +00:00
Erick Erickson 89ea939a4a Fix broken test checked in with SOLR-4982
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500354 13f79535-47bb-0310-9956-ffa450edef68
2013-07-07 02:25:49 +00:00
Alan Woodward 1402e51c70 Move SOLR-4948 CHANGES.txt entry to 4.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500316 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 19:30:36 +00:00
Erick Erickson 3b640360fd Fix for SOLR-4982, creating cores with sysprops does not dereference them properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500284 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 14:45:47 +00:00
Uwe Schindler 0f3e2dd245 Fix broken generics
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500243 13f79535-47bb-0310-9956-ffa450edef68
2013-07-06 11:48:02 +00:00
Uwe Schindler f134d0856b SOLR-5009: CHANGES.txt now only list SOLR-5009 as part of SOLR-4948
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500166 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 23:15:07 +00:00
Uwe Schindler 852b1c79f3 SOLR-5009: fix issue number
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500157 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:56:45 +00:00
Uwe Schindler 568f6a398a SOLR-5009: Don't create multiple SolrResourceLoaders for same Solr home, wasting resources and slowing down startup. This fixes the problem where the loader was not correctly closed, making tests fail on Windows.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500156 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 22:45:28 +00:00
Robert Muir a278bb6628 SOLR-5002: optimize numDocs(Query,DocSet) when filterCache is null
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500102 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 19:03:16 +00:00
Grant Ingersoll b119be488a SOLR-5003: add rowidOffset as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500097 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 18:51:16 +00:00
Grant Ingersoll 218856ac6d SOLR-5003: add rowid (line number) option to CSV Loader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500046 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 15:30:42 +00:00
Mark Robert Miller a69b1b0e3d SOLR-5007: clean up resource management
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499894 13f79535-47bb-0310-9956-ffa450edef68
2013-07-05 01:00:50 +00:00
Mark Robert Miller 40f9475570 SOLR-4916: Fix NOTICE - take Solr entry out of Lucene section
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499842 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 18:55:06 +00:00
Shalin Shekhar Mangar dcbc79ce15 SOLR-4693: A "deleteshard" collections API that unloads all replicas of a given shard and then removes it from the cluster state. It will remove only those shards which are INACTIVE or have no range (created for custom sharding).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499655 13f79535-47bb-0310-9956-ffa450edef68
2013-07-04 05:04:21 +00:00
Steven Rowe e76d6599d9 SOLR-5000: ManagedIndexSchema doesn't persist uniqueKey tag after calling addFields method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499578 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 22:07:51 +00:00
Mark Robert Miller 7dc5d67fe4 SOLR-4916: Merge out separate hdfs solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499472 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 16:49:04 +00:00
Dawid Weiss efc6826ed8 LUCENE-5089: Update to Morfologik 1.6.0. MorfologikAnalyzer and MorfologikFilter no longer support multiple "dictionaries" as there is only one dictionary available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499352 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 12:14:50 +00:00
Jan Høydahl e2fc82a978 SOLR-4986: Upgrade to Tika 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499338 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 11:49:59 +00:00
Stefan Matheis d34a8fdaba SOLR-4815: Admin-UI - DIH: Let "commit" be checked by default
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499252 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 08:21:49 +00:00
Jan Høydahl 756e541620 SOLR-4452: Hunspell stemmer should not merge duplicate dictionary entries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499164 13f79535-47bb-0310-9956-ffa450edef68
2013-07-03 00:36:19 +00:00
Erick Erickson 42ca89d233 Fixing another file separator issue, test only
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499074 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 19:44:46 +00:00
Robert Muir 618cae1092 SOLR-4985: fix luceneMatchVersion in example config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1499017 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 16:59:02 +00:00
Shalin Shekhar Mangar b7203642fe SOLR-3369: shards.tolerant=true is broken for group queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498992 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 16:10:16 +00:00
Alan Woodward f38c5163cc SOLR-4948: Tidy up CoreContainer construction logic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498990 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:50:49 +00:00
Jan Høydahl 42b3251408 SOLR-4412: LanguageIdentifier lcmap for language field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498959 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:38:47 +00:00
Robert Muir 5f678a0e23 SOLR-4977: add back this null check, getConfig calls ensureOpen...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498957 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:37:55 +00:00
Robert Muir 28b372ad47 SOLR-4977: remove deprecated option
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498956 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:36:44 +00:00
Jan Høydahl 0a2107b5d7 SOLR-4412: Added comments about variant to schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498948 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:17:12 +00:00
Robert Muir 6b1cbf2d40 LUCENE-5087: Add getMultiValuedSeparator to PostingsHighlighter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498945 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 14:08:26 +00:00
Robert Muir 7b5c09d061 SOLR-4977: Add option to send infostream to the logging system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498936 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 13:34:12 +00:00
Shalin Shekhar Mangar c100f376f0 SOLR-4933: Retry splitshard three times before giving up
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498923 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 13:22:50 +00:00
Mark Robert Miller 1c81ad7022 SOLR-4655: Add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498767 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:31:00 +00:00
Mark Robert Miller e6497c1a9a SOLR-4933: if shard split fails with 500, wait a while to see if it succeeds on a retry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498763 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 03:10:43 +00:00
Mark Robert Miller 1829c3a811 SOLR-4981: Don't try and sync after SyncStrategy is closed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498760 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 02:39:37 +00:00
Yonik Seeley 65d565b188 tests: force FS in the test method rather than for all replication test methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498704 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 21:33:19 +00:00
Yonik Seeley ecd53b8018 tests: disable MockDirectoryFactory for replication
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498659 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 20:09:12 +00:00
Steven Rowe 953cc51fda SOLR-4897: make add-unknown-fields-to-the-schema the default update.chain for all defined /update request handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498602 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 17:38:29 +00:00
Steven Rowe 96cc600172 SOLR-4897: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498562 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:52:07 +00:00
Steven Rowe 96077f9dff SOLR-4897: Create new example config set for schemaless mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498558 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:43:00 +00:00
Steven Rowe ff5f4d5be8 SOLR-4894: Add AddSchemaFieldsUpdateProcessorFactory: dynamically add fields to the schema if an input document contains unknown fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498555 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:34:09 +00:00
Yonik Seeley d96faa4a3a SOLR-4926: SolrDeletionPolicy.getLatestCommit can be null before IW is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498554 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:33:55 +00:00
Mark Robert Miller 8227df4c04 SOLR-4981: Share HttpClient across SolrServers and shut it down on close
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498540 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 16:10:52 +00:00
Mark Robert Miller b48deb09df remove stale comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498526 13f79535-47bb-0310-9956-ffa450edef68
2013-07-01 15:40:11 +00:00
Erick Erickson c8310ea09d SOLR-4974, tighten up shutdown logic. Inspired by SOLR-4960
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497999 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 18:40:49 +00:00
Robert Muir 92c42511c7 SOLR-4976: infostream doesn't work with merged segment warmer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497968 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 01:27:52 +00:00
Robert Muir 25b562d059 LUCENE-5080: fix CMS setters that depended on each other
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497967 13f79535-47bb-0310-9956-ffa450edef68
2013-06-29 01:13:27 +00:00
Mark Robert Miller 6235e48896 SOLR-4967: Supporting passing on multi value params when forwarding allowed params in DistributedUpdateProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497812 13f79535-47bb-0310-9956-ffa450edef68
2013-06-28 15:25:11 +00:00
Uwe Schindler b9729cd055 SOLR-4966: Fix problem with binary detection in Apache Rat by excluding the images folder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497595 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:37:29 +00:00
Mark Robert Miller e547a5c03a SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497582 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 22:13:52 +00:00
Uwe Schindler 15d3d0f46c Remove obsolete sha1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497572 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 21:37:01 +00:00
Mark Robert Miller 87eb3cc3e3 SOLR-4969: Enable ChaosMonkeyNothingIsSafeTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497543 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 20:00:38 +00:00
Mark Robert Miller 280e96e81f SOLR-4972: Add PUT command to ZkCli tool.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497499 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 19:03:40 +00:00
Mark Robert Miller 4567a2f6cc SOLR-4916: Fix test to close properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497468 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:26:33 +00:00
Mark Robert Miller 181296ff41 SOLR-4916: Do not run hdfs tests on FreeBSD because they do not play nice with blackhole
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497458 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:17:49 +00:00
Mark Robert Miller 874e966970 SOLR-4916: Do not run hdfs tests on Windows as it requires cygwin
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497451 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 17:08:50 +00:00
Uwe Schindler 32f4a55a18 More strict RAT checking (unfortunately the analysis supermodule does not import common-build). This will detect missing license headers in build.xml, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497415 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 16:06:54 +00:00
Stefan Matheis f9a9649f71 SOLR-4966: CSS, JS and other files in webapp without license
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497311 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 11:40:44 +00:00
Steven Rowe d6d65851cf SOLR-4892: Add field update processors to parse/convert String-typed fields to Date, Number, and Boolean
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497165 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 00:44:27 +00:00
Mark Robert Miller 4ac141d204 SOLR-4916: add assume false to test for java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497159 13f79535-47bb-0310-9956-ffa450edef68
2013-06-27 00:31:35 +00:00
Mark Robert Miller 8bcc141fb9 SOLR-4916: Update NOTICE file and remove log4j from test-framework dependencies
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497133 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 22:11:33 +00:00
Uwe Schindler 97f3c83b63 Remove license files no longer in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497131 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 22:06:08 +00:00
Yonik Seeley 811079b8c6 SOLR-4965: skip IW.commit if no changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1497075 13f79535-47bb-0310-9956-ffa450edef68
2013-06-26 20:22:41 +00:00