Commit Graph

1057 Commits

Author SHA1 Message Date
Tommaso Teofili 8a7a142efb SOLR-6622 - using all field values in UIMAUpdateRequestProcessor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723982 13f79535-47bb-0310-9956-ffa450edef68
2016-01-11 08:12:37 +00:00
Christine Poerschke 2580956b8b SOLR-8505: core/DirectoryFactory.LOCK_TYPE_HDFS - add & use it instead of String literals
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723751 13f79535-47bb-0310-9956-ffa450edef68
2016-01-08 15:59:36 +00:00
Shalin Shekhar Mangar 7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Christine Poerschke c4db8d57a4 SOLR-8317: use responseHeader and response accessors to SolrQueryResponse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721170 13f79535-47bb-0310-9956-ffa450edef68
2015-12-21 14:39:21 +00:00
Michael McCandless 7da175b0b6 LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Uwe Schindler 80d07524ee PDFBOX-3155: Disable tests that fail with new Java 9 version number scheme
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718439 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 18:46:10 +00:00
Varun Thacker 695870d7a2 SOLR-8131: fix test solrconfig.xml files for the contrib modules
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718307 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 11:18:31 +00:00
Varun Thacker 0e886c19fa SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718258 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 07:32:41 +00:00
Anshum Gupta 6caaa0c454 SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
David Wayne Smiley ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Alan Woodward e5be9136a6 SOLR-8336: CoreDescriptor takes a Path for its instance dir, rather than a String
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717254 13f79535-47bb-0310-9956-ffa450edef68
2015-11-30 14:02:45 +00:00
Erik Hatcher 255ff56d4e SOLR-8307: move EmptyEntityResolver to another package to avoid conflict with solr-core and javadoc generation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1716007 13f79535-47bb-0310-9956-ffa450edef68
2015-11-24 01:25:00 +00:00
Alan Woodward 0f3aecfdff SOLR-8302: SolrResourceLoader takes a Path for its instance directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1715342 13f79535-47bb-0310-9956-ffa450edef68
2015-11-20 12:12:05 +00:00
Gregory Chanan b916bbc50a SOLR-8286: Remove instances of solr.hdfs.blockcache.write.enabled from tests and docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1714278 13f79535-47bb-0310-9956-ffa450edef68
2015-11-13 23:45:44 +00:00
Alan Woodward f43daa0163 SOLR-8260: Remove morphlines test setup with wrongly configured core discovery roots
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1713563 13f79535-47bb-0310-9956-ffa450edef68
2015-11-09 22:36:31 +00:00
Chris M. Hostetter ecf410f413 SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712979 13f79535-47bb-0310-9956-ffa450edef68
2015-11-06 15:45:50 +00:00
Chris M. Hostetter d207e8c39a SOLR-8239: reverting r1712840 from trunk -- backport to 5x was more complicated then I expected because aparently DefaultSimilarity deprecation with ClassicSimilarity was never backported? want to clarify/resolve that before moving forward here
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712845 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:44:13 +00:00
Chris M. Hostetter 2a24085bcd SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712840 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 18:19:54 +00:00
Christine Poerschke 4d1a16ff3c SOLR-8147: contrib/analytics FieldFacetAccumulator now throws IOException instead of SolrException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712751 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 12:13:34 +00:00
Alan Woodward 43cd1639f5 LUCENE-6884: Analyzer.tokenStream() and Tokenizer.setReader() don't need to throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712731 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 10:00:11 +00:00
Uwe Schindler 74f354a5a1 SOLR-8166: Add some null checks
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712677 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 22:32:00 +00:00
Uwe Schindler 6f5b28be8a SOLR-8166: Introduce possibility to configure ParseContext in ExtractingRequestHandler/ExtractingDocumentLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712629 13f79535-47bb-0310-9956-ffa450edef68
2015-11-04 20:13:40 +00:00
Shalin Shekhar Mangar ab3c1a48cd SOLR-7843: DataImportHandler's delta imports leak memory because the delta keys are kept in memory and not cleared after the process is finished
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1710078 13f79535-47bb-0310-9956-ffa450edef68
2015-10-22 19:14:24 +00:00
Erik Hatcher 33850419bd SOLR-8128: Set v.locale specified locale for all LocaleConfig extending VelocityResponseWriter tools
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708406 13f79535-47bb-0310-9956-ffa450edef68
2015-10-13 14:32:59 +00:00
Adrien Grand b3d191832c LUCENE-6301: Removal of org.apache.lucene.Filter.
From a Lucene perspective Filter is gone. However it was still used for things
like DocSet and SolrConstantScoreQuery in Solr, so it has been moved to
the oas.search package for now, even though in the long term it would be nice
for Solr to move to the Query API entirely as well.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 12:15:07 +00:00
Uwe Schindler b57234a745 LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Uwe Schindler b8a213ccf7 LUCENE-6795: Forbid AccessibleObject#setAccessible and suppress legitimate uses / wrap with doPrivileged
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702690 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 01:07:11 +00:00
Erik Hatcher d8b7f5a62c SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702652 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:38:42 +00:00
Erik Hatcher d99af904e5 SOLR-8044: fix VelocityResponseWriterTest.testLocaleFeature
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702650 13f79535-47bb-0310-9956-ffa450edef68
2015-09-12 17:31:34 +00:00
Erik Hatcher 48907ceed1 SOLR-8041: Fix VelocityResponseWriter's .get(key,baseName,locale) to use specified locale
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702516 13f79535-47bb-0310-9956-ffa450edef68
2015-09-11 16:48:17 +00:00
Erik Hatcher 06c9ed5c5d SOLR-7915: Provide pluggable context tool support for VelocityResponseWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700691 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 00:12:56 +00:00
Erik Hatcher cf3644e72b comment typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700688 13f79535-47bb-0310-9956-ffa450edef68
2015-09-02 00:05:55 +00:00
Mark Robert Miller 431ed53d46 SOLR-7956: Remove a few more interrupt causes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1700185 13f79535-47bb-0310-9956-ffa450edef68
2015-08-31 02:22:09 +00:00
Yonik Seeley db78023736 SOLR-7957: expand ResultContext to allow for multiple DocLists per response, remove redundant TransformContext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1698421 13f79535-47bb-0310-9956-ffa450edef68
2015-08-28 21:24:44 +00:00
Erik Hatcher c018ffffea Fix #field macro to comma separate multiple values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697802 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 01:30:51 +00:00
Erik Hatcher 306d7f4198 SOLR-7972: Fix VelocityResponseWriter template encoding issue
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697789 13f79535-47bb-0310-9956-ffa450edef68
2015-08-26 00:15:18 +00:00
Mark Robert Miller d27a016088 tests: tone down nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697692 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 15:00:46 +00:00
Mark Robert Miller 4c241b2b3d tests: tone down nightly runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697679 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 14:11:38 +00:00
Dawid Weiss 9cf70a3afd SOLR-7969: Unavailable clustering engines should not fail the core.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697661 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 12:21:39 +00:00
Dawid Weiss c1dc2fb6a6 SOLR-7790, SOLR-7792, SOLR-7791: Update Carrot2 clustering component to version 3.10.3. Upgrade HPPC library to version 0.7.1, morfologik-stemming to version 1.10.0. (Dawid Weiss)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1697345 13f79535-47bb-0310-9956-ffa450edef68
2015-08-24 09:53:04 +00:00
Uwe Schindler 1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler f0654e355e LUCENE-6732: Improve checker for invalid source patterns to also detect javadoc-style license headers. Use Groovy to implement the checks instead of plain Ant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695380 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 22:13:00 +00:00
Ramkumar Aiyengar b4aafbb606 SOLR-7859: Clamp down on use of System.currentTimeMillis
- Use RTimer where currentTimeMillis is used for timing
 - Abstract out a new class TimeOut for when currentTimeMillis/nanoTime
   is used to timeout operations.
 - Used `new Date()` in some cases where that is the logical intent.
 - Deprecated a couple of APIs which were publicly exposing epoch time,
   in favour of Date objects to make the intent clearer.
 - A couple of cases had currentTimeMillis in dead code.
 - In some cases where currentTimeMillis was used to just generate a name,
   used nanoTime instead (really it should be some sequence/random number
   in such a case).
 - In some other cases where stamps were used for SQL queries, HTTP headers,
   comparing against data in external files, ZK etc., used SuppressForbidden.
 - Also currently allow the use of currentTimeMillis in commit data,
   this is then used in replication -- this is concerning since absolute
   times are being compared, but that can be dealt with separately.



