Commit Graph

580 Commits

Author SHA1 Message Date
Mark Robert Miller 9441f0d4ce SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller 8830ab2dc5 SOLR-5782: The full MapReduceIndexer help text does not display when using --help. Also remove reference to Find tool - we don't have access to it yet.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572778 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 23:15:05 +00:00
Mark Robert Miller d98ee29e8e SOLR-5776: Suppress SSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572408 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 02:23:20 +00:00
Mark Robert Miller 4d975ea3a9 tests: some doc improvements around SuppressSSL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572385 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 01:34:41 +00:00
Robert Muir e4be54e8b5 SOLR-5778: add assume for now, if the locale does not use GregorianCalendar
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572201 13f79535-47bb-0310-9956-ffa450edef68
2014-02-26 19:09:41 +00:00
Robert Muir 9c450302e5 SOLR-5771: Add SuppressSSL instead of static boolean in SolrTestCaseJ4
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571691 13f79535-47bb-0310-9956-ffa450edef68
2014-02-25 13:50:03 +00:00
Uwe Schindler efbd2b9d82 Disable 2 tests not working on windows (they are not run from ANT because of another assume, but eclipse tries to run them - no security manager).
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1571111 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 22:50:44 +00:00
Mark Robert Miller 9ca2fbe6bc SOLR-5764: Set eol-style on test resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570955 13f79535-47bb-0310-9956-ffa450edef68
2014-02-23 02:22:02 +00:00
Uwe Schindler 955282775c SOLR-5764: Fix recently added tests to not use absolute paths to load test-files, use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce to not duplicate test resources and fix dependencies among them.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570898 13f79535-47bb-0310-9956-ffa450edef68
2014-02-22 20:02:13 +00:00
Steven Rowe 114ce52b03 LUCENE-5465: Solr Contrib map-reduce breaks Manifest of all other JAR files by adding a broken Main-Class attribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1570738 13f79535-47bb-0310-9956-ffa450edef68
2014-02-21 22:47:52 +00:00
Mark Robert Miller c4b4582dda SOLR-5729: Merge in bug fixes and minor improvements for mapreduce and morphlines contribs.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1569794 13f79535-47bb-0310-9956-ffa450edef68
2014-02-19 15:46:24 +00:00
Mark Robert Miller 9c7b41ddba SOLR-1301: Fix spelling.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568328 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 14:57:08 +00:00
Mark Robert Miller a127d61d70 SOLR-1301: Add some readme files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1568317 13f79535-47bb-0310-9956-ffa450edef68
2014-02-14 14:39:00 +00:00
Chris M. Hostetter f28a5e8ffd SOLR-5365: Fix bug with compressed files in ExtractingRequestHandler by upgrading commons-compress to 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567824 13f79535-47bb-0310-9956-ffa450edef68
2014-02-13 01:22:09 +00:00
Mark Robert Miller 20f7720a30 SOLR-3854: Update MorphlineGoLiveMiniMRTest for SSL. Disable SSL for now .
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567700 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 17:43:10 +00:00
Mark Robert Miller 98810d1f54 SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Mark Robert Miller de6514e214 SOLR-3854: SSL support for SolrCloud
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
Shalin Shekhar Mangar e63b46137d SOLR-5598: LanguageIdentifierUpdateProcessor ignores all but the first value of multiValued string fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1564732 13f79535-47bb-0310-9956-ffa450edef68
2014-02-05 12:17:45 +00:00
Mark Robert Miller 330880c57e SOLR-1301: Throw an error if HdfsDirectoryFactory is not configured for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1558670 13f79535-47bb-0310-9956-ffa450edef68
2014-01-16 01:59:01 +00:00
Mark Robert Miller cb23c8ba3c SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Mark Robert Miller 50e277c1ef SOLR-1301: make debugging these tests a whole lot easier by sending map reduce job logging to std out
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555647 13f79535-47bb-0310-9956-ffa450edef68
2014-01-06 02:03:00 +00:00
Uwe Schindler 2e6b894036 LUCENE-5372: Replace StringBuffer by StringBuilder, where possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1555645 13f79535-47bb-0310-9956-ffa450edef68
2014-01-05 23:04:09 +00:00
Mark Robert Miller 54c0b2e946 tests: improve this test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554060 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 20:21:03 +00:00
James Dyer 35b159f14c SOLR-2960: XPathEntityProcessor was adding spurious nulls to multi-valued fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553285 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 15:12:07 +00:00
Mark Robert Miller 2c2b455442 SOLR-1301: Ignore this test on Windows - there is a problem with Windows paths and Morphlines.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553184 13f79535-47bb-0310-9956-ffa450edef68
2013-12-23 19:11:07 +00:00
Mark Robert Miller 0a6017d7da SOLR-1301: Merge Morphlines modules up to Kite 0.10 and CDK 0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552398 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 19:13:47 +00:00
Mark Robert Miller e7d605a2d5 SOLR-1301: Update to Kite 0.10 from CDK 0.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1552381 13f79535-47bb-0310-9956-ffa450edef68
2013-12-19 17:51:39 +00:00
Alan Woodward d22cffebb7 SOLR-5555: CloudSolrServer and LBHttpSolrServer shouldn't throw MUE from constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1550824 13f79535-47bb-0310-9956-ffa450edef68
2013-12-13 19:47:06 +00:00
Steven Rowe a1461ad9b1 LUCENE-5364: Replace hard-coded Version.LUCENE_XY that doesn't have to be hard-coded (because of back-compat testing or version dependent behavior, or demo code that should exemplify pinning versions in user code), with Version.LUCENE_CURRENT in non-test code, or with LuceneTestCase.TEST_VERSION_CURRENT in test code; upgrade hard-coded Version.LUCENE_XY constants that should track the next release version to the next release version if they aren't already there, and put a token near them so that they can be found and upgraded when the next release version changes: ':Post-Release-Update-Version.LUCENE_XY:'
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1549701 13f79535-47bb-0310-9956-ffa450edef68
2013-12-09 22:53:38 +00:00
Mark Robert Miller 00b0209844 SOLR-1301: Fix a couple of bugs around setting up the embedded Solr instance.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1548600 13f79535-47bb-0310-9956-ffa450edef68
2013-12-06 17:04:47 +00:00
Mark Robert Miller 6350b2d709 SOLR-1301: Clean up.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547962 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 23:28:50 +00:00
Mark Robert Miller e4f83aa1a0 SOLR-1301: Merge in latest morphlines module updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547879 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 19:11:41 +00:00
Mark Robert Miller b2a253a930 SOLR-1301: Merge in latest solr-map-reduce updates.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547871 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 18:28:45 +00:00
Mark Robert Miller bca33f30d2 SOLR-1301: Straighten out module names so that they match current convention
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547819 13f79535-47bb-0310-9956-ffa450edef68
2013-12-04 15:15:24 +00:00
Steven Rowe 5f5098299a SOLR-1301: remove unnecessary (POM-only) dependency org.apache.hadoop:hadoop-yarn-server
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547498 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 17:54:57 +00:00
Mark Robert Miller 09aa2dce76 SOLR-1301: Ignore these tests on java 8 and j9 for now.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547442 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 15:42:16 +00:00
Shalin Shekhar Mangar fcf3a10704 SOLR-5527: DIH logs spurious warning for special commands
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547394 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 14:13:13 +00:00
Uwe Schindler 4a1301c750 SOLR-1301: Ignore windows tests that cannot work because they use UNIX semantics. Also remove a never-executed test which tests nothing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547242 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 23:49:30 +00:00
Uwe Schindler ae33505da5 SOLR-1301: Fix windows problem with escaping of folder name (see crazy https://github.com/typesafehub/config/blob/master/HOCON.md for correct format: string must be quoted and escaped like javascript)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547239 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 23:30:54 +00:00
Uwe Schindler b7911212bf SOLR-1301: Fix compilation for Java 8 (the Java 8 compiler is more picky, but it's not a Java 8 regression: the code was just wrong)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547232 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 22:45:34 +00:00
Mark Robert Miller b49acb3894 SOLR-1301: Ivy likes to act funny if you don't declare compile and test resources in the same dependency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547187 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 20:51:19 +00:00
Mark Robert Miller 7ab2e1f787 SOLR-1301: Add a Solr contrib that allows for building Solr indexes via Hadoop's MapReduce.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547139 13f79535-47bb-0310-9956-ffa450edef68
2013-12-02 18:42:23 +00:00
Steven Rowe 921bd47919 SOLR-5354: Distributed sort is broken with CUSTOM FieldType
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546457 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 21:00:28 +00:00
Robert Muir fcb7e37c29 SOLR-5506: Support docValues in (ICU)CollationField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1546245 13f79535-47bb-0310-9956-ffa450edef68
2013-11-28 00:31:03 +00:00
Shalin Shekhar Mangar eb1dcbaa70 SOLR-4376: DataImportHandler uses wrong date format for last_index_time if a delta-import is run first before any full-imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544421 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:45:14 +00:00
Steven Rowe c9c9ea148b LUCENE-5217: Maven config: get dependencies from Ant+Ivy; disable transitive dependency resolution for all depended-on artifacts by putting an exclusion for each transitive dependency in the <dependencyManagement> section of the grandparent POM
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 15:20:08 +00:00
Mark Robert Miller 4975ad612b SOLR-5371: Solr should consistently call SolrServer#shutdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534002 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:58:36 +00:00
Steven Rowe 7dc46c9f2d LUCENE-5273: Fix slowdown when running 'ant example': unless called from the 'create-package' target, the 'lucene-jars-to-solr' and 'module-jars-to-solr' targets no longer depend on '-unpack-lucene-tgz', pulling lucene-*.jar from lucene/build/*/ instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531750 13f79535-47bb-0310-9956-ffa450edef68
2013-10-13 21:04:31 +00:00
Steven Rowe 6f06bb1708 LUCENE-5273: Binary artifacts in Lucene and Solr convenience binary distributions accompanying a release, including on Maven Central, should be identical across all distributions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1531354 13f79535-47bb-0310-9956-ffa450edef68
2013-10-11 16:58:36 +00:00
Robert Muir 64a795b6e3 LUCENE-5259: convert analysis consumers to try-with-resources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1529770 13f79535-47bb-0310-9956-ffa450edef68
2013-10-07 06:24:25 +00:00