Commit Graph

860 Commits

Author SHA1 Message Date
Steven Rowe 6dcfa17adc SOLR-6856: Restore ExtractingRequestHandler's ability to capture all HTML tags when parsing (X)HTML.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654431 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 23:44:45 +00:00
Erick Erickson 7fda449473 SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr tests to allow for multiple tests without the same class
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654256 13f79535-47bb-0310-9956-ffa450edef68
2015-01-23 16:13:32 +00:00
Steven Rowe 6b807173d3 SOLR-6991,SOLR-6387: Under Turkish locale, don't run solr-cell and dataimporthandler-extras tests that use Tika
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653704 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 23:47:19 +00:00
Shalin Shekhar Mangar ad298b70cf SOLR-7014: Collapse identical catch branches in try-catch statements in morphlines-core
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653697 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 23:26:25 +00:00
Shalin Shekhar Mangar 0961e4179d SOLR-7014: Collapse identical catch branches in try-catch statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653665 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 21:39:15 +00:00
Alan Woodward 344be1a6b1 SOLR-6976: Remove methods and classes deprecated in 4.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653549 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 15:06:04 +00:00
Erik Hatcher 7844cf5cca Fix wrong StringUtils import (merged from r1653365)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653368 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 20:52:59 +00:00
Alan Woodward e65eb74239 SOLR-6840: Fix clustering test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1653212 13f79535-47bb-0310-9956-ffa450edef68
2015-01-20 09:12:40 +00:00
Alan Woodward e61cd9654b SOLR-6840: Remove support for old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652995 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 13:25:29 +00:00
Uwe Schindler cb558014e5 SOLR-6799: Update Saxon-HE to 9.6.0-2 (part 2)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652956 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 10:34:56 +00:00
Uwe Schindler a4d74500e7 SOLR-6996: Add a test for ODF files in ExtractingRequestHandlerTest
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652944 13f79535-47bb-0310-9956-ffa450edef68
2015-01-19 09:22:06 +00:00
Uwe Schindler 426afa7b93 SOLR-6489: Disable only failing tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652747 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 13:00:09 +00:00
Uwe Schindler 503e738f77 SOLR-6991: Update to Apache TIKA 1.7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652742 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 11:48:17 +00:00
Erik Hatcher 22d0422663 Fix Solr smoke tests: SYSTEM_REQUIREMENTS no longer exists where it was testing for it (merged from r1652718)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652721 13f79535-47bb-0310-9956-ffa450edef68
2015-01-18 10:02:59 +00:00
Noble Paul df42c143bb SOLR-5147 addressing the OOM failures
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652618 13f79535-47bb-0310-9956-ffa450edef68
2015-01-17 14:51:53 +00:00
Noble Paul 9483635648 SOLR-5147 remove forbidden API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652426 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 15:11:40 +00:00
Noble Paul e32c7b7db9 SOLR-5147 Support child documents in DIH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652360 13f79535-47bb-0310-9956-ffa450edef68
2015-01-16 08:33:35 +00:00
Adrien Grand 457e70ab94 LUCENE-6179: Disallow out-of-order scoring.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1652013 13f79535-47bb-0310-9956-ffa450edef68
2015-01-15 09:35:20 +00:00
Erik Hatcher 4ed87ec42f SOLR-1723: polished the content-type capability
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650831 13f79535-47bb-0310-9956-ffa450edef68
2015-01-10 23:40:57 +00:00
Erik Hatcher ae0c13fae8 SOLR-1723: VelocityResponseWriter improvements
SOLR-2035: Add a VelocityResponseWriter $resource tool for locale-specific string lookups.
Lots of VrW code cleanup, more and improved test cases.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650685 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 22:32:50 +00:00
Mark Robert Miller b870aed9b9 SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown in tests and regular code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1650608 13f79535-47bb-0310-9956-ffa450edef68
2015-01-09 17:33:04 +00:00
Shalin Shekhar Mangar e13e0de583 SOLR-6897: Nuke non-NRT mode from code and configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649810 13f79535-47bb-0310-9956-ffa450edef68
2015-01-06 14:28:08 +00:00
Erick Erickson 633fecf787 SOLR-6907, corrected patch, URLEncode documents directory in MorphlineMapperTest to handle spaces etc in file name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649455 13f79535-47bb-0310-9956-ffa450edef68
2015-01-05 01:45:07 +00:00
Erick Erickson 75e1cafacf SOLR-6907: URLEncode documents directory in MorphlineMapperTest to handle spaces etc in file name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649383 13f79535-47bb-0310-9956-ffa450edef68
2015-01-04 19:00:46 +00:00
David Wayne Smiley 8fd247cc0e SOLR-6797: spatial distanceUnits=degrees|kilometers|miles
units=degrees is now deprecated.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1649243 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 20:09:36 +00:00
Alan Woodward 4a6d85790a SOLR-6895: Remove SolrServer classes from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648710 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:49:20 +00:00
Alan Woodward ef809a0f10 SOLR-6895: Deprecate SolrServer classes and replace with SolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648697 13f79535-47bb-0310-9956-ffa450edef68
2014-12-31 14:05:48 +00:00
Erik Hatcher fde2508de7 Update logo/style in generic templates (already fixed for techproducts)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648467 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 02:21:17 +00:00
Erik Hatcher 0ff1e75b74 SOLR-6779 (fix /browse on schemaless example) and several other related fixes and cleanups including remove /browse from test configs where it isn't needed, adjusting /browse definition to be valid and not an inappropriate copy of techproducts, fixed /update/extract indexing with data_driven_schema_configs configset, and fixed indexing of solr(-to-solr) example DIH indexing
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648456 13f79535-47bb-0310-9956-ffa450edef68
2014-12-30 00:50:57 +00:00
Erik Hatcher e5c766891d SOLR-3711: Truncate long strings in field facets in generic facet_fields.vm
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648044 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 10:18:21 +00:00
Erik Hatcher 9159eede8f SOLR-3711: Truncate long strings in /browse field facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648041 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 10:11:06 +00:00
Erik Hatcher 31fdda2f43 SOLR-6779: add trimmed /browse templates to Velocity contrib JAR, making them available to any VrW using system
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1648030 13f79535-47bb-0310-9956-ffa450edef68
2014-12-27 01:11:47 +00:00
Steven Rowe 975dbe134e LUCENE-6134: fix typos: wether->whether, neccessary->necessary, initalize->initialize, specifed->specified, etc. (thanks Ahmet Arslan\!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647795 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 14:33:59 +00:00
Steven Rowe 2189b7a761 LUCENE-6134: fix typos: it's->its, its->it's, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1647735 13f79535-47bb-0310-9956-ffa450edef68
2014-12-24 05:48:58 +00:00
Erick Erickson 2d93746254 SOLR-6826: fieldType capitalization is not consistent with the rest of case-sensitive field names
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645349 13f79535-47bb-0310-9956-ffa450edef68
2014-12-13 20:49:03 +00:00
Erik Hatcher 7faa543ae0 SOLR-6829: Added getter/setter for lastException in DIH's ContextImpl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643857 13f79535-47bb-0310-9956-ffa450edef68
2014-12-08 16:41:17 +00:00
Chris M. Hostetter 95e75230e4 SOLR-6560: Purge termIndexInterval from example/test configs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643381 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:30:25 +00:00
Steven Rowe d72e3dfb0f SOLR-3881: Avoid OOMs in LanguageIdentifierUpdateProcessor:
- Added langid.maxFieldValueChars and langid.maxTotalChars params to limit
  input, by default 10k and 20k chars, respectively.
- Moved input concatenation to Tika implementation; the langdetect
  implementation instead appends each input piece via the langdetect API.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643377 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 18:22:30 +00:00
Adrien Grand 846e457684 SOLR-4799: Fix javadocs generation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643351 13f79535-47bb-0310-9956-ffa450edef68
2014-12-05 16:53:32 +00:00
Noble Paul 83f0d3578c SOLR-4799 faster join using join=zipper aka merge join for nested DIH EntityProcessors
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1643097 13f79535-47bb-0310-9956-ffa450edef68
2014-12-03 11:56:26 +00:00
Chris M. Hostetter 1d57269643 SOLR-6780: Fixed a bug in how default/appends/invariants params were affecting the set of all keys found in the request parameters, resulting in some key=value param pairs being duplicated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642727 13f79535-47bb-0310-9956-ffa450edef68
2014-12-01 18:09:56 +00:00
Robert Muir 46e8f846c5 LUCENE-6080: remove some deprecations from trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642374 13f79535-47bb-0310-9956-ffa450edef68
2014-11-28 23:05:14 +00:00
Mark Robert Miller f8cd5c6688 SOLR-6799: Update Saxon-HE to 9.6.0-2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1642014 13f79535-47bb-0310-9956-ffa450edef68
2014-11-27 03:05:17 +00:00
Robert Muir 6c634c2920 LUCENE-6074: symlink jars on unix/os X systems
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1641236 13f79535-47bb-0310-9956-ffa450edef68
2014-11-23 18:00:11 +00:00
Ryan Ernst 5e17f315d4 LUCENE-5950: Move to Java 8 as minimum Java version
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1640833 13f79535-47bb-0310-9956-ffa450edef68
2014-11-20 22:47:21 +00:00
Uwe Schindler c429f437f0 LUCENE-5953: Restructure Directory and LockFactory APIs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1637665 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 12:18:03 +00:00
Robert Muir dbe6c7ff05 LUCENE-5969: remove 4.x back compat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1633998 13f79535-47bb-0310-9956-ffa450edef68
2014-10-24 04:48:13 +00:00
Steven Rowe 38f182593a LUCENE-6007: Regularize ivy.xml files to use configurations that map to remote master configurations, so that Ivy won't try to download extraneous crap
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1632430 13f79535-47bb-0310-9956-ffa450edef68
2014-10-16 20:13:48 +00:00
Ryan Ernst 85bf318173 LUCENE-5569: *AtomicReader/AtomicReaderContext have been renamed to *LeafReader/LeafReaderContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1627178 13f79535-47bb-0310-9956-ffa450edef68
2014-09-23 23:51:55 +00:00
Steven Rowe 459a94d93d simplify build.xml: specialization for test.lib.dir and test-lib resolution are no longer needed, since they're now defined in ../contrib-build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626429 13f79535-47bb-0310-9956-ffa450edef68
2014-09-20 12:41:15 +00:00
Uwe Schindler 7ec331a6d8 Add missing package.html description
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1626237 13f79535-47bb-0310-9956-ffa450edef68
2014-09-19 14:37:11 +00:00
Uwe Schindler 1866163a72 SOLR-6519: Make DirectoryFactory#create() take LockFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625644 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 16:30:46 +00:00
Yonik Seeley f8a4f61fe0 add overview.html file to analytics contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625384 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 20:35:54 +00:00
Yonik Seeley 21bb022d62 SOLR-5302: move analytics component to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1625331 13f79535-47bb-0310-9956-ffa450edef68
2014-09-16 15:29:54 +00:00
Robert Muir 3eb66fb19c LUCENE-5945: Full cutover to Path api from java.io.File
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1624784 13f79535-47bb-0310-9956-ffa450edef68
2014-09-13 21:46:29 +00:00
Uwe Schindler ea365a6a96 SOLR-6489: Disable Morphlines-Cell tests, because Update to Tika 1.6 (SOLR-6488) broke them
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1623308 13f79535-47bb-0310-9956-ffa450edef68
2014-09-08 07:10:12 +00:00
Uwe Schindler c0717d0c18 SOLR-6488: Upgrade Solr Cell to TIKA 1.6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1623225 13f79535-47bb-0310-9956-ffa450edef68
2014-09-07 20:50:13 +00:00
Robert Muir 3604769c3a LUCENE-5906: Use Files.delete everywhere instead of File.delete
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1622506 13f79535-47bb-0310-9956-ffa450edef68
2014-09-04 15:56:25 +00:00
Robert Muir 704b3fb091 LUCENE-5858: remove remaining unnecessary SuppressCodecs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5858@1621816 13f79535-47bb-0310-9956-ffa450edef68
2014-09-01 15:01:49 +00:00
Mark Robert Miller 6b51065b2f SOLR-6458: Hard coded ENGLISH locale for AbstractSolrMorphlineTestBase tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1621609 13f79535-47bb-0310-9956-ffa450edef68
2014-08-31 17:15:37 +00:00
Ryan Ernst 2e7acd8f73 LUCENE-5901:Replaced all occurences of LUCENE_CURRENT with LATEST for luceneMatchVersion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620718 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 20:00:51 +00:00
Chris M. Hostetter 7555e1c43c SOLR-6387: additional map-reduce test that does forking and needs 'tr' check
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620707 13f79535-47bb-0310-9956-ffa450edef68
2014-08-26 19:39:16 +00:00
Mark Robert Miller 8e69f04527 SOLR-6089: When using the HDFS block cache, when a file is deleted, it's underlying data entries in the block cache are not removed, which is a problem with the global block cache option.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1619427 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 15:03:29 +00:00
Erik Hatcher b9cf600c56 Fix test file name typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618917 13f79535-47bb-0310-9956-ffa450edef68
2014-08-19 18:03:15 +00:00
Uwe Schindler 52fe544a4c SOLR-6387: Add better error messages throughout Solr and supply a work around for Java bug #8047340 to SystemInfoHandler: On Turkish default locale, some JVMs fail to fork on MacOSX, BSD, AIX, and Solaris platforms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618672 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 17:33:49 +00:00
Shalin Shekhar Mangar 4f9bc97179 SOLR-6383: RegexTransformer returns no results after replaceAll if regex does not match a value
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618488 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 17:51:13 +00:00
Ryan Ernst 73bb9c91d9 LUCENE-5850: Made Version handling more robust and extensible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618263 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 19:15:17 +00:00
Uwe Schindler 7dc2b104b1 SOLR-6381: Fix brokenness with RAM accounting in Java 9 (this is just a workaround for the bug in test framework, but it makes the test behave correct - using static fields here is a bug!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618252 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 18:12:26 +00:00
Mark Robert Miller f25288764a SOLR-5656: Add autoAddReplicas feature for shared file systems.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617919 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 12:32:27 +00:00
Erik Hatcher 61ed771dd4 SOLR-3957: Removed experimental warning from a couple of Solr handlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617651 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 02:09:48 +00:00
James Dyer abcbfddd8c SOLR-6363: fix test bug - shut down Derby properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617314 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 16:04:59 +00:00
James Dyer 46d129a4ea SOLR-6362: fix test bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617289 13f79535-47bb-0310-9956-ffa450edef68
2014-08-11 14:13:56 +00:00
Ryan Ernst 872bd9145c LUCENE-5871: Remove Version from IndexWriterConfig
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1617004 13f79535-47bb-0310-9956-ffa450edef68
2014-08-09 18:54:35 +00:00
Steven Rowe 5575ff520f SOLR-4385: Stop using SVN Keyword Substitution in Solr src code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1616393 13f79535-47bb-0310-9956-ffa450edef68
2014-08-07 03:25:40 +00:00
Shai Erera f7305e3571 fix typo in solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615391 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 07:26:17 +00:00
Noble Paul de86f763f5 SOLR-6294 ,SOLR-6302
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1615345 13f79535-47bb-0310-9956-ffa450edef68
2014-08-02 18:40:42 +00:00
Robert Muir 2080ddc885 LUCENE-5593: speed up javadocs generation in build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1614058 13f79535-47bb-0310-9956-ffa450edef68
2014-07-28 15:36:27 +00:00
Mark Robert Miller e3fc860547 tests: null out static
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613652 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 15:18:03 +00:00
Noble Paul bcfb420558 SOLR-6269
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613619 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 13:06:10 +00:00
Erik Hatcher 5cd69d47e1 SOLR-3622, SOLR-5847, SOLR-6194, SOLR-6269: Several DIH fixes/improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613406 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 12:19:48 +00:00
Erik Hatcher 377fab9fd9 Skip convertType tests when locale is sr__#Latn
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612447 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 02:45:44 +00:00
Erik Hatcher ea00cf4e6c SOLR-6263: Add DIH handler name to variable resolver as ${dih.handlerName}
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612354 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 17:26:14 +00:00
Erik Hatcher adaaaf041a SOLR-6258: Added onRollback event handler hook to Data Import Handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612124 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 17:32:28 +00:00
Erik Hatcher 2d1cf43b4c SOLR-6165: Add tests for convertType and BigDecimal implicit conversion
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611985 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 01:00:45 +00:00
Timothy Potter de191c73d3 SOLR-2245: Better way to check if last_index_time is the initial value and fixup changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611667 13f79535-47bb-0310-9956-ffa450edef68
2014-07-18 14:51:45 +00:00
Timothy Potter 899d57f418 SOLR-2245: fix for issues found by precommit checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610905 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 02:51:54 +00:00
Timothy Potter 2169e473bb SOLR-2245: Don't use the default date from dataimport.properties and remove duplicated entry in mail-data-config.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610893 13f79535-47bb-0310-9956-ffa450edef68
2014-07-16 01:17:23 +00:00
Timothy Potter 1f9d4e245d SOLR-3893: Moving mail dependencies into the extras project.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610883 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 23:33:11 +00:00
Timothy Potter 7ff38d5502 SOLR-2245: Improvements to the MailEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610859 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 21:44:28 +00:00
Shalin Shekhar Mangar 9d145c0687 SOLR-2245: Reverting due to unclear license for greenmail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607489 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 22:00:58 +00:00
Timothy Potter cad18b5384 SOLR-2245: Numerous improvements to the MailEntityProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 17:13:46 +00:00
Alan Woodward 3fb008e7f0 SOLR-6170: Merge CoreContainer preRegisterInZk and register methods into create method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1606891 13f79535-47bb-0310-9956-ffa450edef68
2014-06-30 19:41:07 +00:00
Shalin Shekhar Mangar ac2e3998a3 SOLR-6194: Allow access to DataImporter and DIHConfiguration from DataImportHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605972 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 07:26:36 +00:00
Shalin Shekhar Mangar ad3200b726 SOLR-6165: DataImportHandler should write BigInteger and BigDecimal values as strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604543 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 07:48:53 +00:00
Shalin Shekhar Mangar 280c297c9c SOLR-6129: DateFormatTransformer doesn't resolve dateTimeFormat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603209 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 16:10:18 +00:00
Steven Rowe 1938b75a57 SOLR-6130: Added com.uwyn:jhighlight dependency to, and removed asm:asm dependency from the extraction contrib - dependencies weren't fully upgraded with the Tika 1.4->1.5 upgrade (SOLR-5763)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1599663 13f79535-47bb-0310-9956-ffa450edef68
2014-06-03 16:23:58 +00:00
Dawid Weiss 4c29d60c62 Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Dawid Weiss cf5a0caeb6 LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
Robert Muir 7b63afc003 LUCENE-5166: clear most nocommits, move ord/rord to solr (and speed them up), nuke old purging stuff
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594464 13f79535-47bb-0310-9956-ffa450edef68
2014-05-14 05:51:24 +00:00
Robert Muir 1489085807 LUCENE-5666: get solr started
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene5666@1594254 13f79535-47bb-0310-9956-ffa450edef68
2014-05-13 15:49:10 +00:00
James Dyer 3c14dc6a57 SOLR-3671: DIHWriter fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592583 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:40:32 +00:00
Ryan Ernst ad37014a3a SOLR-6022: Rename getAnalyzer() to getIndexAnalyzer()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592076 13f79535-47bb-0310-9956-ffa450edef68
2014-05-02 22:34:25 +00:00
Shalin Shekhar Mangar abe013d771 SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Uwe Schindler bc0d7bbb25 Merged revision(s) 1591333 from lucene/dev/branches/branch_4x:
LUCENE-5632: Transition Version constants from LUCENE_MN to LUCENE_M_N

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591365 13f79535-47bb-0310-9956-ffa450edef68
2014-04-30 15:50:35 +00:00
Shalin Shekhar Mangar b2a01a6504 SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and StreamingUpdateSolrServer with ConcurrentUpdateSolrServer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1590410 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 16:05:30 +00:00
Steven Rowe 033f80fd7a SOLR-6006: fix Solr contrib test dependencies by adding jcl-over-slf4j and retrieving it into each contrib's test-lib/ directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589953 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 08:55:05 +00:00
Mark Robert Miller 0bb3e820ca tests: suppress ssl.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589879 13f79535-47bb-0310-9956-ffa450edef68
2014-04-24 20:54:55 +00:00
Mark Robert Miller d393b2916c SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc connections.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587706 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:38:35 +00:00
Steven Rowe 597912787c SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Michael McCandless 8559eafd99 LUCENE-4246: fix IW.close to just close, even on exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1585759 13f79535-47bb-0310-9956-ffa450edef68
2014-04-08 15:34:50 +00:00
Dawid Weiss bfecbc9274 Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Dawid Weiss ee084bbe60 Cleanups and refactorings after Mark's suggestions.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss bc43bebedf Merging with trunk.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Uwe Schindler f682af8641 LUCENE-5560: Replace com.google.common.base.Charsets by Java7 StandardCharsets
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583476 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 22:16:44 +00:00
Uwe Schindler 6750845f9b LUCENE-5560: Followup: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler 2f8192f3c5 LUCENE-5560: Cleanup charset handling for Java 7
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller 6bf76b1015 SOLR-5914: Polish up createTempDir calls.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Steven Rowe a53c78d7ef SOLR-5920: Distributed sort on DateField, BoolField and BCD{Int,Long,Str}Field returns string cast exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582929 13f79535-47bb-0310-9956-ffa450edef68
2014-03-29 01:01:05 +00:00
Mark Robert Miller 8c1810a26f SOLR-5914: Fix morphlines contrib tests use of solrhome.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582577 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 01:32:29 +00:00
Mark Robert Miller 30711a3c34 SOLR-5914: Fix map-reduce contrib tests use of solrhome.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582575 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 01:20:31 +00:00
Mark Robert Miller 48c5ea550f SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Mark Robert Miller 6afdd45556 SOLR-5914: Solr tests should use dataDir for tmp files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Dawid Weiss 688addbd50 Branch for solr5914
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller b7b0643115 SOLR-5914: Cleanup and fix Solr's test cleanup code.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Dawid Weiss 1152acb681 SOLR-5909: Upgrade Carrot2 clustering dependency to 3.9.0.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1581299 13f79535-47bb-0310-9956-ffa450edef68
2014-03-25 12:18:13 +00:00
Uwe Schindler b569844e04 LUCENE-5540: Update forbidden-apis, pegdown, groovy
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579399 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 21:08:42 +00:00
Mark Robert Miller 1109c1275b SOLR-5883: Many tests do not shutdown SolrServer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Mark Robert Miller 84e2979d81 SOLR-5824: Merge up Solr MapReduce contrib code to latest external changes. Includes a few minor bug fixes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579318 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 17:52:10 +00:00
Steven Rowe 2d9228dfa8 SOLR-5763: Upgrade to Tika 1.5
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579100 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 00:34:34 +00:00
Robert Muir 3b67b17493 LUCENE-5512: remove redundant typing (diamond operator) in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
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
Steven Rowe 02d8e37328 LUCENE-5249: All Lucene/Solr modules should use the same dependency versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 21:01:12 +00:00
Steven Rowe 4097a3219c SOLR-5286: revert changes committed on this issue; the internal and 3rd party dependencies in the analysis-extras contrib are used to put these jars into the Solr distribution. I didn't revert the compile step building the depended-on Lucene modules, since they aren't needed for compilation. I added comments in build.xml and ivy.xml telling people not to do this again. I reworded the README.txt to explain dependencies per feature instead of lumping them all together. I did not revert the pom.xml.template changes, since the dependencies are not required for compilation or runtime use of the code in the analysis-extras contrib.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527175 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 11:54:35 +00:00
Steven Rowe f20c9a19d7 SOLR-5286: Remove vestigial Chinese and Polish analysis jars from the analysis-extras contrib configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527168 13f79535-47bb-0310-9956-ffa450edef68
2013-09-28 08:56:20 +00:00
Uwe Schindler da34b18cb3 SOLR-4882: Restrict SolrResourceLoader to only allow access to resource files below the instance dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1525246 13f79535-47bb-0310-9956-ffa450edef68
2013-09-21 14:51:51 +00:00
Dawid Weiss 047a650004 SOLR-5219: follow-up code cleanups.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1522472 13f79535-47bb-0310-9956-ffa450edef68
2013-09-12 07:49:23 +00:00
Dawid Weiss 7a79894528 SOLR-5219: Rewritten selection of the default search and document clustering algorithms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1521978 13f79535-47bb-0310-9956-ffa450edef68
2013-09-11 18:45:27 +00:00
Dawid Weiss 43467403b2 SOLR-5202: Support easier overrides of Carrot2 clustering attributes via XML data sets exported from the Workbench. Polished clustering configuration examples.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520677 13f79535-47bb-0310-9956-ffa450edef68
2013-09-06 20:02:57 +00:00
Tommaso Teofili e69fb35cc2 SOLR-5201 - AnalysisEngines are now created in the factory and passed to the processors with a JCas pool
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1520239 13f79535-47bb-0310-9956-ffa450edef68
2013-09-05 07:12:10 +00:00
Shalin Shekhar Mangar 2dc5b2a02c SOLR-5190: SolrEntityProcessor substitutes variables only once in child entities
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518161 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 11:20:56 +00:00
Tommaso Teofili 082f6e4d2e SOLR-5195 - remove SolrCore reference from UIMAUpdateRequestProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518018 13f79535-47bb-0310-9956-ffa450edef68
2013-08-27 22:16:50 +00:00
Erick Erickson 84063af19a SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud mode.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517398 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 00:06:04 +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 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
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 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
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
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
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