git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694798 13f79535-47bb-0310-9956-ffa450edef68
2015-08-08 13:39:58 +00:00
Tommaso Teofili fc51829543 SOLR-7760 - fixed method visibility in UimaUpdateRP and SolrUimaConfiguration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694616 13f79535-47bb-0310-9956-ffa450edef68
2015-08-07 07:28:35 +00:00
Shalin Shekhar Mangar 2a8bef841a SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693681 13f79535-47bb-0310-9956-ffa450edef68
2015-08-01 06:24:04 +00:00
Uwe Schindler 3e406606ed SOLR-7227: Don't create the WAR file at all
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1693143 13f79535-47bb-0310-9956-ffa450edef68
2015-07-28 19:04:21 +00:00
Shalin Shekhar Mangar 8649f3f3bd SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692624 13f79535-47bb-0310-9956-ffa450edef68
2015-07-25 14:34:47 +00:00
Uwe Schindler 50f168ed4c SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00
Mark Robert Miller f917ac900f SOLR-7805: Update Kite Morphlines to 1.1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691626 13f79535-47bb-0310-9956-ffa450edef68
2015-07-17 19:07:26 +00:00
Michael McCandless a6301dd900 LUCENE-6659: remove IWC's max thread states limit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690299 13f79535-47bb-0310-9956-ffa450edef68
2015-07-10 18:09:58 +00:00
Adrien Grand 2919e13adc LUCENE-6649: Remove dependency of lucene/join on Filter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1689432 13f79535-47bb-0310-9956-ffa450edef68
2015-07-06 15:48:28 +00:00
Uwe Schindler 1816ed1945 LUCENE-6653, LUCENE-6652: Refactor TermToBytesRefAttribute; add oal.analysis.tokenattributes.BytesTermAttribute; remove code duplication in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1688830 13f79535-47bb-0310-9956-ffa450edef68
2015-07-02 14:09:29 +00:00
Adrien Grand 35c0ff0ec6 LUCENE-6583: Remove FilteredQuery.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686203 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 12:29:56 +00:00
Adrien Grand 4aafacfbef LUCENE-6570: Make BooleanQuery immutable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1686145 13f79535-47bb-0310-9956-ffa450edef68
2015-06-18 07:14:05 +00:00
Mark Robert Miller ed6fd884b0 SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684494 13f79535-47bb-0310-9956-ffa450edef68
2015-06-09 18:18:10 +00:00
Erik Hatcher 867c75a5d9 Remove explicitly defined request handlers from example and test solrconfig's that are already defined implicitly
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684080 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 22:31:26 +00:00
Uwe Schindler a8cf56b222 LUCENE-6530: Refactoring: Simplify ProcessBuilder code at various places
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1684040 13f79535-47bb-0310-9956-ffa450edef68
2015-06-07 15:49:10 +00:00
Erik Hatcher f2291c1356 Add as-you-type instant search to example/files /browse
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683778 13f79535-47bb-0310-9956-ffa450edef68
2015-06-05 15:05:20 +00:00
Robert Muir fe6c3dc939 LUCENE-6508: Simplify directory/lock API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1683606 13f79535-47bb-0310-9956-ffa450edef68
2015-06-04 18:20:44 +00:00
Erik Hatcher 1edc686c42 SOLR-7610: Fix VelocityResponseWriter's .locale to accurately report locale in use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1682900 13f79535-47bb-0310-9956-ffa450edef68
2015-06-01 13:44:06 +00:00
Shalin Shekhar Mangar 7288912750 SOLR-7532: Removed occurrences of the unused 'commitIntervalLowerBound' property for updateHandler elements from Solr configuration
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1679522 13f79535-47bb-0310-9956-ffa450edef68
2015-05-15 09:58:44 +00:00
Noble Paul 105222b3a8 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678250 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 18:31:35 +00:00
Chris M. Hostetter 6e14814eaa SOLR-4392: revert r1678195 which breaks forbidden-api
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678242 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 17:44:44 +00:00
Noble Paul 3e20086499 SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1678195 13f79535-47bb-0310-9956-ffa450edef68
2015-05-07 13:33:23 +00:00
Noble Paul bd8b77f9bb SOLR-7231: DIH-TikaEntityprocessor, create lat-lon field from Metadata
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1677001 13f79535-47bb-0310-9956-ffa450edef68
2015-04-30 14:20:51 +00:00
Shalin Shekhar Mangar a64266193a SOLR-7381: Usages of Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as ThreadPoolExecutor directly is now forbidden in Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1673372 13f79535-47bb-0310-9956-ffa450edef68
2015-04-14 06:50:52 +00:00
Ramkumar Aiyengar 796416d43c Remove unnecessary svn:executable from some files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1671175 13f79535-47bb-0310-9956-ffa450edef68
2015-04-03 21:56:33 +00:00
Varun Thacker 02b8907124 LUCENE-6378: Fix all RuntimeExceptions to throw the underlying root cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1670453 13f79535-47bb-0310-9956-ffa450edef68
2015-03-31 19:54:37 +00:00
Shai Erera f4bc84cade SOLR-7317: Remove jhighlight.jar which contains LGPL-only code
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1669449 13f79535-47bb-0310-9956-ffa450edef68
2015-03-26 21:36:56 +00:00
Mark Robert Miller 84adc8604d SOLR-7289: Tests should not ignore all leaking threads and instead just ignore the known leaking threads.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1668771 13f79535-47bb-0310-9956-ffa450edef68
2015-03-24 02:16:13 +00:00
Shalin Shekhar Mangar 8d64c08c1a SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1667414 13f79535-47bb-0310-9956-ffa450edef68
2015-03-17 21:52:05 +00:00
Yonik Seeley 3dc5ed33c5 SOLR-7214: JSON Facet API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666856 13f79535-47bb-0310-9956-ffa450edef68
2015-03-16 04:40:23 +00:00
Noble Paul 40a1d7e22c SOLR-6892: Improve the way update processors are used and make it simpler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1666436 13f79535-47bb-0310-9956-ffa450edef68
2015-03-13 13:13:15 +00:00
Shalin Shekhar Mangar 389992cf99 SOLR-4464: DIH Processed documents counter resets to zero after first entity is processed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665110 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 01:59:40 +00:00
Shalin Shekhar Mangar b730cdaa49 SOLR-7189: Allow DIH to extract content from embedded documents via Tika
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1665099 13f79535-47bb-0310-9956-ffa450edef68
2015-03-09 00:16:25 +00:00
Alan Woodward 739e9b489d SOLR-7179: Stop using sysprops to configure test jettys
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1664292 13f79535-47bb-0310-9956-ffa450edef68
2015-03-05 09:54:06 +00:00
Noble Paul c1c593a0ad SOLR-7174: DIH should reset TikaEntityProcessor so that it is capable of re-use
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663857 13f79535-47bb-0310-9956-ffa450edef68
2015-03-04 05:09:29 +00:00
Chris M. Hostetter 821ab8b0d9 SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass, and consistently uses getSolrXml()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1663381 13f79535-47bb-0310-9956-ffa450edef68
2015-03-02 18:07:55 +00:00
Alan Woodward d7eefdd7a7 SOLR-7151: SolrClient query methods throw IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662670 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 12:17:51 +00:00
Noble Paul 6c84653e08 remove the hack to get the DIH handler name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662663 13f79535-47bb-0310-9956-ffa450edef68
2015-02-27 11:42:22 +00:00
Uwe Schindler 09a0dcb6c6 SOLR-7139: Fix SolrContentHandler for TIKA to ignore multiple startDocument events
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662457 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:26:38 +00:00
Alan Woodward 46ede7622e SOLR-7166: Encapsulate JettySolrRunner config
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662449 13f79535-47bb-0310-9956-ffa450edef68
2015-02-26 14:05:24 +00:00
Adrien Grand 2cd3fb807d LUCENE-6286: Removed IndexSearcher methods that take a Filter object.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1662059 13f79535-47bb-0310-9956-ffa450edef68
2015-02-24 17:43:10 +00:00
Adrien Grand bd89330adf LUCENE-6268: Replace FieldValueFilter and DocValuesRangeFilter with equivalent queries that support approximations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1661156 13f79535-47bb-0310-9956-ffa450edef68
2015-02-20 16:36:46 +00:00
Alan Woodward f013c438ee SOLR-7125: Allow upload and download of configs via CloudSolrClient
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660919 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 15:58:55 +00:00
Erick Erickson 6d68694ce5 SOLR-7032: Clean up tests remnanat of old-style solr.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1660790 13f79535-47bb-0310-9956-ffa450edef68
2015-02-19 04:11:48 +00:00
Noble Paul 9a77ceee6a SOLR-7076: TikaEntityProcessor should have support for onError=skip
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658664 13f79535-47bb-0310-9956-ffa450edef68
2015-02-10 10:49:11 +00:00
Robert Muir 12b30db6ce LUCENE-4797: fix remaining html violations, engage linter in solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658539 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 19:02:32 +00:00
Adrien Grand 87b7393360 LUCENE-6224: cut over more package.htmls
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658525 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:47:17 +00:00
Noble Paul 2eaad8e89b SOLR-5890: Delete silently fails if not sent to shard where document was
added

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658486 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 18:00:25 +00:00
Steven Rowe 77bf475f97 LUCENE-6044: removed one last (for realz this time) enablePositionIncrements mention from a test schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1658000 13f79535-47bb-0310-9956-ffa450edef68
2015-02-07 00:16:39 +00:00
Steven Rowe 6c68cedd50 LUCENE-6044: removed one last enablePositionIncrements mention from a test schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657994 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 23:42:17 +00:00
Steven Rowe 513cefa5e9 LUCENE-6044: add CHANGES entry on trunk; remove mention of enablePositionIncrements from test schemas
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657992 13f79535-47bb-0310-9956-ffa450edef68
2015-02-06 23:31:48 +00:00
Robert Muir 010e352f60 LUCENE-6218: don't decode freqs or enumerate all positions when scoring is not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657554 13f79535-47bb-0310-9956-ffa450edef68
2015-02-05 12:34:28 +00:00
Steven Rowe 639f72ee71 fix typo in exception message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1657438 13f79535-47bb-0310-9956-ffa450edef68
2015-02-04 22:39:21 +00:00
Alan Woodward 3018576b67 SOLR-6954: SolrClient implements Closeable
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1655263 13f79535-47bb-0310-9956-ffa450edef68
2015-01-28 11:55:57 +00:00
Steven Rowe b1a127b6c5 SOLR-6856: fix preceding whitespace for attribute values dumped into the catch-all field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1654444 13f79535-47bb-0310-9956-ffa450edef68
2015-01-24 01:07:07 +00:00
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
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
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