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
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
Mark Robert Miller
e3fc860547
tests: null out static
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613652 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 15:18:03 +00:00
Noble Paul
bcfb420558
SOLR-6269
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613619 13f79535-47bb-0310-9956-ffa450edef68
2014-07-26 13:06:10 +00:00
Erik Hatcher
5cd69d47e1
SOLR-3622, SOLR-5847, SOLR-6194, SOLR-6269: Several DIH fixes/improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1613406 13f79535-47bb-0310-9956-ffa450edef68
2014-07-25 12:19:48 +00:00
Erik Hatcher
377fab9fd9
Skip convertType tests when locale is sr__#Latn
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612447 13f79535-47bb-0310-9956-ffa450edef68
2014-07-22 02:45:44 +00:00
Erik Hatcher
ea00cf4e6c
SOLR-6263: Add DIH handler name to variable resolver as ${dih.handlerName}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612354 13f79535-47bb-0310-9956-ffa450edef68
2014-07-21 17:26:14 +00:00
Erik Hatcher
adaaaf041a
SOLR-6258: Added onRollback event handler hook to Data Import Handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1612124 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 17:32:28 +00:00
Erik Hatcher
2d1cf43b4c
SOLR-6165: Add tests for convertType and BigDecimal implicit conversion
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1611985 13f79535-47bb-0310-9956-ffa450edef68
2014-07-20 01:00:45 +00:00
Timothy Potter
1f9d4e245d
SOLR-3893: Moving mail dependencies into the extras project.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610883 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 23:33:11 +00:00
Timothy Potter
7ff38d5502
SOLR-2245: Improvements to the MailEntityProcessor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1610859 13f79535-47bb-0310-9956-ffa450edef68
2014-07-15 21:44:28 +00:00
Shalin Shekhar Mangar
9d145c0687
SOLR-2245: Reverting due to unclear license for greenmail
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607489 13f79535-47bb-0310-9956-ffa450edef68
2014-07-02 22:00:58 +00:00
Timothy Potter
cad18b5384
SOLR-2245: Numerous improvements to the MailEntityProcessor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1607147 13f79535-47bb-0310-9956-ffa450edef68
2014-07-01 17:13:46 +00:00
Shalin Shekhar Mangar
ac2e3998a3
SOLR-6194: Allow access to DataImporter and DIHConfiguration from DataImportHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1605972 13f79535-47bb-0310-9956-ffa450edef68
2014-06-27 07:26:36 +00:00
Shalin Shekhar Mangar
ad3200b726
SOLR-6165: DataImportHandler should write BigInteger and BigDecimal values as strings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1604543 13f79535-47bb-0310-9956-ffa450edef68
2014-06-22 07:48:53 +00:00
Shalin Shekhar Mangar
280c297c9c
SOLR-6129: DateFormatTransformer doesn't resolve dateTimeFormat
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1603209 13f79535-47bb-0310-9956-ffa450edef68
2014-06-17 16:10:18 +00:00
Dawid Weiss
4c29d60c62
Clean up SolrTestCaseJ4.recurseDelete a bit and remove hairy cases of removing the parent file in certain tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1598012 13f79535-47bb-0310-9956-ffa450edef68
2014-05-28 13:34:52 +00:00
Dawid Weiss
cf5a0caeb6
LUCENE-5650: Enforce read-only access to any path outside the temporary folder via security manager
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1596767 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 06:15:26 +00:00
James Dyer
3c14dc6a57
SOLR-3671: DIHWriter fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1592583 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 17:40:32 +00:00
Shalin Shekhar Mangar
abe013d771
SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for extensibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1591573 13f79535-47bb-0310-9956-ffa450edef68
2014-05-01 09:11:04 +00:00
Steven Rowe
033f80fd7a
SOLR-6006: fix Solr contrib test dependencies by adding jcl-over-slf4j and retrieving it into each contrib's test-lib/ directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1589953 13f79535-47bb-0310-9956-ffa450edef68
2014-04-25 08:55:05 +00:00
Mark Robert Miller
d393b2916c
SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc connections.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1587706 13f79535-47bb-0310-9956-ffa450edef68
2014-04-15 19:38:35 +00:00
Steven Rowe
597912787c
SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1586106 13f79535-47bb-0310-9956-ffa450edef68
2014-04-09 19:48:14 +00:00
Dawid Weiss
bfecbc9274
Moved createTemp* to LuceneTestCase, removing it from SolrTestCaseJ4. Created common infrastructure that creates temporary files and folders under the suite's master folder. Created a rule that cleans up afterwards (or provides an explicit message if something fails to clean up).:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584832 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 17:37:58 +00:00
Dawid Weiss
ee084bbe60
Cleanups and refactorings after Mark's suggestions.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584633 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 12:04:49 +00:00
Dawid Weiss
bc43bebedf
Merging with trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1584603 13f79535-47bb-0310-9956-ffa450edef68
2014-04-04 10:27:05 +00:00
Uwe Schindler
6750845f9b
LUCENE-5560: Followup: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583449 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 20:35:16 +00:00
Uwe Schindler
2f8192f3c5
LUCENE-5560: Cleanup charset handling for Java 7
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1583302 13f79535-47bb-0310-9956-ffa450edef68
2014-03-31 11:34:01 +00:00
Mark Robert Miller
6bf76b1015
SOLR-5914: Polish up createTempDir calls.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1583163 13f79535-47bb-0310-9956-ffa450edef68
2014-03-30 17:37:31 +00:00
Mark Robert Miller
48c5ea550f
SOLR-5914: Merge branch up to trunk, make all tests pass, make some other improvements and small changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582571 13f79535-47bb-0310-9956-ffa450edef68
2014-03-28 00:55:45 +00:00
Mark Robert Miller
6afdd45556
SOLR-5914: Solr tests should use dataDir for tmp files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582413 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 17:23:40 +00:00
Dawid Weiss
688addbd50
Branch for solr5914
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/solr5914@1582248 13f79535-47bb-0310-9956-ffa450edef68
2014-03-27 10:45:40 +00:00
Mark Robert Miller
b7b0643115
SOLR-5914: Cleanup and fix Solr's test cleanup code.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1582038 13f79535-47bb-0310-9956-ffa450edef68
2014-03-26 20:30:16 +00:00
Uwe Schindler
b569844e04
LUCENE-5540: Update forbidden-apis, pegdown, groovy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579399 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 21:08:42 +00:00
Mark Robert Miller
1109c1275b
SOLR-5883: Many tests do not shutdown SolrServer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1579336 13f79535-47bb-0310-9956-ffa450edef68
2014-03-19 18:25:00 +00:00
Robert Muir
3b67b17493
LUCENE-5512: remove redundant typing (diamond operator) in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1576755 13f79535-47bb-0310-9956-ffa450edef68
2014-03-12 14:39:17 +00:00
Mark Robert Miller
9441f0d4ce
SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis when calculating elapsed time.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1573425 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 02:08:45 +00:00
Mark Robert Miller
98810d1f54
SOLR-3854: Cleans up a lot of the tests by using a common function to build a consistent schemed URL (fixes SSL for SolrCmdDistributorTest) + disabled the "useClientAuth" property for OSX clients.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1567643 13f79535-47bb-0310-9956-ffa450edef68
2014-02-12 15:11:24 +00:00
Mark Robert Miller
de6514e214
SOLR-3854: SSL support for SolrCloud
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1566456 13f79535-47bb-0310-9956-ffa450edef68
2014-02-09 22:39:48 +00:00
Mark Robert Miller
cb23c8ba3c
SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1557778 13f79535-47bb-0310-9956-ffa450edef68
2014-01-13 17:26:38 +00:00
Mark Robert Miller
54c0b2e946
tests: improve this test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1554060 13f79535-47bb-0310-9956-ffa450edef68
2013-12-29 20:21:03 +00:00
James Dyer
35b159f14c
SOLR-2960: XPathEntityProcessor was adding spurious nulls to multi-valued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1553285 13f79535-47bb-0310-9956-ffa450edef68
2013-12-24 15:12:07 +00:00
Shalin Shekhar Mangar
fcf3a10704
SOLR-5527: DIH logs spurious warning for special commands
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1547394 13f79535-47bb-0310-9956-ffa450edef68
2013-12-03 14:13:13 +00:00
Shalin Shekhar Mangar
eb1dcbaa70
SOLR-4376: DataImportHandler uses wrong date format for last_index_time if a delta-import is run first before any full-imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1544421 13f79535-47bb-0310-9956-ffa450edef68
2013-11-22 06:45:14 +00:00
Steven Rowe
c9c9ea148b
LUCENE-5217: Maven config: get dependencies from Ant+Ivy; disable transitive dependency resolution for all depended-on artifacts by putting an exclusion for each transitive dependency in the <dependencyManagement> section of the grandparent POM
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1537528 13f79535-47bb-0310-9956-ffa450edef68
2013-10-31 15:20:08 +00:00
Mark Robert Miller
4975ad612b
SOLR-5371: Solr should consistently call SolrServer#shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1534002 13f79535-47bb-0310-9956-ffa450edef68
2013-10-20 22:58:36 +00:00
Steven Rowe
02d8e37328
LUCENE-5249: All Lucene/Solr modules should use the same dependency versions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1528215 13f79535-47bb-0310-9956-ffa450edef68
2013-10-01 21:01:12 +00:00
Shalin Shekhar Mangar
2dc5b2a02c
SOLR-5190: SolrEntityProcessor substitutes variables only once in child entities
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1518161 13f79535-47bb-0310-9956-ffa450edef68
2013-08-28 11:20:56 +00:00
Erick Erickson
84063af19a
SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud mode.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1517398 13f79535-47bb-0310-9956-ffa450edef68
2013-08-26 00:06:04 +00:00
Uwe Schindler
40968cf653
LUCENE-5107: Properties files by Lucene are now written in UTF-8 encoding, Unicode is no longer escaped. Reading of legacy properties files with \u escapes is still possible
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502615 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 17:10:22 +00:00
Alan Woodward
5a42052fba
SOLR-4914: Factor out core discovery and persistence logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502276 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 16:35:01 +00:00
Steven Rowe
b2bc345a60
SOLR-4916: Move MiniDfsCluster test dependencies from solr test-framework to solr-core; download solr-core test dependencies to solr/core/test-lib/ instead of solr/core/lib/; download DIH test dependencies to solr/contrib/dataimporthandler/test-lib instead of [...]/lib/
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1502105 13f79535-47bb-0310-9956-ffa450edef68
2013-07-11 04:03:24 +00:00
Shalin Shekhar Mangar
6e638c8460
SOLR-4978: Time is stripped from datetime column when imported into Solr date field if convertType=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500666 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:30:40 +00:00
Shalin Shekhar Mangar
e98616b8f1
SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time is empty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1500652 13f79535-47bb-0310-9956-ffa450edef68
2013-07-08 11:11:58 +00:00
Alan Woodward
f38c5163cc
SOLR-4948: Tidy up CoreContainer construction logic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1498990 13f79535-47bb-0310-9956-ffa450edef68
2013-07-02 15:50:49 +00:00
Chris M. Hostetter
be9bf006c2
SOLR-4942: test improvements to randomize use of compound files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1495668 13f79535-47bb-0310-9956-ffa450edef68
2013-06-22 06:00:18 +00:00
Shalin Shekhar Mangar
14d7d11d59
SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally, if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the connection will not be closed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1492537 13f79535-47bb-0310-9956-ffa450edef68
2013-06-13 06:47:47 +00:00
Steven Rowe
28b7111dc7
SOLR-3251: Dynamically add fields to schema.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1470539 13f79535-47bb-0310-9956-ffa450edef68
2013-04-22 14:26:55 +00:00
Robert Muir
abea806409
SOLR-4641: Schema should throw exceptoin on illegal field parameters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1462502 13f79535-47bb-0310-9956-ffa450edef68
2013-03-29 15:46:58 +00:00
Uwe Schindler
bf368745b9
SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1460069 13f79535-47bb-0310-9956-ffa450edef68
2013-03-23 00:53:25 +00:00
Uwe Schindler
9a54942863
LUCENE-4747: Fix nocommits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457747 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 13:07:24 +00:00
Uwe Schindler
6231597974
LUCENE-4747: Move to Java 7 in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1457734 13f79535-47bb-0310-9956-ffa450edef68
2013-03-18 12:28:52 +00:00
James Dyer
e9f2108093
SOLR-4361: DIH to allow handler parameters with dots in the name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1455245 13f79535-47bb-0310-9956-ffa450edef68
2013-03-11 17:37:17 +00:00
Steven Rowe
83fa975ae9
LUCENE-4789: fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1448400 13f79535-47bb-0310-9956-ffa450edef68
2013-02-20 20:53:46 +00:00
Chris M. Hostetter
5dbcae4cd3
SOLR-4342: Fix DataImportHandler stats to be a prper Map
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1439536 13f79535-47bb-0310-9956-ffa450edef68
2013-01-28 18:03:26 +00:00
James Dyer
f8c00c1f85
SOLR-4325: fix TestBuiltInEvaluators
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1438597 13f79535-47bb-0310-9956-ffa450edef68
2013-01-25 17:20:22 +00:00
Uwe Schindler
4be9caa5b2
Disable solr fails!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1435628 13f79535-47bb-0310-9956-ffa450edef68
2013-01-19 18:11:42 +00:00
Dawid Weiss
b0cba0346b
SOLR-4288: Improve logging for FileDataSource (basePath, relative resources).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1433849 13f79535-47bb-0310-9956-ffa450edef68
2013-01-16 08:22:03 +00:00
Erick Erickson
faad008d7f
removed println
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432058 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 14:11:56 +00:00
Shalin Shekhar Mangar
f41e563d7d
SOLR-4112: Fixed DataImportHandler ZKAwarePropertiesWriter implementation so
...
import works fine with SolrCloud clusters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1432045 13f79535-47bb-0310-9956-ffa450edef68
2013-01-11 13:38:23 +00:00
James Dyer
2a1e68e504
SOLR-2201: DIH "formatDate" evaluator timezone support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1429957 13f79535-47bb-0310-9956-ffa450edef68
2013-01-07 18:54:21 +00:00
James Dyer
69383cb079
SOLR-4247: fix bug with TestSimplePropertiesWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1427215 13f79535-47bb-0310-9956-ffa450edef68
2012-12-31 18:30:41 +00:00
Mark Robert Miller
f5b5d3e17f
SOLR-4204: Make SolrCloud tests more friendly to FreeBSD blackhole 2 environments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422728 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 00:38:03 +00:00
Uwe Schindler
a9e41d20a3
SOLR-4195: Further restrict security policy of tests to disallow writing to files outside the test's work dir (e.g. disallow writing to build/test-files)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1422368 13f79535-47bb-0310-9956-ffa450edef68
2012-12-15 21:50:57 +00:00
Uwe Schindler
5a34f6a5c9
TestSolrEntityProcessorEndToEnd: Fix getFile() again and fix possible bugs created by non-test-local target SOLR_HOME.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421045 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 23:50:50 +00:00
Uwe Schindler
a162f36d04
Further simplify this test (see previous commit)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421031 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 22:38:56 +00:00
Uwe Schindler
bcd26aca7a
Rewrite TestSolrEntityProcessorEndToEnd.testFullImportWrongSolrUrl to use a non-blocking, non-blackhole remote address when testing unreachable remote Solr server to import from
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1421026 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 22:22:05 +00:00
Uwe Schindler
9a74a588da
Hopefully fix the forever hanging DIH test in Maven builds, because it depends on CWD, which is different on Maven builds...
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420908 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 18:45:56 +00:00
Shai Erera
e2f54df3ca
fix missing Overrides
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1420195 13f79535-47bb-0310-9956-ffa450edef68
2012-12-11 14:31:01 +00:00
James Dyer
b134c54a4e
fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418606 13f79535-47bb-0310-9956-ffa450edef68
2012-12-08 06:25:47 +00:00
James Dyer
330a570fc6
fix test bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1418500 13f79535-47bb-0310-9956-ffa450edef68
2012-12-07 21:56:56 +00:00
James Dyer
58cde699ad
remove duplicate code from test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417636 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 20:36:03 +00:00
James Dyer
5b1d05c6ab
reduce noise on TestSqlEntityProcessorDelta
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417632 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 20:29:40 +00:00
Uwe Schindler
91240881de
Fix the tests.jvms override in some modules so the user (e.g., Jenkins) cannot override it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417622 13f79535-47bb-0310-9956-ffa450edef68
2012-12-05 20:15:11 +00:00
James Dyer
987acc6ccc
make test noisy to help debug failures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417058 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 17:45:40 +00:00
James Dyer
d3d4ee84cd
ignore this test for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1417019 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 16:28:01 +00:00
James Dyer
87b1a93a77
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1416977 13f79535-47bb-0310-9956-ffa450edef68
2012-12-04 15:04:35 +00:00
James Dyer
5aacb271b2
ignore this test for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1415904 13f79535-47bb-0310-9956-ffa450edef68
2012-12-01 01:40:11 +00:00
James Dyer
01cfcca8a6
SOLR-2141 / SOLR-4047 / SOLR-3842 - remove tabs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414259 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 16:49:21 +00:00
James Dyer
9c1d89fe1b
SOLR-2141 / SOLR-4047 / SOLR-3842 - fix problems with VariableResolver, better test coverage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1414242 13f79535-47bb-0310-9956-ffa450edef68
2012-11-27 16:12:26 +00:00
James Dyer
af004fd22b
SOLR-4086: fix trivial test mistake
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413729 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 17:11:20 +00:00
James Dyer
012c260973
SOLR-1916: reinstate @Ignore'ed test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1413684 13f79535-47bb-0310-9956-ffa450edef68
2012-11-26 15:36:46 +00:00
James Dyer
84b624f028
SOLR-2045: workaround for Locales not supported by Derby
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1412262 13f79535-47bb-0310-9956-ffa450edef68
2012-11-21 19:59:56 +00:00
James Dyer
925dcb80bd
SOLR-4095: fix silly bug
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411887 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 21:23:56 +00:00
James Dyer
01ffd5b4b4
SOLR-1916: DIH - fix remaining forbidden apis & remove build-time exclusion
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411820 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:48:54 +00:00
James Dyer
1f47a886a3
SOLR-4096: FileDataSource & FieldReaderDataSource to default to UTF-8 charset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411812 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 19:38:52 +00:00
James Dyer
0eab30da1d
SOLR-4095: NumberFormatTransformer & DateFormatTransformer default to the Root Locale
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411757 13f79535-47bb-0310-9956-ffa450edef68
2012-11-20 17:40:57 +00:00
James Dyer
58a8e8be6b
SOLR-4086: fix TestVariableResolver
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411370 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 19:50:50 +00:00
James Dyer
7d67fc2dc8
SOLR-4086: fix residual problems with DateFormatEvaluator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411366 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 19:43:52 +00:00
James Dyer
6f572b5033
SOLR-4086: fix TestVariableResolver
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411357 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 19:18:04 +00:00
James Dyer
743fc1081c
SOLR-4086: fix dateformat evaluator unit test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411334 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 17:58:06 +00:00
James Dyer
11071d5631
SOLR-4086: remove tabs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411304 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 16:54:24 +00:00
James Dyer
26e0f02214
SOLR-4086: Refactor DIH - VariableResolver & Evaluator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1411276 13f79535-47bb-0310-9956-ffa450edef68
2012-11-19 16:23:50 +00:00