Commit Graph

477 Commits

Author SHA1 Message Date
Mikhail Khludnev db2b19f6ba SOLR-8762: respond child docs in DIH debug 2017-06-03 21:36:52 +03:00
jdyer1 e61b5b34bf SOLR-10617: JDBCStream to support additional types, minor refactoring to separate out CalciteJDBCStream, upgrade hsqldb for JDBCStream & DIH tests. 2017-05-12 08:44:16 -05:00
Jan Høydahl e776cbe446 SOLR-7041: Cut over tests from <defaultSearchField> in schema to df on requests 2017-05-05 00:53:50 +02:00
Jan Høydahl 61f64829d8 SOLR-7041: Remove a lot of defaultOperator and defaultSearchField from test configs (still more work to do) 2017-04-29 20:39:50 +02:00
Erick Erickson 4cb00ccca4 SOLR-10007: Clean up references to CoreContainer and CoreDescriptors 2017-04-12 17:02:40 -07:00
Andrzej Bialecki e30cc70fdd SOLR-9959: SolrInfoMBean-s category and hierarchy cleanup. 2017-04-11 19:22:23 +02:00
Adrien Grand e80643e5a7 LUCENE-7753: Make fields static when possible. 2017-03-31 17:28:21 +02:00
Ishan Chattopadhyaya 6b0217b7cb SOLR-6736: Adding support for uploading zipped configsets using ConfigSets API 2017-03-29 00:44:27 +05:30
Steve Rowe 1a80e4d694 SOLR-10343: Update Solr default/example and test configs to use SynonymGraphFilterFactory 2017-03-28 11:47:02 -04:00
Adrien Grand 390ef9af9f LUCENE-7743: Avoid calling new String(String). 2017-03-28 15:35:04 +02:00
Adrien Grand 53064e46dd LUCENE-7754: Inner classes should be static whenever possible. 2017-03-28 15:35:04 +02:00
Steve Rowe b46b8278c6 SOLR-10344: Update Solr default/example and test configs to use WordDelimiterGraphFilterFactory 2017-03-27 23:53:55 -04:00
Erick Erickson bd01064f69 SOLR-10371: There is some spelling mistakes in the Java source code Thanks hu xiaodong" 2017-03-27 09:31:15 -07:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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