Commit Graph

2953 Commits

Author SHA1 Message Date
Chris M. Hostetter 1cac548005 SOLR-3650: checkpoint, migrated CHANGES.txt for contrib/uima and contrib/extraction
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367384 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 01:37:17 +00:00
Chris M. Hostetter 6961d9f589 SOLR-3650: checkpoint - merged in CHANGES.txt entries from contrib/analysis-extras contrib/langid contrib/clustering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367377 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 00:34:01 +00:00
Jan Høydahl 179a0c87bd SOLR-3672: SimplePostTool: Improvements for posting files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367371 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:56:09 +00:00
Chris M. Hostetter cb8c322041 SOLR-3635: display core init failure info (from CoreAdminHandler) in the web UI
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367362 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:26:11 +00:00
Chris M. Hostetter f0e5314f22 SOLR-3677: Fixed missleading error message in web ui to distinguish between no SolrCores loaded vs. no /admin/ handler available.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367358 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 23:11:35 +00:00
Mark Robert Miller ce85e4303e on an error getting recent versions in recovery, log the error and act as if we found no versions
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367317 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:30:36 +00:00
Chris M. Hostetter 8e7b2cf4aa SOLR-3682: Fail to parse schema.xml if uniqueKeyField is multivalued
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367316 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 21:30:12 +00:00
Mark Robert Miller f96ac59060 enhance test and turn on compare to control
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367228 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 19:08:31 +00:00
Chris M. Hostetter d89510a29d SOLR-3683: missing test file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367194 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 18:03:31 +00:00
Chris M. Hostetter e9742e6165 SOLR-3683: Improved error handling if an <analyzer> contains both an explicit class attribute, as well as nested factories. (hossman)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367192 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:58:21 +00:00
Michael McCandless 72f99b47b4 LUCENE-4230: allow consumer to specify that payloads are not require when pulling D&PEnum, so codec can optimize if possible
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367186 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:31:34 +00:00
Chris M. Hostetter 8f20844ee9 SOLR-3674: better docs, example, test for PathHierarchyTokenizerFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367178 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:08:58 +00:00
Mark Robert Miller 5ab5df93ce Break out SolrCoreState locks to avoid deadlock
SOLR-3659: on replication, rollback old writer rather than closing it
randomly turn on auto soft commit in monkey test

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367171 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 16:56:09 +00:00
Yonik Seeley eb80f5e897 SOLR-3688: fix spellcheck test relying on map order
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1367125 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 15:40:11 +00:00
Mark Robert Miller 3d9e8b745f fix the monkey: connection loss and expiration cause NPE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366969 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 00:42:46 +00:00
Uwe Schindler 4a54cc8b16 Allow detecting of Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366850 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 14:04:16 +00:00
Uwe Schindler 4040721fd0 Disable test failing with Java 8
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366846 13f79535-47bb-0310-9956-ffa450edef68
2012-07-29 13:13:19 +00:00
Erik Hatcher eef6a6bec2 SOLR-3648: Fix Velocity template loading in SolrCloud mode
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366775 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 22:20:38 +00:00
Erik Hatcher 138a1d762a minor tweaks to update script example
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366716 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 17:42:49 +00:00
Yonik Seeley a96d647efa SOLR-3259: default /get to json
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366646 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 11:32:40 +00:00
Erik Hatcher d0c4ec62c9 SOLR-1280,SOLR-1725: Add an example of the script update processor
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366588 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 03:30:51 +00:00
Chris M. Hostetter 66c9bb6e9b SOLR-3634: aparently, not all java6 SAXParseException implementations include the systemId in the toString(), so let's make sure we check it explicitly ... if this still doesn't work, then i'm going to start learning how to write C# and java can burn in hell for all i care ... write once run anywhere my ass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366574 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:55:17 +00:00
Mark Robert Miller 89056ffd9d add sync tests and logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1366572 13f79535-47bb-0310-9956-ffa450edef68
2012-07-28 00:35:46 +00:00
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