Chris M. Hostetter
3b1d444672
SOLR-3634: change test to work even on java7 where SAXParseException.getMessage() returns a localized msg even though that defeats the whole point of Throwable.getLocalizedMessage()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:06:58 +00:00
Robert Muir
6d2a288be3
LUCENE-4262: add ivy sync=true, so when resolve runs, only jars that should be there are there
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366509 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 19:18:49 +00:00
Chris M. Hostetter
f98ab9d2dc
SOLR-3634: some errors are localized and tests fail in non en, disabling temporarily
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366460 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 17:13:02 +00:00
Robert Muir
78ca29ee09
LUCENE-4263: remove conflicting versions of the same jar dependencies
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366381 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 13:36:13 +00:00
Robert Muir
467faeaae0
LUCENE-4260: factor subPackages out of the resourceloader interface
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366360 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 12:15:03 +00:00
Chris M. Hostetter
8d4d9abaed
SOLR-3634: refactor away the nocommit's i forgot about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366249 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:39:34 +00:00
Uwe Schindler
657e0e98ab
LUCENE-4259: Improvement to expectedType
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366247 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:31:24 +00:00
Chris M. Hostetter
a7cd5f3384
SOLR-3634: CoreContainer and CoreAdminHandler will now remember and report back information about failures to initialize SolrCores
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366241 13f79535-47bb-0310-9956-ffa450edef68
2012-07-27 00:01:00 +00:00
Uwe Schindler
92e5c35bc3
Fix javadocs-linter: Windows support, support for file:-URLs (now needed), fix broken XML-comments in some files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 22:45:31 +00:00
Uwe Schindler
ac6a1b1016
Remove useless additional slashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366171 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:38:41 +00:00
Uwe Schindler
af95ff1ca4
Simplier variant that also works with Java 5 for backport
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366164 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:28:43 +00:00
Uwe Schindler
eee56c65d5
Repair Solr snapshot javadocs to work on windows and with spaces in filename (same fix like in Lucene's docs XSL transformation): The hrefs to external docs must be valid URIs and plain path are not valid URIs, they must start with file:, slashes converted, and spaces escaped. scriptmapper helps with new File(path).toURI()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366130 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 18:29:33 +00:00
Uwe Schindler
69a6b5a562
LUCENE-4259: Allow reloading of codec/postings format list when classpath changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:59:49 +00:00
Robert Muir
3d1279c06c
move test to same place as 4.x branch for easier backporting
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366110 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 17:55:23 +00:00
Mark Robert Miller
bcfb01d690
add Markus Jelsma to SOLR-1781
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366016 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:33:03 +00:00
Robert Muir
8bfa167a73
LUCENE-4257: factor the getLines in REsourceLoader in WordListLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365992 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 13:43:28 +00:00
Steven Rowe
5abc76ea42
LUCENE-3747: Support Unicode 6.1.0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 12:56:35 +00:00
Uwe Schindler
924f6f730d
LUCENE-4255: one more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365958 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:58:59 +00:00
Uwe Schindler
58a9b85ae0
LUCENE-4255: Remove more useless try..catch on IOException after ResourceLoader update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365956 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:51:14 +00:00
Robert Muir
ca736cea8e
LUCENE-4255: clean up analysis factory exception handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365865 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 01:41:06 +00:00
Chris M. Hostetter
64dcd8855d
better javadocs for UpdateRequestProcessorChain and the key processor factories people should always know about
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365857 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 00:50:40 +00:00
Mark Robert Miller
645547df3e
SOLR-1781: ensure we are cleaning up the 'newest' old index directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365657 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 16:24:27 +00:00
Uwe Schindler
09dc88ce9a
LUCENE-2510, LUCENE-4044: Better generics-conform fix, sorry for heavy committing! It is much better than the original code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365610 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:55:48 +00:00
Mark Robert Miller
e3af5988e7
be a little less aggressive in how fast we retry failed recoveries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365607 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:47:41 +00:00
Uwe Schindler
f7b94431d5
LUCENE-2510, LUCENE-4044: Nuke generics completely - Java 7 bug?
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365602 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:35:02 +00:00
Uwe Schindler
142d3c788f
LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and CharFilterFactories to the lucene-analysis module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365586 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 13:54:04 +00:00
Uwe Schindler
6751eefb8e
Merged revision(s) 1364862-1365482 from lucene/dev/trunk:
...
........
LUCENE-4044: add spi support to Tokenizer/CharFilter/TokenFilter factory
........
LUCENE-2510: apply movefactories.sh
........
LUCENE-4044: few steps closer to fixing compile
........
LUCENE-4044: add the rest for common/
........
LUCENE-4044: add services for kuromoji
........
LUCENE-4044: more factories and tests
........
LUCENE-4044: fix more compil
........
LUCENE-4044: fix some more tests
........
LUCENE-4197 rename CachedDistanceValueSource
........
LUCENE-4044: get analysis/common tests passing
........
improve zk tests vs blackhole
........
LUCENE-4044: get all lucene tests passing
........
LUCENE-4044: register phonetic factories
........
LUCENE-4245: Make IndexWriter#close() and MergeScheduler#close() non-interruptible
........
LUCENE-4044: port over icu module
........
LUCENE-4044: port over morfologik
........
LUCENE-4044: port over smartcn
........
LUCENE-4245: Addon: handle failures during flushing by enforcing CMS to stop
........
LUCENE-4044: port over stempel/uima
........
LUCENE-4044: port over synfilter
........
LUCENE-4245: better record interruption
........
fix reuse bug
........
simplify + improve test infra
........
LUCENE-4245: use IOUtils to close everything in finally block
........
LUCENE-4044: get solr tests working
........
LUCENE-4044: dont use instances just class names
........
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365483 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 08:10:27 +00:00
Robert Muir
bc5848f7dc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365450 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 05:26:37 +00:00
Robert Muir
de8e3661fc
LUCENE-4252: null these out for GC to close ram leak
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365444 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:49:21 +00:00
Mark Robert Miller
b77c7e684d
more black hole avoidance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365437 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 04:32:57 +00:00
Mark Robert Miller
3208495042
wait for *all* nodes to see downed node out of cloud state before making a request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365428 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 03:47:09 +00:00
Chris M. Hostetter
8584883326
SOLR-3609: fix some left over 'work' refrences that didn't get converted to 'solr-webapp' and add solr-webapp/.gitignore just like the old work/.gitignore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365383 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 01:09:22 +00:00
Chris M. Hostetter
001eac714e
SOLR-3652: Fixed range faceting to error instead of looping infinitely when 'gap' is zero -- or effectively zero due to floating point arithmetic underflow
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 00:11:35 +00:00
Uwe Schindler
2fbd91eb5c
LUCENE-2510: General improvement: Be more picky about service name in SPI, as loaded from untrusted source; simplify code; improvement in Solr's ResourceLoader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365345 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 23:28:07 +00:00
Mark Robert Miller
1ff7e05b8f
add a StopableSearchThread
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365313 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:49:56 +00:00
Robert Muir
de67b889c6
LUCENE-2510: fix javadocs linter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365225 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 19:01:55 +00:00
Uwe Schindler
2a6a024fd5
LUCENE-2510: Slightly less stupid generics - arrrrgh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365219 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:50:31 +00:00
Uwe Schindler
d1ad745f53
LUCENE-2510: Make the SOLR backwards layer be implemented directly inside SolrResourceLoader (sorry for the generics and still needed suppress warnings... - maybe somebody has an idea for the map inside map)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365215 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 18:44:40 +00:00
Koji Sekiguchi
3e795bf830
change hh to HH for date format in DIH example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365166 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 16:54:51 +00:00
Robert Muir
5b1664349a
LUCENE-4044: dont use instances just class names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365106 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 15:01:12 +00:00
Robert Muir
0e80c044b2
LUCENE-4044: get solr tests working
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1365095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 14:46:12 +00:00
Yonik Seeley
08b37ea20d
SOLR-3559: distributed DBQ did not respect the FROMLEADER param
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1365014 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:46:41 +00:00
Tommaso Teofili
cb33194b37
[SOLR-2838] - applying Koji's patch plus aligning tests to use a SolrCore while building the update processor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364940 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 08:59:19 +00:00
Mark Robert Miller
845a3c3d60
simplify + improve test infra
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364923 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 07:20:20 +00:00
Robert Muir
5249e46aee
LUCENE-4044: port over synfilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364907 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:18:49 +00:00
Robert Muir
dfe9a8444a
LUCENE-4044: port over stempel/uima
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364905 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 06:08:49 +00:00
Robert Muir
d4eb7f40b0
LUCENE-4044: port over smartcn
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364900 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:45:59 +00:00
Robert Muir
274a48b0e0
LUCENE-4044: port over morfologik
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364899 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:41:25 +00:00
Robert Muir
e7b30a7d8d
LUCENE-4044: port over icu module
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364897 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:27:52 +00:00
Mark Robert Miller
9878f2f5f7
improve zk tests vs blackhole
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364888 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 05:00:54 +00:00
Robert Muir
134a4a400a
LUCENE-4044: fix some more tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364881 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:36:52 +00:00
Robert Muir
ca658fd75d
LUCENE-4044: fix more compil
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364879 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 04:05:36 +00:00
Robert Muir
73d4b55f7e
LUCENE-4044: more factories and tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364878 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 03:59:34 +00:00
Robert Muir
fe2d1194fb
LUCENE-2510: apply movefactories.sh
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2510@1364867 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 01:56:39 +00:00
Mark Robert Miller
2fd2d60e19
avoid distrib search against down node in test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364828 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 22:44:20 +00:00
Mark Robert Miller
87182914a3
since we raised the session timeout, this needs to be willing to poll longer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364786 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 20:28:13 +00:00
Chris M. Hostetter
32a0f402d6
SOLR-3623: Fixed inconsistent treatment of third-party dependencies for solr contribs analysis-extras & uima
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364728 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 17:33:24 +00:00
Uwe Schindler
a956609a85
Copy over changes from 3.6 branch #2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364570 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:33:34 +00:00
Mark Robert Miller
16d593be79
try waiting longer for apache jenkins server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364569 13f79535-47bb-0310-9956-ffa450edef68
2012-07-23 10:32:52 +00:00
Mark Robert Miller
badb3584c5
raise how long we are willing to poll for the backups existence from 2 seconds to 4
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364466 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:56:16 +00:00
Mark Robert Miller
318e8e1db5
boost timeout slightly for connections and add another call to wait for a stable cluster before killing a node
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364463 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:45:01 +00:00
Mark Robert Miller
2f9aca255f
take out del(*:*) for now and add a couple more asserts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364459 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 23:32:49 +00:00
Mark Robert Miller
613ab7cde9
speed up ZkCLITest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364439 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 21:47:07 +00:00
Mark Robert Miller
6b2cc429ec
improve logging for bootstrap cmd
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364438 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 21:46:06 +00:00
Mark Robert Miller
6578d7f512
SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a new leader is elected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364429 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 20:30:37 +00:00
Yonik Seeley
19aa69b0cd
SOLR-3656 SOLR-3662: core reload improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364409 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 19:45:00 +00:00
Mark Robert Miller
bbd6934008
enable these tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364356 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:56:11 +00:00
Mark Robert Miller
a798414614
SOLR-3658: Adding thousands of docs with one UpdateProcessorChain instance can briefly create spikes of threads in the thousands.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:54:26 +00:00
Uwe Schindler
4ecb3975c3
Silence always-failing Solr tests!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364349 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:39:57 +00:00
Mark Robert Miller
1b347896ac
remove stale comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364347 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 16:24:19 +00:00
Jan Høydahl
fa469cbbdb
SOLR-3660: Velocity: Link to admin page broken
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364333 13f79535-47bb-0310-9956-ffa450edef68
2012-07-22 15:43:28 +00:00
Mark Robert Miller
8b1054f30f
SOLR-3655: Ensure we register as down and leader sees that before creating startup ephem node
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364015 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 23:02:17 +00:00
Mark Robert Miller
f27b8a2d16
add a bit of logging around recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1364013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:57:40 +00:00
Robert Muir
22b5c84800
LUCENE-4243: MockDirectoryWrapper synchronizes too much
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363971 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:09:26 +00:00
Yonik Seeley
cc90a37ed7
tests: test harness shouldn't hold core reference
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363819 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 15:04:23 +00:00
Mark Robert Miller
b339c63a9e
boost timeouts for zkclient used by ZkCLI tool
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363799 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:28:32 +00:00
Mark Robert Miller
b2796c1d82
SOLR-3647: DistrubtedQueue should use our Solr zk client rather than the std zk client.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363781 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 13:57:20 +00:00
Erick Erickson
59b658251e
fix for SOLR-3646 (add df to example /browse)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363751 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 12:28:22 +00:00
Chris M. Hostetter
47541d03bc
SOLR-3642: Correct broken check for multivalued fields in stats.facet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363555 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 21:28:11 +00:00
Mark Robert Miller
fc2d0ca5e6
raise default timeout a bit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363512 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 20:05:07 +00:00
Mark Robert Miller
b7cbef534c
tweak test methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363335 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:52:02 +00:00
Mark Robert Miller
ef16608cb1
catch throwable for tests (assert fails) - not just exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363333 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:50:32 +00:00
Mark Robert Miller
b1fb39754b
don't treat 404 special and lost the http response code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363330 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 13:49:55 +00:00
Chris M. Hostetter
b20252f777
SOLR-3629: Typo in solr.xml persistence when overriding the solrconfig.xml file name using the "config" attribute prevented the override file from being used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363161 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 22:41:58 +00:00
Robert Muir
5a2d0bc654
LUCENE-2686, LUCENE-3505: Fix various bugs in BooleanQuery, clean up scorer navigation API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363115 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 21:04:18 +00:00
Yonik Seeley
875d54e5b2
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363084 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:56 +00:00
Yonik Seeley
66898c2659
tests: add core reload stress test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363082 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 20:05:11 +00:00
Mark Robert Miller
24dae70408
SOLR-3639: Update ZooKeeper to 3.3.5 for a variety of bug fixes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363024 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 17:26:47 +00:00
Mark Robert Miller
83e07fec09
SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after the distrib update process do not process the document twice.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:52:42 +00:00
Mark Robert Miller
6c08d7f2a4
SOLR-1781: Replication index directories not always cleaned up.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362994 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:06:22 +00:00
Mark Robert Miller
c33118ce89
SOLR-3621: release writer get lock in a finally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362500 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 14:03:40 +00:00
Robert Muir
e003b49cab
LUCENE-4228: refactor CharFilter to be a java.io.FilterReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362442 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 10:53:28 +00:00
Christopher John Male
75504b9d7a
LUCENE-4165: Removed closing of Reader from HunspellDictionary so InputStreams are not closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 05:46:32 +00:00
Mark Robert Miller
922ad2bff2
SOLR-3621: fix rare concurrency issue when opening a new IndexWriter for replication or rollback.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362232 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 20:08:46 +00:00
Robert Muir
963efbfea2
LUCENE-2191: rename Tokenizer.reset(Reader) to Tokenizer.setReader(Reader)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362074 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 14:57:00 +00:00
Jan Høydahl
00ba2693b5
SOLR-3624: example/solr/collection1/conf/solrconfig.xml sample library declarations off-by-one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1362027 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:27:58 +00:00
Mark Robert Miller
decfcdbbbb
upconf should be bootstrap
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361840 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 23:46:02 +00:00
Mark Robert Miller
c16f3f75bc
SOLR-3620: check if shutdown after wait so that any threads that were waiting bail rather than starting a recovery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361805 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 21:30:13 +00:00
Mark Robert Miller
3377e98fdb
don't share random across threads in tests - missed file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361708 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:38:22 +00:00
Mark Robert Miller
1acad4e893
don't share random across threads in tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361707 13f79535-47bb-0310-9956-ffa450edef68
2012-07-15 14:34:44 +00:00
Mark Robert Miller
902ed6cdf6
SOLR-3620: put back cancel recovery in close - it should be fine now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361568 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 17:29:34 +00:00
Yonik Seeley
9875dc69fb
tests: fix AIOOB if last list element is skipped
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361517 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 10:25:08 +00:00
Uwe Schindler
c0d02bc3c8
LUCENE-4217: Add the possibility to run tests with Atlassian Clover loaded from IVY. A development License solely for Apache code was added in the tools/ folder, but is not included in releases
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361480 13f79535-47bb-0310-9956-ffa450edef68
2012-07-14 07:16:33 +00:00
Uwe Schindler
0b5eaa8b68
SOLR-3328: Fix file attributes partially (needs more verification)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361408 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 21:47:22 +00:00
Mark Robert Miller
5248f5d5fe
revert accidental commit of this file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361315 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:10:05 +00:00
Mark Robert Miller
0e32691abc
SOLR-3620: attempt to address shutdown deadlock - once the CoreContainer starts shutting down, do not start any new recoveries - there was a small window this could happen in previously
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361310 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 18:05:09 +00:00
Yonik Seeley
732ad20130
SOLR-139: update doc - create if it doesn't exist by default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 17:10:36 +00:00
Mark Robert Miller
8d68f469cc
SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361276 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 15:23:24 +00:00
Yonik Seeley
7993e39d38
SOLR-3377: edismax fails to correctly parse a fielded query wrapped by parens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 08:32:57 +00:00
Mark Robert Miller
e7d1278836
Add reload command to collections api - also improve tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1361017 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 00:35:54 +00:00
Chris M. Hostetter
d6254caf80
SOLR-1725: StatelessScriptUpdateProcessorFactory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360931 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 20:49:41 +00:00
Mark Robert Miller
acf211262e
fix log dir location
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360643 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:58:24 +00:00
Mark Robert Miller
8310c86c9c
add a commented out example to jetty.xml for configuring a request log
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360639 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:42:01 +00:00
Mark Robert Miller
cf53af0ed2
SOLR-2616: Include a section about logging in the README
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360630 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:16:42 +00:00
Christian Moen
8b97cec044
Made discarding punctuation configurable in JapaneseTokenizerFactory (SOLR-3524)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360592 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 09:19:02 +00:00
Mark Robert Miller
1b7637d144
SOLR-3609: fix prepare-release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360494 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 00:34:22 +00:00
Robert Muir
7b2abe6e19
LUCENE-3950: load rat via ivy so you dont need it in .ant/lib etc, invoke from validate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360475 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 23:27:21 +00:00
Chris M. Hostetter
ba08d2ba10
SOLR-3575: Typo in changes, SOLR-3575 erroneously listed as SOLR-3475
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360454 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:43:59 +00:00
Uwe Schindler
53cfbcda0d
LUCENE-4199, LUCENE-4202, LUCENE-4206: Remove noise by not-existing XML CDATA in task; cleanup build.xmls
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360451 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:34:39 +00:00
Robert Muir
b3c82dac85
add checksum, compared jar with official release jar
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360446 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 22:27:17 +00:00
Mark Robert Miller
46021d4575
SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting and interaction with ZooKeeper.
...
SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called solr-webapp rather than a temporary directory.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360416 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 21:45:43 +00:00
Robert Muir
f2c69f4794
fix test to propagate setUp()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360363 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:24:34 +00:00
Robert Muir
dc90a019a2
LUCENE-4212: Tests should not use new Random() without args
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1360354 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 19:10:08 +00:00
Uwe Schindler
80c852e721
Remove 3 File.createTempDir in favour of LTC's own cleanup magic.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359920 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 21:54:16 +00:00
Mark Robert Miller
3042e69056
we do not need this pause after the test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359733 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:44:16 +00:00
Mark Robert Miller
364407b578
SOLR-3612: Race condition when starting an embedded zk ensemble
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359732 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 15:43:47 +00:00
Mark Robert Miller
7b75fed8d1
SOLR-2616: Include a sample java util logging configuration file.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359684 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 14:09:52 +00:00
Christian Moen
a15331043f
Added JapaneseIterationMarkCharFilter (LUCENE-4201)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359613 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 11:46:09 +00:00
Uwe Schindler
4527c4b3f3
LUCENE-4202: Add support for fields to check-forbidden-apis; cleanup classpath; improve logging messages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359590 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 10:47:03 +00:00
Mark Robert Miller
3541d0f933
SOLR-3355: fix bug around null shard / collection in statistics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359467 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 03:33:00 +00:00
Robert Muir
4db783ca86
SOLR-3610: after reloading a core, indexing failed on any newly added fields to the schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359449 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 00:35:28 +00:00
Robert Muir
f55d87ee36
LUCENE-4199: split deprecated jdk methods into their own file for easier maint
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359355 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 19:28:25 +00:00
Robert Muir
33e06a219d
LUCENE-4199: dont use ioutils here
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359324 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:15:52 +00:00
Robert Muir
aa13466422
LUCENE-4199: disallow deprecated jdk methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359322 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 18:11:36 +00:00
Mark Robert Miller
ccf5f45f2e
fix cloud dev example scripts which point to solr/conf - use boostrap_conf=true instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359301 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 17:33:12 +00:00
Mark Robert Miller
d4522d1016
update tutorial with correct path to conf files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359267 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:43:07 +00:00
Robert Muir
4138528889
LUCENE-4199: add default local DecimalFormat ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1359238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 16:03:57 +00:00
Robert Muir
08c0677666
LUCENE-4199: don't call this implicitly when you run test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359189 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:24:49 +00:00
Robert Muir
123b645157
LUCENE-4199: fix remaining violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359188 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:22:20 +00:00
Robert Muir
46cb8b9780
LUCENE-4199: fix more default locale/charset violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359181 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:06:17 +00:00
Uwe Schindler
e7437a7d0c
LUCENE-4199: cleanup filesets to check; disable Solr's DIH checking, as Locale/Charset support is broken (SOLR-1916)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359167 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 13:35:34 +00:00
Uwe Schindler
e4b8dc640e
LUCENE-4199: Reverse merged revision(s) 1-0 from lucene/dev/trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1359007 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 09:49:58 +00:00
Robert Muir
9df919c5ba
LUCENE-4199: fix more charset/locale usages
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 01:17:15 +00:00
Yonik Seeley
e61e9134a8
SOLR-2702: add replication support to NRTCachingDirectoryFactory and make it the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358650 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 21:48:19 +00:00
Robert Muir
b6a4748f21
make Locale.ENGLISH/US -> ROOT for locale-independent operations, now that we are on java6
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358594 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:42:40 +00:00
Robert Muir
79cb46698e
LUCENE-4199: fix more violations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358587 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 15:12:23 +00:00
Robert Muir
f91f2e9cdb
LUCENE-4199: commit uwe's patch with check-forbidden-apis task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene4199@1358549 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 12:04:22 +00:00
Robert Muir
6569c4854b
LUCENE-4185: don't apply CharFilters twice in Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-07 00:32:28 +00:00
Mark Robert Miller
05ef395e96
SOLR-3599: Add zkClientTimeout to solr.xml so that it's obvious how to change it and so that you can change it with a system property.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358262 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 15:26:06 +00:00
Mark Robert Miller
3e9a246bb8
CHANGES entry for SOLR-3563: Unloading all cores in a SolrCloud collection will now cause the removal of that collection's meta data from ZooKeeper.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1358220 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 14:07:00 +00:00