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
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
Uwe Schindler
faaee86efb
LUCENE-8738: Move to Java 11 as minimum Java version (merged branch: jira/LUCENE-8738)
...
Co-authored-by: Adrien Grand <jpountz@apache.org>
2019-04-16 14:00:09 +02:00
Jason Gerlowski
c34f29a4b4
SOLR-13090: Add sysprop override for maxBooleanClauses
2019-01-02 10:58:32 -05:00
Jason Gerlowski
f7faae075b
SOLR-13019: Fix typo in MailEntityProcessor
...
Path provided by Tommy Marshment-Howell.
Closes #509
2018-12-04 08:49:58 -05:00
Erick Erickson
8cde1277ec
SOLR-12690: Regularize LoggerFactory declarations
2018-08-22 15:26:37 -07:00
Erick Erickson
7e321d70df
SOLR-11701: Upgrade to Tika 1.17 when available
2017-12-24 17:03:00 -08: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
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
Uwe Schindler
5de15ff403
LUCENE-7883: Lucene/Solr no longer uses the context class loader when resolving resources
2017-06-22 20:20:50 +02: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
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
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
Mike McCandless
e7b87f5b79
LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs
2017-03-15 06:08:10 -04:00
markrmiller
730df22e40
SOLR-10032: Ignore tests that run no test methods.
2017-01-31 19:27:03 -05:00
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
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
Erick Erickson
5341918a0c
SOLR-9083: Remove deprecated <types> and <fields> from schemas
2016-05-10 06:54:11 -07: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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