Commit Graph

884 Commits

Author SHA1 Message Date
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