Commit Graph

414 Commits

Author SHA1 Message Date
Uwe Schindler d8442070cf SOLR-10235: fix precommit 2017-03-07 22:07:13 +01:00
Uwe Schindler 0d2c027857 SOLR-10235: Fix DIH's TestJdbcDataSource to work with Java 9 and other Java runtimes that do not use the same DriverManager implementation like Oracle's original one 2017-03-07 19:01:15 +01:00
Adrien Grand 8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
markrmiller f2f8154d0b SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request. 2017-02-22 09:50:28 -05:00
Uwe Schindler 7e30fe1471 SOLR-9966: Do test-ignore properly 2017-02-19 12:20:56 +01:00
Cao Manh Dat 54303260aa SOLR-9966: Fix previous commit bug 2017-02-19 15:19:57 +07:00
Cao Manh Dat 46ef9256b4 SOLR-9966: Convert/migrate tests using EasyMock to Mockito 2017-02-19 07:00:40 +07:00
Uwe Schindler 4eafdb337a SOLR-9893: Update Mockito to version 2.6.2 for Java 9 support. Disable all legacy EasyMock tests when running on Java 9 until they were migrated to Mockito 2017-01-14 12:43:24 +01:00
Mikhail Khludnev cc862d8e67 SOLR-9668: introduce cursorMark='true' for SolrEntityProcessor 2016-12-30 20:50:53 +03:00
Mikhail Khludnev 5c8a70fb57 SOLR-9725: substitute properties in JdbcDataSource configuration 2016-12-25 12:41:27 +03:00
Christine Poerschke d2ed42b847 removed two unused imports in TestPlainTextEntityProcessor.java 2016-12-07 18:39:04 +00:00
Noble Paul 3f6164c76e added an extra testcase 2016-12-07 18:42:07 +05:30
Noble Paul 0feca1a974 general cleanup to use java 8 feautures 2016-10-27 15:05:07 +05:30
Noble Paul d6b6e74703 SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if the 'forEach' or 'xpath' attributes are templates & it is not a root entity 2016-10-27 14:52:24 +05:30
Shalin Shekhar Mangar b8d9647307 SOLR-2039: Multivalued fields with dynamic names does not work properly with DIH 2016-10-26 11:02:10 +05:30
Noble Paul 127bf9f772 SOLR-9657: Use cache for templates 2016-10-20 20:06:21 +05:30
Noble Paul c2e031add3 SOLR-9657: New TemplateUpdateProcessorFactory added 2016-10-19 11:04:10 +05:30
Noble Paul 65439e261e SOLR-9558: DIH TemplateTransformerto to support multivalued fields 2016-09-26 12:20:44 +05:30
Varun Thacker 5d6b7fffc3 SOLR-9522: Improve error handling in ZKPropertiesWriter 2016-09-16 18:47:06 +05:30
Uwe Schindler e99d970674 SOLR-9430: Fix locale lookup in DIH <propertyWriter/> to use BCP47 language tags to be consistent with other places in Solr. Language names still work for backwards compatibility 2016-08-27 08:38:42 +02:00
Mikhail Khludnev 209bfcf021 SOLR-9209,SOLR-9256: extracting
JdbcDataSource.createResultSetIterator(), adding a test for
ResultSetIterator.hasNext()
2016-08-02 14:45:37 +03:00
Noble Paul 74de196565 SOLR-8995: Use Lamdas for Thread/Runnable 2016-07-11 19:29:15 +05:30
Christine Poerschke 52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Mikhail Khludnev fce10ae109 SOLR-2199: DataImportHandler (DIH) JdbcDataSource supports multiple resultsets per query 2016-06-13 00:11:27 +03:00
Uwe Schindler 3c9e36b1e1 SOLR-8610: Fix temporary dir usage in DIH 2016-06-07 10:51:41 +02:00
Mikhail Khludnev a9dea9a983 SOLR-8445: fix line separator in log4j.properties files 2016-06-07 00:21:49 +03:00
Mikhail Khludnev c2aea1b803 SOLR-8610: Resolve variables in encryptKeyFile of DIH's JdbcDataSource 2016-06-06 23:41:02 +03:00
Mikhail Khludnev 24fa92959d SOLR-8612: closing JDBC Statement on exceptions from JdbcDataSource in DataImportHandler aka DIH (Kristine Jetzke via Mikhail Khludnev) 2016-06-06 21:40:56 +03:00
David Smiley 4193e60b9f SOLR-9080 SOLR-9085: Fix date math before the year 1582.
note: DateMathParser no longer needs a Locale
2016-05-13 10:03:24 -04:00
Erick Erickson 5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Anshum Gupta b02b026b7d SOLR-8097: Implement builder pattern design for constructing SolrJ clients and deprecate direct construction of clients 2016-04-07 15:57:49 -07:00
Steve Rowe 9427b7402d SOLR-8764: Remove deprecated methods and classes 2016-03-02 09:22:20 -05:00
Uwe Schindler 0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera 813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Noble Paul 13c9912b3c SOLR-8618 refactored a couple of methods out as protected 2016-01-31 18:44:39 +05:30
Uwe Schindler 4efccce1f1 LUCENE-6978: Fix usage of Locale#toString in DIH
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1726311 13f79535-47bb-0310-9956-ffa450edef68
2016-01-22 21:05:40 +00:00
Michael McCandless 24c46305bd LUCENE-6971: remove StorableField, StoredDocument
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1725117 13f79535-47bb-0310-9956-ffa450edef68
2016-01-17 19:54:50 +00:00
Uwe Schindler f5b0e537b4 LUCENE-6978: Refactor several code places that lookup locales by string name to use BCP47 locale tag instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1724891 13f79535-47bb-0310-9956-ffa450edef68
2016-01-15 22:41:57 +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
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
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
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
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
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 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 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
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
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