Commit Graph

232 Commits

Author SHA1 Message Date
David Smiley 732348ec7f SOLR-14197: SolrResourceLoader refactorings to reduce API
* Remove SRL.listConfigDir (unused)
* Remove SRL.getDataDir
* Remove SRL.getCoreName
* Remove SRL.getCoreProperties
 XmlConfigFile needs to be passed in the substitutableProperties
 IndexSchema needs to be passed in the substitutableProperties
 Remove redundant Properties from CoreContainer constructors
* Remove SRL.newAdminHandlerInstance (unused)
* Remove SRL.openSchema and openConfig
* Avoid SRL.getConfigDir
 Also harmonized similar initialization logic between DIH Tika processor & ExtractingRequestHandler.
* Ensure SRL.addToClassLoader and reloadLuceneSPI are called at most once
 Don't auto-load "lib" in constructor; wrong place for this logic.
* Avoid SRL.getInstancePath
 Added SolrCore.getInstancePath instead
 Use CoreContainer.getSolrHome instead
 NodeConfig should track solrHome separate from SolrResourceLoader
* Simplify some SolrCore constructors
* Move locateSolrHome to new SolrPaths
* Move "User Files" stuff to SolrPaths
2020-03-11 09:20:28 -04:00
Christine Poerschke fc24fa9506 SOLR-14267: complete <query><HashDocSet> solrconfig.xml removal 2020-02-26 17:47:25 +00:00
Robert Muir 975df9ddd3
LUCENE-9182: add apache license headers to all .gradle files and enforce in rat task 2020-01-27 12:05:34 -05:00
Dawid Weiss 0fce50593b Add commons-csv to extraction deps. 2019-12-25 19:55:27 +01:00
Dawid Weiss 28b19c2af2 Merge with master. 2019-12-18 09:32:35 +01:00
Tim Allison 279a391cf3
SOLR-14054 -- upgrade to Tika 1.23 (and its dependencies) (#1092)
* SOLR-14054 -- upgrade to Tika 1.23 (and its dependencies)

* fix CHANGES.txt file
2019-12-17 16:09:08 -05:00
Dawid Weiss d4a9842375 Initial gradle build layer. 2019-12-02 15:34:57 +01:00
Dawid Weiss 063c82ebd6 SOLR-13952: reverting Erick's commit (with permission). 2019-11-25 17:56:20 +01:00
Erick Erickson 4b34d726ab SOLR-13952: Separate out Gradle-specific code from other (mostly test) changes and commit separately 2019-11-24 13:24:40 -05:00
Andrzej Bialecki b4fe911cc8 SOLR-13817: Remove legacy SolrCache implementations. 2019-11-14 21:21:44 +01:00
Munendra S N 8c4fde94fe SOLR-12555: use expectThrows() to verify the ex thrown in tests 2019-08-03 13:00:49 +05:30
Koen De Groote 67104dd615 LUCENE-8847: Code Cleanup: Rewrite StringBuilder.append with concatted strings (#707)
This specific commit affects all points in the casebase where the argument of a StringBuilder.append() call is itself a regular String concatenation.
This defeats the purpose of using StringBuilder and also introduces an extra alloction.
These changes should avoid that.

ant tests have run, succeeded on local machine.

Removing test files from the changes.

Another suggested rework.
2019-06-10 18:07:43 +02:00
Ishan Chattopadhyaya e7939d5907 SOLR-7414: CSVResponseWriter & XLSXResponseWriter return empty field when fl alias is combined with * selector 2019-03-27 14:38:36 +05:30
Jason Gerlowski c34f29a4b4 SOLR-13090: Add sysprop override for maxBooleanClauses 2019-01-02 10:58:32 -05:00
David Smiley 0330372f04 SOLR-12759: fix regexp (case insensitive) 2018-11-09 15:58:40 -05:00
Erick Erickson fc886497de SOLR-12423: Upgrade to Tika 1.19.1 when available. Fixes #468 2018-10-17 13:06:09 -04:00
David Smiley 964cc88cee SOLR-12593: remove date parsing from extract contrib
* added "ignored_*" to the default configSet
* Updated Ref Guide info on Solr Cell to demonstrate usage without using the techproducts configSet

Closes #438
2018-09-28 16:50:11 -04:00
David Smiley 9bc4b8d4fe SOLR-12759: fix regexp 2018-09-24 15:21:59 -04:00
Alan Woodward c0d2975970 LUCENE-8498: Remove LowerCaseTokenizer 2018-09-20 11:57:05 +01:00
David Smiley c06a7ab0c7 SOLR-12759: fix regexp 2018-09-18 20:21:44 -04:00
David Smiley 5abee478b6 SOLR-12759: detect actual problem and only then "assumeTrue" to bail 2018-09-18 13:43:41 -04:00
David Smiley dea3d69f95 SOLR-12759: assertFalse -> assumeFalse 2018-09-13 09:43:25 -04:00
David Smiley 623cdf29ad SOLR-12759: Disable ExtractingRequestHandlerTest on JDK 11 due to
JDK bug with timezone locale and Date.toString
2018-09-10 11:45:44 -04:00
David Smiley a537aa20c1 SOLR-6387: Remove/revert dated assertFalse in ExtractingRequestHandlerTest
Since this problem does not appear anymore in the latest JVMs.
2018-09-10 11:33:15 -04:00
David Smiley 18874a6e36 SOLR-12591: Expand default configSet's date patterns to subsume those of extract contrib 2018-08-29 14:17:44 -04:00
David Smiley 528e8bceac SOLR-10243: Apply @AwaitsFix on TestExtractionDateUtil.testParseDate to be fixed by SOLR-12593 2018-07-25 11:10:32 -04:00
Erick Erickson db8db0d2b6 SOLR-12551: Upgrade to Tika 1.18 2018-07-14 15:45:33 -07:00
Uwe Schindler e21d4937e0 SOLR-12450: Don't allow referal to external resources in various config files 2018-06-17 13:15:29 +02:00
Christine Poerschke abf3d11332 SOLR-11480: Remove unused "Admin Extra" files and mentions. (Eric Pugh, Christine Poerschke) 2018-01-30 12:39:44 +00:00
Erick Erickson 7e321d70df SOLR-11701: Upgrade to Tika 1.17 when available 2017-12-24 17:03:00 -08:00
Shalin Shekhar Mangar 9d2f0cf254 SOLR-10335: Merge branch 'SOLR-10335' of https://github.com/tballison/lucene-solr 2017-10-13 20:24:25 +05:30
Uwe Schindler 7b313bb597 SOLR-11482: RunExecutableListener was removed for security reasons 2017-10-13 13:48:18 +02:00
tballison 605304d927 tika's default was switched to "process embedded" -- need to send EmptyParser
into ParseContext now to turn off parsing of embedded documents

add curvesapi for vsdx and unit test.
2017-10-10 08:23:59 -04:00
tballison a5c4777314 SOLR-10335 -- Upgrade to Tika 1.16 2017-10-05 12:22:48 -04:00
David Smiley 82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Chris Hostetter 9f56698d33 SOLR-10948: Fix extraction component to treat DatePointField the same as TrieDateField
SOLR-10947: Randomize the usage of Points based numerics in contrib test schemas

This commit also adds @SuppressPointFields needed for SOLR-10949
2017-06-26 17:03:00 -07:00
Jan Høydahl 4746ff0ec8 SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults 2017-06-20 11:00:08 +02: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
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 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
Adrien Grand 7453f78b35 LUCENE-6819: Make ExtractingRequestHandlerTest not rely on index-time boosts. 2017-03-03 21:43:50 +01:00
Adrien Grand 8ed2b764ed LUCENE-6819: Remove index-time boosts. 2017-03-02 19:18:16 +01:00
Ishan Chattopadhyaya 9a1702a8f5 SOLR-8029: Reverting the previous commit and the merge 2017-02-15 07:13:28 +05:30
Noble Paul 325cbf0018 Revert "Merge remote-tracking branch 'origin/master'"
This reverts commit 26298f35df, reversing
changes made to 65c6c576b7.

undoing the merge commit
2017-02-14 17:32:14 -08:00
Christine Poerschke 738da0998a LUCENE-7693: Replace "org.apache." logic in GetMavenDependenciesTask. (Daniel Collins, Christine Poerschke) 2017-02-14 14:27:44 +00:00
Noble Paul 1a61fb6858 SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' 2016-09-06 13:22:18 +05:30
Uwe Schindler 19cb7404f5 SOLR-8981: Update TIKA to 1.13:
- This commit merges branch 'SOLR-8981' of https://github.com/tballison/lucene-solr
- Adds some modifications and reverts jackcess-encrypt addition (not yet working)
- Fixes order of ivy-versions.properties
- This closes #44
2016-06-18 12:23:28 +02:00
tballison dd09f0f42b SOLR-8981 add jackcess-encrypt 2016-06-17 15:32:19 -04:00
tballison 785bebbcbd SOLR-8981 remove "don't test with java-9" commands; fix bug introduced by TIKA-995 -- doubling of body elements in HTML tags; add copyright info for Jackcess. 2016-06-17 14:40:21 -04:00